Installing and Uninstalling from the same WSE

Did you know you can use Commandline parameters with WiseScript?

all you need to do is reference it in your script as follows..

item: If/While Statement

in this case, if your compiled EXE is run with /uninstall after it, it will run that section between your IF and END statement. You can still have a different WSE file for your uninstall, but you will need to reference it as an Include Script inside of the above IF End statement.

item: Include Script


This post is locked
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