Venkat S. Rao
Venkat S. Rao

Reputation: 1110

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

Upvotes: 1

Views: 666

Answers (2)

Venkat S. Rao
Venkat S. Rao

Reputation: 1110

Just had to run the command line as administrator.

Upvotes: -1

Christopher Painter
Christopher Painter

Reputation: 55581

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.

Upvotes: 4

Related Questions