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
- :
- Regasm and Gacutil
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Dec 26, 2008
05:03 PM
Regasm and Gacutil
For 3 dll files in my installer, I have a requirement that tells:
Not sure what I need to do anything for this? Would InstallShield take care of it automagically somehow? Can someone advise please?
Thanks!
Register for COM in order to use the assemblies. This can be done with the command line tool regasm.exe, but, if possible, should be done within the installer as regasm is not redistributable.
Add to the Global Assembly Cache in order for COM to locate the assemblies. This can be done with the command line tool gacutil.exe, but, if possible, should be done within the installer as gacutil is not redistributable.
Not sure what I need to do anything for this? Would InstallShield take care of it automagically somehow? Can someone advise please?
Thanks!
(2) Replies
‎Dec 29, 2008
06:09 PM
For Windows Installer projects (Basic MSI and InstallScript MSI), each component contained in the project has a .NET COM Interop setting. Setting this option to Yes will run regasm.exe against the component's keyfile at build and import the registry information into the built installation. If the destination for the component is [GlobalAssemblyCache], the /codebase parameter is passed as needed to regasm.exe at build time.
‎Dec 30, 2008
05:35 PM
Great, thanks very much.