cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bluestar8783
Level 5

How to uninstall Old installer when both installers differ from GUID?

We would release out two installers(one for xp and one for vista).

Now , i modified old xp installer to merge two installers to one package.
So i can uninstall old xp, but cannot uninstall old vista(different GUID)

Could i uninstall old vista installer by using new installer?
If yes, how to do ?

Thanks for your kindly help.
Labels (1)
0 Kudos
(5) Replies
ITI_Randy
Level 6

You could use a major upgrade. Add a major upgrade for both Upgrade codes. When the upgrade runs, it will replace either code.
0 Kudos
bluestar8783
Level 5

ITI_Randy wrote:
You could use a major upgrade. Add a major upgrade for both Upgrade codes. When the upgrade runs, it will replace either code.


Dear Sir:

Thanks for your information.
I will read help topic:"creating an installscript release to update
previous Versions". But i feel it is not what i want to have.(my project
is installscript type)

I hope the below flow.

old xp installer -> my new allinone installer(inherited from old xp installer)
(can uninstall it) |----> old vista installer

I hope in the future i just only use my new allinone installer to
uninstall both installer(old xp and vista installer)

Thanks for your kindly help.
0 Kudos
KathyMorey
Level 10

If your project is a pure InstallScript project (not InstallScript MSI), then you should be able to check the registry for the two older versions (perhaps in OnBegin) and run the run the uninstalls based on their presence (perhaps in OnFirstUIBefore).
0 Kudos
bluestar8783
Level 5

KathyMorey wrote:
If your project is a pure InstallScript project (not InstallScript MSI), then you should be able to check the registry for the two older versions (perhaps in OnBegin) and run the run the uninstalls based on their presence (perhaps in OnFirstUIBefore).


Thanks for your good information.

Could you teach me that if i would want to run Maint-Mode when I
found the registry for old version(in OnBegin)?
0 Kudos
KathyMorey
Level 10

I'm not sure of all the ramifications, but if you set a flag based on your search in OnBegin, then in OnFirstUIBefore (and OnFirstUIAfter) you could check for the flag and run OnMaintUIBefore (or OnMaintUIAfter). I've done it the opposite way (run OnFirst from OnMaint and OnResume) but never done it that way.
0 Kudos