Re: [WiX-users] Not able to copy a file using CopyFile from installers install location to a target destination

2014-02-23 Thread Suvrajyoti Panda
Hi Phil, Thanks for the suggestion. I have modified my wix source file as below to use SourceDir in the Source attribute of File: Directory Id='TARGETDIR' Name='SourceDir' Directory Id='EnergySolutions' Name=Energy Solutions International Directory Id='TORT'

[WiX-users] Not able to copy a file using CopyFile from installers install location to a target destination

2014-02-21 Thread Suvrajyoti Panda
Hi All, I have the requirement of creating an installer that on executing will install to the location C:\Energy Solutions International\PipelineOptimizer 6.0.0 the following 5 directories: db,data,engine,security, gui. These five directories are being harvested from a location using Heat.

Re: [WiX-users] Not able to copy a file using CopyFile from installers install location to a target destination

2014-02-21 Thread John Cooper
You're trying to copy to a privileged location. You need to either be installing perMachine or you need to elevate and have an installing user with Administrator privileges. An unprivileged user can't install or copy to C:\Program Files ordinarily. -- John Merryweather Cooper Build Install

Re: [WiX-users] Not able to copy a file using CopyFile from installers install location to a target destination

2014-02-21 Thread Phil Wilson
If you're doing an install time copyfile from the install location of the MSI to a location on the system you need a copyfile that has something like SourceDir as the source of the copy and EnergySolutions as the destination. --- Phil Wilson On Fri, Feb 21, 2014 at 8:10 AM, John