/build/static/layout/Breadcrumb_cap_w.png

Software Deployment Question


Kscript and software uninstall and install issues

10/24/2015 1125 views
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

Comments


All Answers

0
use a batch script and put start /wait in front of the commands to keep them sequenced
Answered 10/24/2015 by: SMal.tmcc
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
Answered 10/26/2015 by: StockTrader
Red 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.
Answered 10/27/2015 by: keyser666
White Belt

 
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