Search code examples
.netgacinstallshieldinstallscript

How do you add a DLL to the GAC from an InstallScript Project in InstallShield?


How do you add a DLL to the GAC from an InstallScript Project in InstallShield? I tried added [GLOBALASSEMBLYCACHE] as a destination to the component, with no luck. It tells me that is not valid data for the destination.


Solution

  • An install script only project has no way of putting a file in the GAC. You need an install script MSI project. I ended up creating a separate windows installer and using LauchAppAndWait from install shield to run it. Pretty much a hack because I didn't want to switch to an MSI project.