Automatic Re-installation
Updated: 21 May 2010 | 4 comments
If we use Wise Studio Package to create a msi file, it will provide the un-install feature also bundled with it.
If I install the appln using the generated msi, after that if I execute the same msi once again, it will un-install the previous installation. After that to start the installation we have to execute (double click) the msi file again.
I wanted the installation to start automatically soon after the un-installation without separate user action.
How can this be solved?
Thanks,
Samuel
discussion Filed Under:
Comments
Are you creating an upgrade to an older app and are attempting to upgrade it to a newer version?
We are upgrading to a newer version. Hence we wanted to uninstall the previous version, and install all the files 'fresh' to the same machine.
Currently this feature is available. But when the end user clicks on the setup.msi our tool just uninstalls. For him to start the installation he has to double click the setup.msi once again. We wanted the 'unintall' and 'install' happen in a single go without user intervention.
Thanks,
Samuel
Author an upgrade instead and sequence the RemoveExistingProducts action between the InstallValidate and the InstallInitialize action.
In this case the "new" MSI will remove the previous (old) version and then go on with the actual installation of the new version.
Thanks. We will try this solution and will update you.
Would you like to reply?
Login or Register to post your comment.