This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How can I add assemblies to the GAC with InstallScript?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 01, 2011
08:39 AM
How can I add assemblies to the GAC with InstallScript?
Hello,
I want to install a .net application which uses a couple of DLLs in the same folder as the exe.
I would like to put the DLLs in the Global Assembly Cache to clean up the program folder, but there is no such option in the Destination browser (as is provided in an installscript msi project).
How can I add these DLLs to the GAC with Installscript? The InstallShield help does not mention any such functions..
Thank you for your help!
Christian S
I want to install a .net application which uses a couple of DLLs in the same folder as the exe.
I would like to put the DLLs in the Global Assembly Cache to clean up the program folder, but there is no such option in the Destination browser (as is provided in an installscript msi project).
How can I add these DLLs to the GAC with Installscript? The InstallShield help does not mention any such functions..
Thank you for your help!
Christian S
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 01, 2011
08:49 AM
Just found this:
Private Assemblies
* Are Installed within the same directory structure as the application (.exe).
* Private assemblies cannot be installed to the GAC.
* Are referenced by the simple name to find the assembly.
So i guess they have to be in the same directory?
Private Assemblies
* Are Installed within the same directory structure as the application (.exe).
* Private assemblies cannot be installed to the GAC.
* Are referenced by the simple name to find the assembly.
So i guess they have to be in the same directory?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 02, 2011
02:26 AM
Hmm. I'm not sure but apparently InstallScript doesn't support installing to GAC.
http://community.flexerasoftware.com/showthread.php?t=184225
http://community.flexerasoftware.com/showthread.php?t=184225
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)