Won't the windows installer have a file lock on the log file until the
installation is complete?

So you are looking at doing it in a bootstrapper of some sort or maybe just
specify where you want the log file in the first place with /l.

Dave

-----Original Message-----
From: Thai-Hoa Nguyen [mailto:[email protected]] 
Sent: 18 March 2011 18:46
To: [email protected]
Subject: [WiX-users] How to copy log file


Hello...
 
MsiLogFileLocation has the location of the log file.  I am unable to create a
custom action to copy the log file when the installation is complete.
 
<Custom Action="CopyLog" Before="InstallFinalize">NOT Installed</Custom> 
<CustomAction Id="CopyLog" Directory="ROOTLOCATION" ExeCommand="xcopy
[MsiLogFileLocation] [ROOTLOCATION]installlog.txt" Execute="deferred"
Return="check" />
 
What is a good way to copy the log file to a desired location when the
installation is complete?  Thank you.                                     
-----------------------------------------------------------------------------
-
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to