I would favor a property which can be tweaked.
My applications that are installed all use their own logging folder, so it only 
makes sense to me that the installer logs are stored her as well. My 
applications have a special support tool which collects all sort of data for 
customer support, including the logdata.
At present I always start the MSIExec with logging to a specific log folder 
(Somewhere like %LOCALAPPDATA%\[MANUFACTER]\[PRODUCTNAME]\Logs) from my 
bootstrapper. The bootstrapper logs (when enabled) are stored in 
%LOCALAPPDATA%\[MANUFACTER]\<General name for bootrstrapper>\Logs.

Hope this helps :)

Regards,

Albert van Peppen


> Burn does provide a Variable (WixBundleLog) that points to the log location.
> There is no "directory tag" so I'm not sure what you are referring to.
>
> Ideally, I want a single location where logs are placed so that we can
> easily ask people, "Please send us the logs from folder X" to start
> debugging. Having every bundle put logs in a unique location will make life
> more difficult.
>
> On Thu, Sep 29, 2011 at 2:27 PM, John Bergman <
> john.berg...@xpedienttechnologies.com> wrote:
>
> > 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 of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to