Update not including same files as new install - Advanced Installer Community
mpalese
Posts: 1
Joined: Wed Mar 08, 2023 10:34 pm

Update not including same files as new install

I've inherited a program which has used Advanced installer for some time. Recently I had to change many of the dll references which were pointing to outdated files. I am unsure if this is related to the issue, but thought it was worth mentioning.

When building the update, I can see that all the files are present in the Installed-FILES.7z and when newly installing the program everything goes great. However when pushing an update, just one file is missing. It's an important dll that's used right when the program opens, making it inoperable after an update. I don't understand why this file is missing when updating specifically. What am I doing wrong?
Liviu
Posts: 1419
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Update not including same files as new install

Hello and welcome to our forums,

After the old package is detected, Windows Installer automatically determines which files will be installed based on the file versioning rules.

Please take a look at our Why some files/assemblies are missing from the installation folder when performing an upgrade? FAQ article.

Since the files are already installed, the ones in the old package are compared to the ones in the new package. If the files in the new package does not have a version it will not be installed (according to the file versioning rules).

As a solution, you could use a higher version for your files or you can use the Always overwrite existing file option (Files and Folders page --> right click on your missing file --> Properties --> Operations tab).

If that doesn't help, can you please send us the .AIP (project file) for both versions, by email to support at advancedinstaller dot com? Before and after you configured the update and which files are exactly missing. And also an installation log of the upgrade process.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”