New versions not replacing files from old version - Advanced Installer Community

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!

bbassett
Posts: 1
Joined: Sat Mar 03, 2012 11:53 pm

New versions not replacing files from old version

I'm a new user of Advanced Installer. Using the freeware version to create a very simple MSI that copies a .dotm file to the user's AppData\Microsoft\Word\STARTUP folder, so they have an add-in available everytime they start Word.

Works fine the first time, but when I publish an updated msi it fails to overwrite the older version of the .dotm on the target computer. I'm changing the product version number and allowing the program to generate a new product code before I compile my new MSI. If I manually remove the program via Control Panel, I get a good fresh install. But if I don't, and just run the new msi on the target computer it goes into the Modify/Repair/Remove dialog, which tells me it is not recognizing this as a new version at all.

Sorry for such a simple question. Would appreciate any help.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: New versions not replacing files from old version

Hi and welcome to our forums,

The package can only enter maintenance phase, i.e. Remove/Repair options, only if you are launching the original MSI, the one created for the first version. Can you please check to make sure you are launching the correct package? Also, please make sure the output path for the new version is in a unique location, you can define it from Media page.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”