uninstaller

Custom uninstaller for a WIX generated MSI

时间秒杀一切 提交于 2019-12-02 07:46:12
I have an MSI that is being generated from WIX scripts. My question is similar to this question . I want to create a custom uninstaller instead of using the default MSI uninstaller. I am thinking of adding a custom action that executes after PublishProduct or before InstallFinalize that just goes and modifies the registry entry that specifies the uninstall string to use. I am not worried about compatibility with SMS or similar products. What are your thoughts on this method? It's not that simple. For whatever reason, the ARP doesn't respect the UninstallString on MSI packages. So to change it

Adding a checkbox to the NSIS Uninstaller Welcome Page

大憨熊 提交于 2019-12-01 08:25:29
问题 I'm trying to add a checkbox to the welcome screen of my NSIS uninstaller, but I'm having trouble finding an example. From the documentation for MUI2 I can't find any custom functions that can be run on the welcome page. It looks like the finish page is more easy to customize based on the documentation and other answers I've found. Is there a way to customize the Welcome Page? If not, what are the other options for accomplishing the intent? 回答1: The MUI(1) documentation you linked to has a

What to use for creating a quick and light setup file?

心已入冬 提交于 2019-11-30 23:27:08
I am considering helping an open-source gaming project with creating their setup file. The game is currently weights around 300 MB and is packaged in a zip file, playable straight after it's unarchived. The zip file contains separate executables for Windows, Mac, and Linux as well as compressed data files that are used on all 3 platforms. My goal is to create a lightweight and possibly portable installation package that could encapsulate the data and provide users with quick install/uninstall procedure. In addition, the sought-after (but not required) properties of the tool that I would use

Qt installer framework: remove radio buttons from uninstaller

橙三吉。 提交于 2019-11-29 19:14:20
问题 I have created a simple installer for our product with only 1 component and no remote repositories manager. When I start the uninstaller, the introduction page shows 3 radio buttons: Package manager Update components Remove all components I need only the third one, so I checked this documentation: http://doc-snapshot.qt-project.org/qtifw-master/noninteractive.html As I have understood and being unable to hide the buttons, I added this to my install.qs file: function Controller() { }

How to execute program before the uninstallation starts?

六眼飞鱼酱① 提交于 2019-11-29 09:31:32
Can InnoSetup execute a program before the uninstallation starts? My program creates some registry values. I have an executable that can remove those registry values and my question is, can InnoSetup run that executable before the uninstallation starts? See the documentation on Setup Script Sections , particularly the UninstallRun one at the bottom of the tree: [UninstallRun] Filename: "{app}\INIT.EXE"; Parameters: "/x" If you need to do something more complex, you can also do it in code using the Pascal scripting functionality in InnoSetup. See UninstallCodeExample1.iss' in the InnoSetup 5

Visual Studio 2005 -> 2008/10 Service Installer Project Upgrade issue

家住魔仙堡 提交于 2019-11-28 09:54:10
I've upgraded a [.vdproj MSI generator project built into VS2008] System.Configuration.Install.Installer with a ServiceProcessInstaller and a ServiceInstaller from Visual Studio 2005 to 2008. There are no customisations of consequence to the installer class (i.e., not trying to start or stop services or register children) RemovePreviousVersions is set to true , and I'm changing the Version and ProductCode . This triggers an error during the install: "error 1001: the specified service already exists" Googling yields stuff (but not on SO until now):- Google for "The specified service already

installation using msi.exec open help options every time

早过忘川 提交于 2019-11-28 01:20:45
I have been trying to install a msi file using cmd. The command looks like C:\Windows\system32> msiexec.exe -q -i "Installer.msi" But every time I run this the window for help options is opened for msi instead of running the installer. What could be the problem? First, you need to specify the full path to the MSI file. Also, the command line is really picky if you are specifying anything else, and sometimes it doesn't like spaces between value=proprtyname. Those errors will give you the help screen because you got the syntax wrong in some way. Note that the MSI file will not install

Visual Studio 2005 -> 2008/10 Service Installer Project Upgrade issue

雨燕双飞 提交于 2019-11-27 03:16:48
问题 I've upgraded a [.vdproj MSI generator project built into VS2008] System.Configuration.Install.Installer with a ServiceProcessInstaller and a ServiceInstaller from Visual Studio 2005 to 2008. There are no customisations of consequence to the installer class (i.e., not trying to start or stop services or register children) RemovePreviousVersions is set to true , and I'm changing the Version and ProductCode . This triggers an error during the install: "error 1001: the specified service already

installation using msi.exec open help options every time

百般思念 提交于 2019-11-26 21:53:09
问题 I have been trying to install a msi file using cmd. The command looks like C:\Windows\system32> msiexec.exe -q -i "Installer.msi" But every time I run this the window for help options is opened for msi instead of running the installer. What could be the problem? 回答1: First, you need to specify the full path to the MSI file. Also, the command line is really picky if you are specifying anything else, and sometimes it doesn't like spaces between value=proprtyname. Those errors will give you the