The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

dropping dlls to the Global Assembly Cache

stealth
By
Level 3
hi,
i want to drop some dlls to the Global Assembly Cache. i am using AdminStudio 8 and am wondering what is the best way\practice to do this so that the Msiassembly and MsiAssemblyName tables get populated correctly?

if i just create the gac directory structure with the GUI and then drop in the dlls does installshield populate this tables correctly or what?

i am hoping for a how to\best practice kind of thing here if possible in dealing with the GAC!
(2) Replies

Cary_R
By
Level 11
The best way to handle this would be to populate the MsiAssembly* tables, and set the component to a destination of [GlobalAssemblyCache].

Recreating the file structure will most likely not work. Plus, the fusion.dll shell extension intentionally makes this type of task difficult--Microsoft generally wants fusion to handle all interaction with the GAC.

Neeru
By
Level 4
Open your Project in Editor & try the following:

1. Go to Files & Folders under Application Data and select the [GlobalAssemblyCache] folder from the Pre-defined folder list
2. Add your .Net Assembly under this folder
3. Behind the scenes, the appropirate component will be created with the attributes set
4. When you build your project, Editor will extract Assembly information and populate the respective MsiAssembly tables.

This is all you really need to do. If it does not work, then you may want to try looking at the following troubleshooting article: http://support.installshield.com/kb/view.asp?articleid=Q111094