开发者

WIX Paraffin inside Program files directory

I am new to WIX and I am trying to create a component from within the Program Files directory in Windows. In the Command line I cd to C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies then I run the command

paraffin -dir ./ -custom GlobalSoftware globalsoftware.wxs -g.

Here i get a System.UnauthorizedAccessException: A开发者_StackOverflowccess to the path 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies' is denied. i get the same exception when I am logged in as an administrator.

How can I get around this problem?

Thank You,

Venkat Rao


Paraffin is not a part of WiX, it's written by John Robbins and you should contact him for support or look through the available source code.

As far as getting around it, I'd think that if you are trying to harvest the dependency of your project you could just set CopyLocal=true and then find the dll in the same output directory as your dll and try harvesting it from there.


Just had to run the command line as administrator.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜