DLL is missing after install - Advanced Installer Community
aho
Posts: 58
Joined: Thu Jul 21, 2016 4:38 pm

DLL is missing after install

Hi,
in my setup wizard needs to copy the same file in two directories.
Currently I have the problem, that (sometimes) the file is missing in both directories.

I could not find the reason in the verbose log.
Wile searching the forum I found this post ( viewtopic.php?t=19995#p48453 ):
The recommended approach to installing a file only if it doesn't already exist on the target machine involves implementing the following steps in your Advanced Installer project:
- add a search for the file in the Search page
- condition the file's component in the Organization page using the search name
:?:
  • In my AI Project i have added the file twice. Might this be the problem?
  • Is there anything else I could check?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: DLL is missing after install

Hi,

Please read the "Why do one or more files disappear after an upgrade is performed" FAQ that may respond exactly to your problem.

If it does not help, please send me your project and a verbose log of an installation that removed your DLL files, so I can investigate them. You can send them to support at advancedinstaller dot com.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aho
Posts: 58
Joined: Thu Jul 21, 2016 4:38 pm

Re: DLL is missing after install

Hi Eusebiu,
Thanks for the reply!
Indeed the missing file has the same file version. I will check the versioning.

One other question: Do you have more information on why it is not recommended to install the same file twice in different directories?
The programm I am installing needs the same file in two different directories.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: DLL is missing after install

Hi,

There is no problem in installing the same file to multiple directories, there is no recommendation against this. The problem that you most likely encounter is when you set a lower version for a file in your package when you create a new version of your product. For example:
  • Product version: 1.0.0
    File "app.exe" has version 5.0.0

    Product version: 2.0.0
    File "app.exe" has version 3.0.0
The above scenario is not recommended because it causes the removal of the "app.exe" file during the upgrade.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”