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: Broken uninstall from changing productname
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
‎Jan 28, 2009
02:39 PM
Broken uninstall from changing productname
I am using a Basic MSI project. I recently changed the the productname of my installer i.e. "Application 1" to simply "Application". Afterwards though, if I try to uninstall from Control Panel, I get a 1602 error (the uninstall cancels itself). I can uninstall only by invoking the maintenance mode dialog and choosing remove from there. If I revert my productname to the original value, everything works fine. I turned on logging and the only thing out of the ordinary was the line:
Action ended 7:38:08: INSTALL. Return value 2.
Anybody have any ideas...?
Action ended 7:38:08: INSTALL. Return value 2.
Anybody have any ideas...?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2009
05:24 PM
Where did you change the product name? How did you deploy the product version with the changed name? MSI minor upgrades don't support the MSI file name changing, so that might have a bearing on it.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2009
05:33 PM
I changed it from General Information -> Product Properties page. I built a new MSI and installed it. Installation is fine, but when I invoke uninstall from Add/Remove programs, the uninstall 'cancels' by itself.
For background, all our upgrades are major upgrades. However, I haven't even tried upgrading yet. I just wanted to see if normal install/uninstall works fine.
For background, all our upgrades are major upgrades. However, I haven't even tried upgrading yet. I just wanted to see if normal install/uninstall works fine.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2009
06:39 PM
Hmm, I'm not sure I follow; did you install a version with the old product name, and later one with the new name? If the system never knew about the old name, it shouldn't be an issue...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2009
06:58 PM
In my installer project, I changed the productname, then I built an msi. I installed this msi on a system w/o any previous instances of the old application installed. Install works fine, but uninstall tanks.
If I revert the productname in my installer project, and build another msi, then install/uninstall operations work fine.
If I revert the productname in my installer project, and build another msi, then install/uninstall operations work fine.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)