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: Logging Uninstall when run from Add or Remove Programs
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
‎Feb 09, 2011
01:55 PM
Logging Uninstall when run from Add or Remove Programs
I'm trying diagnose an uninstall issue. I can get logging to work if I run from cmd line, but adding /l*v "c:\IS.log" to the end of the UninstallString in the registry doesn't create a log file when I uninstall through Control Panel.
Am I missing something?
Am I missing something?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 09, 2011
04:37 PM
Right, Windows Installer normally doesn't use the UninstallString value for a Basic MSI project. Depending on your MSI version, maybe see if using the MsiLogging property will help? Or run:
from a command prompt or batch file?
msiexec /x {your-prod-uct-code} /L*v everything.log
from a command prompt or batch file?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 09, 2011
06:00 PM
You can also apply a registry setting to enable logging globally. Checkout:
http://support.microsoft.com/kb/223300
http://support.microsoft.com/kb/223300
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 10, 2011
08:23 AM
The KB article looks like what I need. I have run the uninstall from the command line, but I needed to see what was happening when running the uninstall through Control Panel (possible different behavior).
I was wondering about the uninstall string because after the install completed it had "msiexec.exe /I{Product GUID}" which should be doing an install not an uninstall. So the UninstallString is just a waste of Registry space, or is there just for backwards compatiblity(?).
Thanks.
I was wondering about the uninstall string because after the install completed it had "msiexec.exe /I{Product GUID}" which should be doing an install not an uninstall. So the UninstallString is just a waste of Registry space, or is there just for backwards compatiblity(?).
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 10, 2011
08:37 AM
The uninstall string only applies to non MSI installs and is for backwards compatibility in AddRemove Programs. MSI installs understand their ProductCode and do their own thing regardless of what you put in the uninstall string.