installshield

应用InstallShield 2015打包软件打包C#程序

血红的双手。 提交于 2019-11-28 09:49:16
大家都明白,程序员写出的程序与用户直接使用的程序之间还有一个简单的环节,就是打包。今天就简单介绍下用InstallShield 2015打包工具进行程序的打包, 有兴趣的可以看看! 首先前面安装打包工具的过程就不过多的介绍了,网上的资源很多自行下载就行了。我们从安装完成后开始说! 安装完成后界面出现如下: 打开InstallShield 2015后,出现更新界面,点击取消,不要进行更新! 进入主界面,建立项目: 进入下一步: 设置主要的信息,注意红框的部分,进行相应的设置。 下方二三选项是默认的,直接进入第四个选项: 将程序放入里。 设置完后,设置第五个选项,设置安装和卸载界面,自己可以设置图标: 设置完桌面后,进行下个选项: 上面界面是为了设置一下,安装的路径。 导出路径: 所有的选项完成后,点击Releases 最后点击安装界面,进行build build完成后,生成一个setup 安装后,桌面上就可以用了 来源: https://www.cnblogs.com/yxd000/p/11403668.html

set “run as administrator” flag programmatically

限于喜欢 提交于 2019-11-28 09:03:32
问题 Is it possible to programmatically set the "Run As Administrator" flag on exe file or shortcut file? Does Installshield support this functionality if i'll do it as part of the installation process? I'm trying to find the relevant command line / API / installshield command for this. 回答1: The upstream build process should be manifesting your EXE with the require administrator attribute. This doesn't have anything to do with InstallShield or the shortcut. Done correctly when the user clicks the

Set registry key through ClickOnce installation

耗尽温柔 提交于 2019-11-28 08:09:54
问题 I need to add my application to the startup and hence, need to set the Registry Key with the Installation path. I have got this working through the Visual Studio Setup project but can't figure out how to do it through a ClickOnce deployment. Anyone know how to set registry keys when using ClickOnce for installation? 回答1: ClickOnce can't do this. If you want your app to start when the user logs in, you have to write code in your application to do it (copy a shortcut to the startup folder, edit

Error 1001 when installing custom Windows Service

馋奶兔 提交于 2019-11-28 06:25:16
I wrote a windows service that runs on Framework 4.0 and running in VS 2015. I also created a setup project (free Installshield version). My service did not show under services.msc after I installed it, so according to some other posts I had to mark the Primary Output in InstallShield as 'Installer Class', but when I do that I get Error 1001 when I run the setup.exe. This post states that "Error code 1001 ALWAYS means a failure in the Installer class custom action." and that I should not use Custom Actions. I'm not using any custom actions at the moment. Most of the solution on this site have

Is there any definitive documentation on writing software installers?

隐身守侯 提交于 2019-11-28 03:50:51
I've read a bunch of documentation on installers and haven't come across anything good that explains the underlying concepts. Most of the installer software I've come across is based on the same "database" like structure that I just don't understand at all. All of the documentation that comes with the various products - i.e. WiX, InstallAware, Wise, InstallShield etc expect that you understand these underlying concepts [which I just don't get] in order to follow what they're talking about. Can anyone point me in the direction of documentation that explains the concepts of software installers

SQL CE 4.0 as a InstallShield Prerequisite

这一生的挚爱 提交于 2019-11-28 03:31:45
问题 I'm making my own prq file to perform the SQL CE 4.0 installation with my WPF application installation. The installer keeps failing, and I'm not sure why. It looks like it attempts to run the CE exe, but then a Windows Installer help window comes up with all of these command line help options. I click OK, and then it says the installation of CE has failed. I don't how to determine what is going wrong. Here's my prq file contents: <?xml version="1.0" encoding="UTF-8"?> <SetupPrereq>

How to Add a Digital Certificate to a SingleImage Install Shield Installation Program

最后都变了- 提交于 2019-11-28 03:09:39
问题 I have an installation program created using the limited version of Install Shield within Visual Studio 2012. I have a digital certificate that I want to add to the installation program. I'd like to use the SingleImage feature of Install Shield to create and deliver a single installation file (e.g. setup.exe) to my customers. It seems, however, that I must attach the digital certificate to an msi file, which is embedded within setup.exe, by Install Shield. I have found that placing the

Is it possible to run a custom action only in repair mode

删除回忆录丶 提交于 2019-11-28 02:17:46
I need to run a custom action only during Repair. But I didn't find a valid condition to do so. If I specify a custom action with below condition, it runs in Modify mode as well as in Repair mode. Installed AND Not REMOVE I am using InstallShield 2012 spring. Check the REINSTALL property. Conditional statement on your custom action should look like REINSTALL<>"" For future reference check these cheat sheets: Installshield condition cheat sheet . How to add a WiX custom action that happens only on uninstall (via MSI)? I have not had the time to go through all these conditions and test them, but

Programmatically enable (install) IIS

谁说我不能喝 提交于 2019-11-28 00:03:37
问题 Sometimes there is a PC that doesn't have IIS. Either it disabled or either it not installed. In this case I need to enable it myself according to those steps. I'm trying to create application that will check if IIS is enabled (installed), and if not it will enable (install) it. I tried to install IIS using .msi files from here, but it asking me to follow those stpes before the installation. I tried to use Advanced Installer but apparently it installing the IIS 8.0 Express but still it keeps

How can I make the installer Run as admin

本小妞迷上赌 提交于 2019-11-27 20:35:00
My application has an installer built in installshield. But for proper working of installation process in vista Win 7 etc. the installer should be run as administrator. (Even though the user has admin previlege he should select the 'Run as Administrator' option in the menu on rightclicking the installer exe) How can I make my installer to prompt that it should be always run as administrator. Thanks in advance... You need to set the execution level to "Require Administrator" from the project options. This option will be stored in the manifest file included in your setup package and it will make