简体   繁体   中英

Adding assemblies to the GAC from Inno Setup

Until recently we were using Inno Setup for our installations, something I would like to continue doing, unless we can get an uninstall option in the start menu (thanks Giovanni Galbo), however we now need to GAC some external libraries, something I suspect is only doable (or at least only supported) though the .NET Setup Project.

Is it possible to call a GAC'ing library from another setup application?

According to http://jrsoftware.org/files/is5-whatsnew.htm you should be able to do it with v5.3 and above

Added .NET support (these cause an internal error if used on a system with no .NET Framework present):

 * Added new [Files] section flag: gacinstall. * Added new [Files] section parameter: StrongAssemblyName. * Added new constants: {regasmexe}, {regasmexe32}, {regasmexe64}.

Not sure about library, but you can call gacutil.exe to install/uninstall assemblies.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM