How to Add Global Assembly Cache to MSI
Method 1:
Add to MSIAssembly, MSIAssemblyName Table
How to Add .NET assemblies ( Global Assembly Cache )with WisePackageStudio ?
Step 1: Add the below key to registry to view GAC in Folder view.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion]
"DisableCacheViewer"=dword:00000001
Step 2: Open MSI with WFWI,Change application type to Mixed (.NET and Win32)
Step 3: Go to Installation Expert,Files Section>Add all the folder which has
your GAC entries to Global Assembly Cache Folder.
Your entries will be present in MSIAssembly, MSIAssemblyName Table
Method 2:
Use Regasm and GACUtil Command in CustomAction to Install the assembly.
Commandline to install:
regasm [path]abc.dll
gacutil /i [path]abc.dll
Commandline to uninstall:
regasm /unregister [path]abc.dll
gacutil /u [path]abc .dll
The Endpoint Management Community Blog is the perfect place to share short, timely insights including product tips, news and other information relevant to the Endpoint Management community. Any authenticated Connect member can contribute to this blog.