uninstaller

Using the EstimatedSize value inside a program uninstall key to correctly display the program size in the Add/Remove Programs list

五迷三道 提交于 2019-12-10 11:37:44
问题 I've attempted to use the EstimatedSize value during creation of an uninstaller registry key for an app I've developed, unfortunately the value I specify does not appear in the Add/Remove Program list next to my program's entry. I've tried to find the proper procedure for using this value but to no avail. Anyone have any experience on this issue? Your help would be appreciated. Divo got me on the right track so I figured I'd post step-by-step instructions on how to correctly display the

In inno setup how to set the unins000.exe with product name, product version and copyrights properties [duplicate]

北城余情 提交于 2019-12-10 02:33:49
问题 This question already has answers here : Inno Setup uninstaller VersionInfo (2 answers) Closed 2 years ago . I have created an installer using inno setup. Everything works fine but after installation unins000.exe will be generated, this exe doesn't have product name, product version and copyrights properties set. Can any one explain me how to build the installer so that unins000.exe will contain these fields. 回答1: The short answer is that you cannot set those values and really, there's no

nsis - remove pinned icon from taskbar on uninstall

[亡魂溺海] 提交于 2019-12-08 05:38:25
问题 I'm working on an app for a company and they requested that if the app is pinned to the taskbar, when uninstalling the app should be unpinned. If I just delete the icon from quicklaunch\user pinned\taskbar then it leaves a blank icon on the taskbar. I need to somehow actually unpin it. The only thing I've come across is installing winshell plugin (http://nsis.sourceforge.net/WinShell_plug-in) and then calling IStartMenuPinnedList::RemoveFromList (https://msdn.microsoft.com/en-us/library

Using the EstimatedSize value inside a program uninstall key to correctly display the program size in the Add/Remove Programs list

一曲冷凌霜 提交于 2019-12-07 12:55:30
I've attempted to use the EstimatedSize value during creation of an uninstaller registry key for an app I've developed, unfortunately the value I specify does not appear in the Add/Remove Program list next to my program's entry. I've tried to find the proper procedure for using this value but to no avail. Anyone have any experience on this issue? Your help would be appreciated. Divo got me on the right track so I figured I'd post step-by-step instructions on how to correctly display the EstimatedSize value. Create the registry key with all relevant properties, including EstimatedSize. This

Password protected uninstallation using Inno Setup

怎甘沉沦 提交于 2019-12-05 07:12:11
I am making an installer using Inno Setup. I want to password protect the uninstallation. So my plan is to ask for the uninstallation password during installation, and save it into a file. While uninstalling, ask for the password from user and compare the passwords. I could not find a way to let the user enter the password while uninstalling, is there any? vicsar Some Inno Setup users require that the user who wants to uninstall the software is asked for a password before this is possible. Anti virus software might be a candidate for this requirement, for instance. The code below shows how to

How do I require user to uninstall previous version with NSIS

烈酒焚心 提交于 2019-12-04 18:30:26
问题 I have just started using NSIS. It works very well but I find the documentation a bit unstructured. How do I require user to uninstall previous version before installing a new version with NSIS? NSIS (Nullsoft Scriptable Install System) is an open source system to create Windows installers. 回答1: NSIS is a great Windows Installer. Here is how I use NSIS to uninstall the current version while installing a new version of the same application. Add the following function to your NSIS script.

Change the default name of an Inno Setup uninstaller to avoid naming conflicts

自古美人都是妖i 提交于 2019-12-04 03:30:44
I need to install a couple of installers in the same directory so it conflicts with the Inno Setup uninstaller name unins000.exe and unins000.dat Is there a way to change the default name of an Inno Setup uninstaller? This is similar to Elektrostudios' answer, and is what worked for me: Filename: {cmd}; Parameters: "/C Mkdir ""{app}\Uninstallers\{#MyAppName}"""; Flags: RunHidden WaitUntilTerminated Filename: {cmd}; Parameters: "/C Move ""{app}\unins000.exe"" ""{app}\Uninstallers\{#MyAppName} - uninstall.exe"""; StatusMsg: Installing {#MyAppName}...; Flags: RunHidden WaitUntilTerminated

Inno Setup uninstall executable location and name

只谈情不闲聊 提交于 2019-12-04 02:46:35
Can I configure it to be placed in the same location C:\windows\something\ that .msi files produced by windows installer are hidden in, instead of in C:\Program Files\MyAppFolder\ ? Also can I change the name to something more obvious in intent than unins000.exe? Dan Neely The uninstaller path can be changed by setting a value in the script file: [Setup] UninstallFilesDir={win}\Installer There doesn't appear to be a way to change the name. With the shipping InnoSetup there is currently no way specify the Uninstall file name. Since Source is available you can change the behavior the file name

How do I require user to uninstall previous version with NSIS

纵饮孤独 提交于 2019-12-03 12:02:51
I have just started using NSIS . It works very well but I find the documentation a bit unstructured. How do I require user to uninstall previous version before installing a new version with NSIS ? NSIS (Nullsoft Scriptable Install System) is an open source system to create Windows installers. NSIS is a great Windows Installer. Here is how I use NSIS to uninstall the current version while installing a new version of the same application. Add the following function to your NSIS script. Function .onInit Exec $INSTDIR\uninst.exe FunctionEnd Also you can check out this link on the NSIS wiki on

Custom uninstaller for a WIX generated MSI

被刻印的时光 ゝ 提交于 2019-12-02 17:37: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? 回答1: It's not that