/build/static/layout/Breadcrumb_cap_w.png

Uninstalling earlier versions

Hi,

I have packaged 'All Fusion Harvest Change Manager". The MSI is working fine. Now the problem is that I have an earlier version of this product installed which i need to uninstall automatically while installing the new version.

I am new to this field. Please help me out. Thanks in advance.

Regards,
Nilo.

0 Comments   [ + ] Show comments

Answers (11)

Posted by: MSIPackager 18 years ago
3rd Degree Black Belt
0
Hi,

Run regedit and browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall there should be a subkey for each product installed on that workstation. Look for an UninstallString value (REG_SZ) the Data value should provide the command line to uninstall the old version of the application...

Hope it helps,
Rob.
Posted by: akhlaque 18 years ago
Orange Senior Belt
0
Hi nilo,

as msipackager said, this is the one way round to uninstall manually. If u want this to be done every time automatically then u can go for upgrades.
Posted by: nilo 18 years ago
Orange Belt
0
Thanks for the feedback.

The first version is installed from a MSI. As such I have tried removing it using upgrades while installing the MSI which I packaged. It uninstalls properly.

But the problem is that it uninstalls the common files of the second version and then the app doesn't work properly. In the upgrades the feature of the first version is mentioned to be removed. Hope I'm more clear this time.

Please provide your help.Thanks in advance.

Regards,
Nilo.
Posted by: Ilikebananas 18 years ago
Purple Belt
0
Hi nilo,

It sounds like your components are not synchronised, if they where components shared by the two packages would be left on the system. Wise has the upgradesync tool to synchronise components, Adminstudio will most likely have a similar tool.

You could also move the move the RemoveExistingProducts Action to the front of the sequence (you can look it up in the SDK), which means the old version is removed before the new version is installed. But that leaves your components out of sync.

Ilikebananas
Posted by: wiseapp 18 years ago
Second Degree Green Belt
0
Hi:

As I like said you could move up the RemoveExistingProducts in the beginning between InstallValidate and InstallInitialise. Then the application I mean the old MSI would be removed first and would then install the new MSI, so your files will not be deleted.
Posted by: nilo 18 years ago
Orange Belt
0
Hi,

Could you please tell me how to change the sequence so that the old version is removed first and then the next version is installed. I'm new to this field. I'm using WPS 5.5.

Thanks.

Regards,
Nilo.
Posted by: akhlaque 18 years ago
Orange Senior Belt
0
Hi,

Just to add on wiseapp, move the RemoveExistingProduct between InstallValidate and InstallInitialise in the execute immediate tab.
Posted by: Ilikebananas 18 years ago
Purple Belt
0
Perhaps the easiest way is to go into the tables (under Setup Editor).
Do a search on RemoveExistingProducts and change the number in the sequence column to a value which is between the values of InstallValidate and InstallInitialize in the same table.

Done...
Posted by: nilo 18 years ago
Orange Belt
0
Thanks to all of you. Its really working fine.

Learnt something new today.

Thanks once again.

Regards,
Nilo.
Posted by: akhlaque 18 years ago
Orange Senior Belt
0
Hi,

As Ilike said this is one way to change the sequence. The other way round is to just click on RemoveExistingProduct, Hold the control button and start pressing the up-arrow button to move the same where ever u want.

Thanks
Posted by: Ilikebananas 18 years ago
Purple Belt
0
You are of course right akhlaque [:)] ! Personaly I edit the tables a lot, especially when it's just a single modification like this one. Just a matter of personal preference...
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ