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: How do I uninstall an 'old' MSI
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 13, 2010
02:01 AM
How do I uninstall an 'old' MSI
We have an application that was developed and packaged using Installshield several years ago (sorry, I don't know the version). We are now rolling out a new version but need to get users to uninstall the old version first.
In testing, we have discovered that the old MSI only appears in Control Panel add/Remove Programs if you are logged in as the person who did the original installation. Is there an MSIEXEC command I can use that will uninstall the MSI no matter who I am logged in as?
In testing, we have discovered that the old MSI only appears in Control Panel add/Remove Programs if you are logged in as the person who did the original installation. Is there an MSIEXEC command I can use that will uninstall the MSI no matter who I am logged in as?
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2010
12:23 PM
You can use the uninstallstring:
msiexec /x /qn
using the ProductCode of your old version.
msiexec /x
using the ProductCode of your old version.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2010
12:33 PM
if you need to uninstall the old version, you can also add entries to your new MSI's upgrade table to detect the upgradecode of your old application.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 14, 2010
02:48 AM
I tried msiexec /X {productCode} but this failed. I am beginning to think that application was installed as a per-user install rather than for all users of the system so can this be uninstalled as a different user?
What happens if the user account that did thhe original install has been deleted and no longer exists?
What happens if the user account that did thhe original install has been deleted and no longer exists?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 14, 2010
03:05 AM
Hi again - I used Orca to look inside the old MSI. It does not seem to have an upgrade code and also it looks as if it was installed for all users. I can only assume it was a badly written MSI.
How do I uninstall it if the user account that did the original intall no longer exists?
How do I uninstall it if the user account that did the original intall no longer exists?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 14, 2010
06:54 AM
http://blogs.msdn.com/windows_installer_team/archive/2006/05/24/605835.aspx
See Rule #30. Per-User installs can only be serviced by the user who did the install. Even if you had the original MSI, doing an msiexec /x foo.msi wouldn't work because the MSI metadata is not in the scope of your profile. It's in the scope of the user who did it.
See Rule #30. Per-User installs can only be serviced by the user who did the install. Even if you had the original MSI, doing an msiexec /x foo.msi wouldn't work because the MSI metadata is not in the scope of your profile. It's in the scope of the user who did it.