Search code examples
wixwindows-installerparaffin

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


Solution

  • Just had to run the command line as administrator.