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!

djvalosek
Posts: 2
Joined: Thu Oct 23, 2014 7:05 pm

Installing Program over Existing Version

New to Advanced Installer so I apologize for my nerofite question.

I built a simple installer for a single program (MYPRG.EXE) using the version of the .EXE as the Project Version (i.e. 3.2.1.100). I install the program on the user's PC with no problem. I rebuild MYPRG.EXE with a new version of 3.2.1.101. I rebuild my Advanced Installer .EXE file and when I run it on the user's PC, I get dialog saying that another version of this product is already installer...Go to the control panel..

I am basically only wanting to write OVER the existing program...having it do an auto uninstall of the old one by the AI program and not have the user first uninstall the 3.2.1.100 version first.

Can't seem to get the correct Product Version/Product Code combination so as not to have the user see this dialog.

Any and all help would be greatly appreciated.

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

Re: Installing Program over Existing Version

Hello and welcome to Advanced Installer forums,

Here's the Why do I receive the "Another version of this product is already installed" message? FAQs which explains why you encountered this behavior.

Please note that, Windows Installer uses only the first three fields of the product version. If you include a fourth field in your product version, the installer ignores the fourth field.

So, can you please use only the three fields for the product version? Also, when changing the product version, when prompted, you should choose the major upgrade option in order to allow a new product code to be generated. You can also take a look on the Upgrades article which may be useful to you.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
djvalosek
Posts: 2
Joined: Thu Oct 23, 2014 7:05 pm

Re: Installing Program over Existing Version

Thanks Dan!!!

All that help and now my installers are behaving the way I need them to.

Saved me many hours of frustration.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Installing Program over Existing Version

You're welcome,

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”