Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Automatic Re-installation

Updated: 21 May 2010 | 4 comments
Madhu Samuel's picture
0 0 Votes
Login to vote

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

spoonhead7's picture
02
Dec
2008
0 Votes 0
Login to vote

Are you creating an upgrade to an older app and are attempting to upgrade it to a newer version?

Madhu Samuel's picture
02
Dec
2008
0 Votes 0
Login to vote

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

AngelD's picture
02
Dec
2008
0 Votes 0
Login to vote

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.

Madhu Samuel's picture
02
Dec
2008
0 Votes 0
Login to vote

Thanks. We will try this solution and will update you.