I'd like to be able to put this in the markup within the directory tag, and 
then let WiX's magic decide how that is implemented;  This way the log is 
available and in a known location to the application for error reporting and 
troubleshooting by anyone, and there's no risk of it getting deleted.

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Thursday, September 29, 2011 3:23 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Request for comment: Where to put Burn log files.

I need your opinion.

Currently Burn logs to the %TEMP% folder by default (you can override it with 
the -log/-l switch). This is great because most people expect this sort of 
temporary data to live in the log file and Windows provides built in mechanisms 
to clean out the %TEMP% folder should it get "big".

Unfortunately, Windows Server clears out the %TEMP% folder on reboot. This 
makes %TEMP% a really bad place to store log files if your bundle requires a 
reboot for any reason.

So, I need a new location to put log files. The best idea I've had thus far is 
to create a new folder in %LOCALAPPDATA%\Logs and put log files there.
This folder will be persisted over reboots but doesn't have any built in way to 
be cleaned out (the user would have to figure it out, or install a WiX disk 
clean up wizard extension that does not yet exist <smile/>).

Does anyone have better ideas? Any proposed solution needs to work on
WinXP-SP2+.

--
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security threats, 
fraudulent activity and more. Splunk takes this data and makes sense of it. 
Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to