We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

camkego
Posts: 3
Joined: Mon Nov 24, 2014 2:21 am

Multiple 'Run's without installing

Is there a way to enable 'automatic uninstall' or 'install-over-last' functionality during installer testing.

The first time I hit the Run button for a new project, it is not necessary to uninstall the old project, but
after the first time installing, each time I hit 'Run', I need to hit the Uninstall button, and then hit Run again
to test my installer.

If I could avoid these uninstall steps, it would speed my installer testing.

Thanks,
Cameron
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Multiple 'Run's without installing

Hello Cameron and welcome to Advanced Installer forums,

I assume you receive the following message:
Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
Please note that this message is displayed if you created a package, installed it, modified its contents and then you tried to install it again without uninstalling the original one. Basically, Windows Installer can upgrade the original package only if the modified one has a higher version and a different Product Code. Here's the Product Identification (ProductCode and UpgradeCode) article which may ne useful to you.

Also note that this error can only occur on development machines during the installer's authoring process. You needn't consider preventing it on clients' machines.

By the way, if you will run your installation package using the Run toolbar button from Advanced Installer, then the previous version of your application will be automatically uninstalled and the installation process will continue as there was no previous version installed. The uninstall of the previous version is done automatically by Advanced Installer.

By the way, it is highly recommended using virtual machine software, so you can easily reset the virtual machine to a known clean state (and also don't have to worry if your install breaks the machine).

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”