Files included in the advancedinstaller proj not installed - 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!

maro
Posts: 12
Joined: Wed Mar 31, 2010 8:36 am

Files included in the advancedinstaller proj not installed

Hi,

This is not the first time this happened but we make an installer that automatically uninstalls any previous versions currently installed in the machine and installs the new version afterwards. We set this to run on a limited UI to make it seem like a silent install. There are times that some files are not installed that causes the software to crash; this happens consistently to all machines.

We fix this problem by checking the 'Ensure that this file overwrites any installed target file' checkbox and works perfectly right after. But as stated above, this happened before with a different file. What could have caused this? Is this a result of the custom action that uninstalls previous versions?

All the Best,

Maro
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Files included in the advancedinstaller proj not installed

Hi,

This behavior is caused by a Windows Installer bug which appears when a file needs to be upgraded with itself (the version of the file was not increased in the upgraded package). This happens because of the Windows Installer versioning rules and because of the way the upgrade process works.

The solution is to set the Ensure that this file overwrites any installed target file option in the Version tab of the "Edit File" dialog.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”