简体   繁体   English

从 Inno Setup 向 GAC 添加程序集

[英]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.直到最近我们还在使用 Inno Setup 进行安装,我想继续这样做,除非我们可以在开始菜单中获得卸载选项(感谢 Giovanni Galbo),但是我们现在需要 GAC 一些外部库,我怀疑是通过 .NET 设置项目仅可行(或至少仅受支持)。

Is it possible to call a GAC'ing library from another setup application?是否可以从另一个设置应用程序调用 GAC 库?

According to http://jrsoftware.org/files/is5-whatsnew.htm you should be able to do it with v5.3 and above根据http://jrsoftware.org/files/is5-whatsnew.htm您应该可以使用 v5.3 及更高版本进行操作

Added .NET support (these cause an internal error if used on a system with no .NET Framework present):添加了 .NET 支持(如果在不存在 .NET 框架的系统上使用这些会导致内部错误):

 * 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.不确定库,但您可以调用gacutil.exe来安装/卸载程序集。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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