This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: UninstallString /I versus /X
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 07, 2013
02:31 PM
UninstallString /I versus /X
I inherited a number of basic MSI projects.
One of the projects, after install, has an UninstallString of "MsiExec.exe /X{productcode}" while the other one has "MsiExec.exe /I{productcode}".
Can anyone tell me what controls the generation of the switch /I or /X? What wouldn't I always want /X in the uninstall string?
Thanks,
Wim
One of the projects, after install, has an UninstallString of "MsiExec.exe /X{productcode}" while the other one has "MsiExec.exe /I{productcode}".
Can anyone tell me what controls the generation of the switch /I or /X? What wouldn't I always want /X in the uninstall string?
Thanks,
Wim
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 08, 2013
03:09 PM
This information is written to the uninstall key in the registry through the standard RegisterProduct action provided by Windows Installer. Information on what properties control Add/Remove Programs information can be found in the MSDN article Uninstall Registry Key. Note that UninstallString and ModifyPath are controlled only by Windows Installer and not any property that can be set during the installation.
If the values of UninstallString are changing, this may be because of a custom action that runs during the installation which attempts to update information in the uninstall key. Typically this will not have an effect on Windows Installer uninstall key information as Add/Remove Programs implements behavior specific for MSI installations.
If the values of UninstallString are changing, this may be because of a custom action that runs during the installation which attempts to update information in the uninstall key. Typically this will not have an effect on Windows Installer uninstall key information as Add/Remove Programs implements behavior specific for MSI installations.