Ok, after some experiments: The copy file is like this: CustomActionSchedule(Action=CopyFile,ActionType=3073,Source=BinaryData,Target=CAQuietExec,CustomActionData="cmd.exe" /c copy "C:\Program Files\OURCOMPANY\OURPRODUCT\OURFILE.exe" "C:\OURSTUFF\[LogonUser]\ADIRECTORY\\")
And now since I added InstallScope="perMachine" the LogonUser on XP gets set to SYSTEM instead of the user name. And this is why things fail on XP. On Win 7 this is not a problem. The LogonUser stays as the user name. How to fix this? On 02/06/2014 05:41 PM, Gerry Reno wrote: > I now have this half-way working. > > Installing on Windows 7 w/UAC succeeds > Installing on Windows XP fails > > In .wxs: > InstallScope="perMachine" > InstallPrivileges="elevated" > > CopyFile is setup in an immediate property and then executed deferred > without impersonation. > > > XP Install Log Error: > > Executing op: > CustomActionSchedule(Action=CopyFile,ActionType=3073,Source=BinaryData,Target=CAQuietExec,CustomActionData="cmd.exe" > /c > copy "C:\Program Files\OURCOMPANY\OURPRODUCT\OURFILE.exe" > "C:\OURSTUFF\ADIRECTORY\\") > MSI (s) (88:B8) [17:22:38:307]: Invoking remote custom action. DLL: > C:\WINDOWS\Installer\MSI5B4C.tmp, Entrypoint: > CAQuietExec > CAQuietExec: Access is denied. > CAQuietExec: 0 file(s) copied. > CAQuietExec: Error 0x80070001: Command line returned an error. > CAQuietExec: Error 0x80070001: CAQuietExec Failed > Action ended 17:22:38: InstallFinalize. Return value 3. > MSI (s) (88:68) [17:22:38:447]: User policy value 'DisableRollback' is 0 > > Is there something else I need to do for the Windows XP installs? > > > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users