Question

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: Access 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

Was it helpful?

Solution 2

Just had to run the command line as administrator.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top