Here's some background: I built a crappy installer using Visual Studio's installer project, and now we're trying to move to a more functional platform (IA). Users are already using my existing VS Install project installer, so when I install our new version with the new IA installer I need to remove the old version.
I have a few questions on how to proceed:
1) Should the product code change or remain the same between the two installers? It's hard to tell from the topic mentioned above whether changing product and revision codes fixes the issue or causes it.
2) If I'm changing product codes, should I set the field labelled either "Upgrades Product with Product Code" or just "Upgrade Code" to the old installer's product code?
3) What about the NEEDSUPGRADE variable? It seems this is set when any software is installed with the same product code, but a different revision code. Is this correct?
4) MSI Package GUID: In my auto-generated .NET installer, I have code like below:
Code: Select all
if Variable NEEDSUPGRADE Equals TRUE
Install/Remove MSI Package {C9A46F4D-9C9A-4B07-90B4-74112566C13C}[REMOVE=ALL]
end
How is Package GUID determined? I can't seem to find package GUID as a setting in my InstallAware project. When does this value change? This value does not match the value I see in Orca when I look at my old installer, so I assume this is the value InstallAware gave my new installer when I created it.
Strangely, I only get the error mentioned above in Vista and Windows 7; Windows XP uninstalls the old version without any issues.
Thanks in advance for the help.
-Toby