mheckmann
Posts: 74
Joined: Wed Apr 20, 2011 6:24 pm

File not installed

I hope I can explain this properly:

We changed a dll quite dramatically in a version of our software.
With an older version of our software installed, we now run the installer of the new version which runs with the options "Automatically upgrade older product versions" and "Uninstall old version first and then install new version"

The result though is that this one specific file is missing from the program folder after the installation is finished. I can see it though in the Roaming Folder during the installation process.

Running the same installer without a previous version installed, the file gets installed properly.

Is there anything I can check why this might happen?

Thanks
Markus
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: File not installed

Hello Markus,

This may happen if the related DLL has a lower file version in the new setup version than in the old setup version. In this case, due to a Windows Installer bug, during upgrade the DLL will be only removed but not installed.

To avoid this situation it is recommended to have a greater file version in the new setup than in the old setup. Howeve, if this is not possible you can use our "Always overwrite existing file" option on the related DLL in "Files and Folders" page.

If you have any question just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mheckmann
Posts: 74
Joined: Wed Apr 20, 2011 6:24 pm

Re: File not installed

Hi Daniel,

Setting "Always overwrite existing file" solved it.
Thank you very much!
Markus
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: File not installed

You're always welcome Markus.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”