PDA

View Full Version : Only one primary output gets shared dll



Lipoly
09-15-2010, 01:40 PM
(Using InstallShield 2011 Basic MSI Project)

When multiple projects reference a single assembly, and the projects' primary outputs are added to different directories in the setup project, the referenced assembly is placed in only one of the folders. Another way to explain it:

Situation:
Project A references MyLibrary.dll
Project A's primary output is added to the base installation directory.

Project B references MyLibrary.dll
Project B's primary output is added to a subdirectory of the installation.

Problem:
MyLibrary.dll is placed in only Project A OR Project B's directory, not both as I would expect.

MyLibrary.dll shows in both primary output's "Dependencies from scan at build..." dialog box, so it recognized there is a dependency.

emissary989
03-04-2011, 02:55 PM
I have this exact same problem. Is there a resolution for this? For now, the only way I've found to do this is to turn off dependency checking on all the .NET assemblies and then manage the dependency file addition manually.

emissary989
03-11-2011, 03:33 PM
Anyone from Flexera have a solution for this? Thanks!

Geotinc
01-22-2014, 07:35 AM
Hello,

I have exactly the same problem with Installshield 2013.

How can I solve it ?

Please it is urgent.

Thanks in advance.

Regards,
Geotinc

cada0310
02-10-2014, 01:13 PM
Exact same problem here with VS 2013 premier.

Anyone have any ideas?