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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 09/02/2005 by: MSIPackager
Third Degree Black Belt

Please log in to comment
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.
Answered 09/02/2005 by: akhlaque
Orange Senior Belt

Please log in to comment
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.
Answered 09/02/2005 by: nilo
Orange Belt

Please log in to comment
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
Answered 09/02/2005 by: Ilikebananas
Purple Belt

Please log in to comment
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.
Answered 09/02/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
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.
Answered 09/02/2005 by: nilo
Orange Belt

Please log in to comment
0
Hi,

Just to add on wiseapp, move the RemoveExistingProduct between InstallValidate and InstallInitialise in the execute immediate tab.
Answered 09/02/2005 by: akhlaque
Orange Senior Belt

Please log in to comment
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...
Answered 09/02/2005 by: Ilikebananas
Purple Belt

Please log in to comment
0
Thanks to all of you. Its really working fine.

Learnt something new today.

Thanks once again.

Regards,
Nilo.
Answered 09/02/2005 by: nilo
Orange Belt

Please log in to comment
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
Answered 09/02/2005 by: akhlaque
Orange Senior Belt

Please log in to comment
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...
Answered 09/02/2005 by: Ilikebananas
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity