PDA

View Full Version : noob question: Force an uninstall before install?



NewsArchive
03-21-2011, 01:30 AM
Hi,

Is there a way to do an uninstall before an install in SetupBuilder?

Thanks for any help,

Jay

NewsArchive
03-21-2011, 01:31 AM
Jay,

>
> Is there a way to do an uninstall before an install in SetupBuilder?
>

You can use the "Detect Previous Version..." script function to detect the
path of a previously SetupBuilder distributed version of your product.

If the function succeeds, %_SB_TMP% contains the uninstall string (if
available). You can use this value in a "Run Command Line..." script
function to force an uninstall.

Friedrich

NewsArchive
03-22-2011, 01:36 AM
> You can use the "Detect Previous Version..." script function to detect the
> path of a previously SetupBuilder distributed version of your product.
>
> If the function succeeds, %_SB_TMP% contains the uninstall string (if
> available). You can use this value in a "Run Command Line..." script
> function to force an uninstall.

That works like a charm. Thank you.

Jay