/build/static/layout/Breadcrumb_cap_w.png

New to scipt writing

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

Answers (2)

Posted by: anonymous_9363 15 years ago
Red Belt
0
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).
Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
0
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.
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