Shared dll - Advanced Installer Community
John.Maher
Posts: 2
Joined: Fri Nov 18, 2016 10:12 pm

Shared dll

Hello

I am new to Advanced Installer, it seems pretty powerful but I am having difficulties determining if we can use it. I am using version 13.4 on Windows 7 using Visual Studio Professional 2015 and SQL Server 2016.

I have an app that uses some dlls. I need those dlls to go to a folder other than the install folder because they are used by other applications. This rules out "ClickOnce." It sounds like this tool can do the job but I can not find any clear instructions.

According to http://www.advancedinstaller.com/user-g ... blies.html I'm supposed to use the "Add Assembly" button on the toolbar. There is no such button. I was, however, able to add dlls to the "Files and Folders" and put them in the common files folder. This worked but they were not registered in the GAC. The next place, http://www.advancedinstaller.com/user-g ... ation.html, I looked was giving me several problems. First off it mentions an "Assembly Page" which does not seem to exist in my version. Secondly it mentions that "This dialog appears only if multiple assembly files are selected to be added at once." The dialog does have the option to install to the GAC. So how can I set this option if I don't have an "Assembly Page" and have to add the dlls one at a time?

I have been using the version that appears under the start menu. There is also a version that is accessible from Visual Studio. I didn't use that one because it differs from the instructions even more that the stand alone does. I can use either one, I don't care which as long as it works.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Shared dll

Hello John and welcome to Advanced Installer forums,

To install an assembly, here is what you need to do:
  • Add your assemblies in the Files and Folders page
  • Go to the Assemblies page to add you assemblies
To add an assembly, you can use the [ Add Assembly... ] toolbar button, the “Add Assembly...” context menu item or press the Insert key while the left pane is focused. A File Picker Dialog dialog will appear, where you can choose a file to add.

After you added the assembly, you can edit the assembly properties.

Note that the Assemblies feature is available starting with the Professional edition of Advanced Installer. Please make sure that your project is at least of Professional project type. You can check the project type as you can see in the video.
There is also a version that is accessible from Visual Studio.
Advanced Installer comes packed with a Visual Studio extension to help you create and manage installers for your solutions directly from Visual Studio. The Visual Studio Tutorials will help you understand how Advanced Installer and Visual Studio can interact.

As a side note, starting with version 13.4 of Advanced Installer, the VS extension can be installed independently from the Advanced Installer setup package. You can download the extension from the Visual Studio Marketplace or from our website.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”