rkulp
Posts: 48
Joined: Mon Feb 26, 2007 10:50 pm

DLL Fails to Install But Installs on Repair

I have created a mixed 32-bit/64-bit installation which has an interesting problem. After installation the program fails to load because one of the DLLs is missing. If the installation package is run again and the "repair" option is chosen, the dll is loaded and everything works fine thereafter. I have been unable to find that on this forum, possibly because every pair of keywords I choose leads to the same result -- too many common words. Anyway, is this a common occurrence and what can I do to solve it?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: DLL Fails to Install But Installs on Repair

Hello,

This may happen due to a well known Windows Installer bug. Can you please enable the "Always overwrite existing file" option, from "File Operations Tab", for the related dll and see if the behavior still persist?

Also, you can take a look on our "Files deleted from GAC after upgrade on Win XP" thread which debates a similar issue.

Let us know if this helps, otherwise please give us more details about your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rkulp
Posts: 48
Joined: Mon Feb 26, 2007 10:50 pm

Re: DLL Fails to Install But Installs on Repair

Thanks for the quick reply. You pointed me to what I think is the problem and solution. In checking the version I noted that I had erroneously changed its version instead of the file immediately below it. I changed the version back to the proper value and also check the overwrite box as you suggested. I think it was the version number and will test it without the overwrite checked as time permits.

Return to “Common Problems”