/build/static/layout/Breadcrumb_cap_w.png

Kscript and software uninstall and install issues

I need to uninstall one application and replace it with its new version but the two cannot co exist.  
I am using a Kscript which succesfully uninstalls the first version and another Kscript that installs the new version.  How can I I get them to run together with the uninstall running first and then the install straightaway after?

0 Comments   [ + ] Show comments

Answers (3)

Posted by: SMal.tmcc 8 years ago
Red Belt
0
use a batch script and put start /wait in front of the commands to keep them sequenced
Posted by: StockTrader 8 years ago
Red Belt
0
Another possible solution is to create a single script that first of all uninstalls the program (if present) and the installs the new version.
 One KScript to rule them all :-)
Another idea is to create a batch that uninstalls the old version and then create a zip that includes the batch and the payload to install the new version.
Then associate the ZIP to the software record of the new version of the application you need to install and ten create a Managed Installation for that software...Seems complex but it's a matter of few mouse clicks.

Kind regards,
Marco - StockTrader
Posted by: keyser666 8 years ago
White Belt
0
Thanks Marco, that is the approach I used but the uninstall does not work then.  I am using the automated uninstaller in config policies to create the uninstall.
 
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