我正在将文件安装到\MyApp。我想将其中一些文件添加到GAC中。我如何引用文件元素(将程序集设置为.net)的源属性中的安装位置来获得它?
编辑>>>
我只是想澄清几件事。
使用WiX3生成msi所添加的dll是一个.net dll
上面代码段位于单独的目录和组件中
我想添加一个新的file元素,以便将文件添加到GAC
发布于 2009-07-04 04:30:21
WiX.chm非常清楚。要将文件添加到GAC,请使用Assembly属性。在您的示例中,您需要文件/@Attribute=“.net”。
发布于 2009-07-07 17:40:28
我假设您正在尝试在本地安装GAC,并将其添加到.NET中。以下是一些博客文章,可能会帮助您使用WiX实现这一点:
Installing an assembly to the GAC and the local file system
Additional info about installing an assembly to the GAC and the local file system
https://stackoverflow.com/questions/1081254
复制相似问题