Good afternoon everyone

I have an .msi that was created within wise. I have placed upgrade codes within it however it will not uninstall the previous version. Our msi are deployed via Application Object through Novell. Can anyone help me with creating a script to remove the prior version...I think it would be an IF THEN ELSE type of thing however I do not know the proper syntax. I want to have the script run if the prior version exists however go right on past it and continue with the current version's installation.

Thanks in advance for any help
0 Comments   [ + ] Show 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.


Terrance, while I can see that you would want a quick resolution to the problem you have, you are going about it the wrong way. It's akin to asking how to replace your car's engine because it won't start.

First things first: please post your MSI's ProductCode and the *original* UpgradeCode)s), along with your *new* MSI's ProductCode and UpgradeCode(s).
Answered 06/04/2008 by: VBScab
Red Belt

Please log in to comment
and then let us know where the FindRelatedProducts and RemoveExistingProducts actions are in relation the sequence tables.

this was we can advise how to fix the original problem.

failing that you can use a vbs pre install script. (cant remember the ZFD ternimology)

then just use msiexec /x {productcode} of old app. I do however agree with Ian's answer. Fix it properly first.
Answered 06/04/2008 by: jmcfadyen
Fifth Degree Black Belt

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