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

Please log in to comment

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

Please log in to comment
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

Please log in to comment
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

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

Share