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

Reply via email to