Hello,
I am using AI 12.7.1. As part of my installation project I have a dll that is configured to Self Register. When I run the installation, the DLL is not being registered. The dll is being written to a directory that is different than that of the executable that makes calls to the dll. If I manually copy the dll to the same location as the executable, the dll is found. As best as I can tell is that in Advanced Installer, when I look at the Registry entry for the dll, there is no "CodeBase" entry. For example, when I look at another Advanced Installer project that registers a dll, I see the following entries under "InprocServer32":
- Assembly
- Class
- CodeBase
- RuntimeVersion
It seems Advanced Installer uses the CodeBase entry at installation time to set the location in the Registry to where the dll is installed. I've attached a zip file that contains the following screenshots:
Screens 1 - 3 show information in a project that installs a dll and self registering the dll THAT IS WORKING!
screen1.png - dll Registration information
screen2.png - dll AI Registry information... notice the "CodeBase" entry.
screen3.png - Assembly information
Screens 4 - 7 show information in a project that installs a dll and self registering the dll that is NOT WORKING!
screen4.png - dll Registration information.
screen5.png - dll AI Registry information... notice there is no "CodeBase" entry.
screen6.png - additional AI Registry information of the dll being installed.
screen7.png - Assembly information of the dll being installed. Notice, rather than a GUID, the dll name is displayed.
What must I do to add a dll to my Advance Installer project so that when it is installed it will get registered so that the dll does not have be reside in the same location as the calling executable.
Thanks in advance,
Todd
FOLLOW US
Get the latest news in Application Packaging