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.
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)
Please log in to answer
Posted by:
MSIPackager
19 years ago
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.
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
19 years ago
Posted by:
nilo
19 years ago
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.
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
19 years ago
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
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
19 years ago
Posted by:
nilo
19 years ago
Posted by:
akhlaque
19 years ago
Posted by:
Ilikebananas
19 years ago
Posted by:
nilo
19 years ago
Posted by:
akhlaque
19 years ago
Posted by:
Ilikebananas
19 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.