File will not installl - Advanced Installer Community
andy@internetcsi.com
Posts: 1
Joined: Thu Aug 13, 2020 5:15 pm

File will not installl

Hello,

I am having an intermittent problem with 1 file when installing an upgrade. On the upgrade it will uninstall correctly however during the install portion one dll file is skipped. It doesn't happen all the time. If I do a repair the missing file is installed. This particular file is the same version number of the prior file.

Any ideas?

Thanks

Andy.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: File will not installl

Hello Andy and welcome to Advanced Installer forums,

A major upgrade is a two-step process:
1) the old version is uninstalled
2) the new version is installed

For deciding if a file is installed or not Windows Installer uses the file versioning rules. Therefore, a file in the new package which has a version lower than the file already present on the machine will not be installed (Action: Null). However, when the old version is uninstalled the file on the machine is removed, so the file is missing after upgrade.

A solution to this would be to set the "Always overwrite existing file" option for the .DLL file that is not installed. To do so, please go to "Files and Folders" page --> right click on your .DLL file --> "Properties" --> "Operations" tab.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”