installshield

C# winform使用InstallShield2019打包

╄→尐↘猪︶ㄣ 提交于 2020-05-08 09:58:35
原文: C# winform使用InstallShield2019打包 C# winform使用InstallShield2019打包 1.安装: 按照网络上说明即可,2019版本官网不提供激活码,也无法安装到Visual Studio 2013。但是它可以直接使用,进行打包。 2.基本操作 新建一个Basic MSI工程。 1.General Information 主要设置通用信息和默认安装路径。 2.Update Notifications 主要设置安装更新。 3.Setup Design和Features 设置基本信息。 4.Files and Folders 5.Redistributables 选择链接文件。 6.Shortcuts 设置快捷方式。在Startup和Desktop右键新建。 来源: oschina 链接: https://my.oschina.net/u/4400343/blog/3314478

Visual Studio 2017

浪子不回头ぞ 提交于 2020-05-08 02:47:35
最近有对一个Windows应用程序少许维护和修改。修改之后要发布新的exe安装文件,打包exe文件时,遇到了很头疼的问题,还好最后解决了,记录一下。 Visual Studio版本:Visual Studio 2017 <!--more--> Visual Studio 2017 打包插件 新建项目->其他项目类型->Visual Studio Installer->Setup Project 如果其他项目类型中没有选项(Visual Studio Installer),点击“工具”,选择“拓展和更新”,点击联机,搜索“Microsoft Visual Studio 2017 Installer Projects”,安装该插件。 选择主输出 新建项目之后,默认自动打开File System,右键点击Application Folder,添加输出,选择主输出 创建快捷图标 右键点击“主输出 from xxx”,选择“Create ShortCut to 主输出 from xxx”,新增快捷方式,可以重新命名。选择快捷方式,左键长按拖动至User's Desktop 右键点击快捷方式,选择属性窗口 可自选快捷方式的显示图标icon 自定义操作 右键点击项目 如果该项目由必选的驱动需要安装,可以将该驱动安装exe文件添加到Application Folder中,选择添加“自定义操作”

Windows系统目录

烂漫一生 提交于 2020-04-28 19:55:25
文件功能 编辑 ├— WINDOWS │ ├— system32 (存放Windows的系统文件和硬件 驱动程序 ) │ │ ├—config(用户配置信息和密码信息) │ │ │ └—systemprofile( 系统配置信息 ,用于恢复系统) │ │ ├—drivers(用来存放硬件驱动文件,不建议删除) │ │ ├—spool(用来存放系统打印文件。包括打印的色彩、打印预存等) │ │ ├—wbem(存放WMI 测试程序 ,用于查看和更改公共信息模型类、实例和方法等。请勿删除) │ │ ├—IME(用来存放系统输入法文件,类似WINDOWS下的IME文件夹) │ │ ├—CatRoot(计算机启动测试信息目录,包括了计算机启动时检测的硬软件信息) │ │ ├—Com(用来存放 组件服务 文件) │ │ ├—ReinstallBackups(电脑中硬件的 驱动程序 备份) │ │ ├—DllCache(用来存放 系统缓存 文件。当系统文件被替换时,文件保护机制会复制这个文件夹下的文件去覆盖非系统文件) │ │ ├—GroupPolicy( 组策略 文件夹) │ │ │ ├—system( 系统文件夹 ,用来存放系统虚拟设备文件) │ ├—$NtUninstall$(每给系统打一个补丁,系统就会自动创建这样的一个目录,可删除) │ ├—security(系统安全文件夹

Run CA after InstallFile and before CreateShortcuts

吃可爱长大的小学妹 提交于 2020-04-11 17:59:19
问题 I have InstallShield 2013 Basic MSI project I want to have a CA that will run after the files are being installed but before creating the shortcuts, how can I do that ? I tried to create CA that will run after InstallFile but when running the setup I see that when it get to InstallInitialize it skip all CA excepts the one I added and it run it and after that go back to InstallInitialize and run all custom action it has skipped. 回答1: What you're seeing here in the log is the effect of Deferred

如何使用InstallShield中的LaunchAppAndWait()

穿精又带淫゛_ 提交于 2020-04-06 00:15:27
InstallSheld6.3如何使用LaunchAppAndWait()? 我想在安装结束前调用另一个程序,我知道要用到它的LaunchAppAndWait()函数,但不知道应该在哪个地方添加脚本,帮帮忙,谢谢啦! 18.4 LaunchAppAndWait 语法:LaunchAppAndWait (szProgram, szCmdLine, lWait); 说明:LaunchAppAndWait函数运行由szProgram指定的带有szCmdLine指定的命令行参数的应用程序。第三个参数,lWait指示安装在继续前是否要等待直到运行的应用程序终止。   一个安装程序只能监控由szProgram指定的应用程序;如果该应用程序要运行其它应用程序或进程,安装程序不能监控它们。因此,安装程序将在第一个应用程序结束后继续,即使那时由第一个应用程序运行的其它应用程序仍在运行。注意如果运行的应用程序终止失败,则安装程序将无限等待运行的应用程序完成。 参数: szProgram 指定要被运行的应用程序的文件名。建议要指定应用程序的完整路径和文件名。如果你不包括一个路径,InstallShield将使用被Windows API 函数CreateProcess使用的相同的查找次序来定位文件。如果文件未能在这些位置找到,函数将失败。   如果应用程序的全限定名包括长文件夹名和/或一个长文件名

Installshield : custom action to uninstall previous version and install the latest version

自闭症网瘾萝莉.ら 提交于 2020-01-25 08:28:05
问题 My requirements are as follows: If an application with version e.g. 12.0 is installed at C:\Folder1 and a setup with version 13.0 is to be installed in the folder C:\Folder1 then the setup of version 13.0 should uninstall 12.0 version silently and install the latest version 13.0 If an application with version e.g. 12.0 is installed at C:\Folder1 and a setup with version 13.0 is to be installed in the folder C:\Folder200 then the setup of version 13.0 should install the latest version and also

Installer to Install one or more programs

梦想与她 提交于 2020-01-23 12:46:19
问题 We have around 8 different programs each with its own MSI / EXE installer. What is the best way to create a single installer that will give users a list of the 8 different programs and then based on the apps the user wants to install they will start the installer one by one. The installer can run and just launch the app installers one by one and don't need to automatically install all the apps behind the scenes. Thanks 回答1: I'd use the free InnoSetup for that. It also comes with Pascal

Make installshield merge module installation path configurable for user

瘦欲@ 提交于 2020-01-17 09:00:12
问题 I have 2 custom installshield merge modules. I am using these merge modules inside a installshield project. Now I want when user run main installshield package then he should be able to select the installation path of 2 merge modules him self. Is it possible in installshield merge module? 回答1: You need to create 2 features in the installshield project, with 1 merge module in each feature. Then make sure the Custom Destination dialog is in your sequence, so the user can select the install path

InstallShield LE is not working in vs2013 in windows 8.1

谁说胖子不能爱 提交于 2020-01-17 01:45:08
问题 I am working in Visual Studio 2013 on Windows 8.1 . I have windows service project, for that i want to create a setup project. I am trying to add install shield limited edition project. When i am clicking on OK button. Nothing happend, nnly setup1 named folder created in my solution folder. What should i do to fix this bug. 回答1: In the Visual Studio 2013, IDE showing "Enable InstallSheild Limited Edition", it means you have not installed InstallSheild yet. Download InstallShield from here.

MSI not uninstalling .dll files

耗尽温柔 提交于 2020-01-16 01:05:10
问题 I have an program that used to uninstall properly and remove ALL files associated with it during uninstall. We have revamped our install/uninstall process to now use installshield. With the previous install/uninstall process it was working just fine until about 2 weeks before we changes it, and still even now with he new installshield installers it fails to remove the .dll files upon uninstall. I don't think the problem is with the installers themselves because we have the same exact problem