PS: I get things wrong sometimes so feel free to correct me when you find documentation that contradicts my memory. :)
On Thu, Mar 15, 2012 at 11:13 AM, Chad Petersen <chad.peter...@harlandfs.com > wrote: > I was also going to point out that Rob already responded with the same > info and you don't get much more "WiX Team" than that. > > -----Original Message----- > From: Wilson, Phil [mailto:phil.wil...@invensys.com] > Sent: Thursday, March 15, 2012 11:07 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Setting MsiLogFileLocation property > > Given that WiX generates MSI files and the MSI MSDN docs say you can't set > it, and my testing also indicates that you can't set it, I don't see how > you could expect a different answer from the WiX Team! It's nothing to do > with WiX, or InstallShield or any other tool that generates MSI files. > Setting log file location is something you do on the command line to the > install or equivalent (MsiInstallProduct parameter). > > Phil W > > -----Original Message----- > From: Alec Swan [mailto:alecs...@gmail.com] > Sent: Thursday, March 15, 2012 10:44 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Setting MsiLogFileLocation property > > Phil, thank you for sharing your experience. > > I would like to keep this thread active until we get a definite answer > from the WIX team. Whether it is "You can't enable MSI logging in the > current version of WIX but will be available in version x.x" or "This > is how you do this ..." - it will still be very helpful. > > Thanks, > > Alec > > On Thu, Mar 15, 2012 at 11:32 AM, Wilson, Phil <phil.wil...@invensys.com> > wrote: > > You can't set MsiLogFileLocation, as the MSDN docs pretty much say. You > can try to set it but it's ineffective. If you set it in the property table > it just gets overwritten. If you set it with a type 51 it just gets ignored. > > > > Phil W > > > > -----Original Message----- > > From: Alec Swan [mailto:alecs...@gmail.com] > > Sent: Thursday, March 15, 2012 10:09 AM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Setting MsiLogFileLocation property > > > > Adam, > > > > This post indicates that it is possible to set MSI property from WIX: > > > http://blogs.technet.com/b/alexshev/archive/2009/05/16/from-msi-to-wix-part-23-dll-custom-actions-logging-and-setting-properties.aspx > > > > If this is true, shouldn't I be able to use this approach to set some > > kind of MSI property to force logging and/or configure location of the > > log file? > > > > Enabling logging seems to be a pretty common question on the WIX > > forum, can we have WIX team to provide a recommendation on how to do > > this? > > > > Thanks, > > > > Alec > > > > On Thu, Mar 15, 2012 at 10:54 AM, Adam Kadzban > > <mightyshorta...@gmail.com> wrote: > >> Alec, > >> > >> As far as I know, you can't set the log file location inside WIX because > >> you need to tell msiexec where to write the log file to before actually > >> starting the MSI. You need some sort of bootstrapper that calls msiexec > >> with the logging options. I've used IExpress in the past, but I think > I'll > >> be switching to dotNetInstaller soon. > >> > >> -Adam > >> > >> On Thu, Mar 15, 2012 at 11:43 AM, John Cooper <jocoo...@jackhenry.com > >wrote: > >> > >>> I've seen the same bugs CP has seen. I've got it set in my installers, > >>> but only because CD demands it. Setting it causes a fair number of > install > >>> failures, particular in install/repair/uninstall cycles. > >>> > >>> -- > >>> John Merryweather Cooper > >>> Build & Install Engineer - ESA > >>> Jack Henry & Associates, Inc.® > >>> Shawnee Mission, KS 66227 > >>> Office: 913-341-3434 x791011 > >>> jocoo...@jackhenry.com > >>> www.jackhenry.com > >>> > >>> > >>> > >>> > >>> -----Original Message----- > >>> From: Alec Swan [mailto:alecs...@gmail.com] > >>> Sent: Thursday, March 15, 2012 11:30 AM > >>> To: General discussion for Windows Installer XML toolset. > >>> Subject: Re: [WiX-users] Setting MsiLogFileLocation property > >>> > >>> The following thread implied that the file log location can be set > through > >>> MsiLogFileLocation property in WIX: > >>> > >>> > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Msi-Logging-td707004.html#a707011 > >>> > >>> But it sounds like Rob is saying this is not possible. > >>> > >>> So, how can I reliably enable MSI logging programmatically in WIX code > and > >>> ideally set the location of the log file? We need to support Windows > XP SP2 > >>> and higher. > >>> > >>> Thanks, > >>> > >>> Alec > >>> > >>> On Thu, Mar 15, 2012 at 10:05 AM, Christopher Painter < > chr...@iswix.com> > >>> wrote: > >>> > I don't know if this is common knowledge but I don't set the > >>> > MsiLogging property anymore. There' s a known bug in Windows 7 where > >>> > Explorer / Shell can lose reference to the installer log file > location > >>> > and it causes the installer to crash out. It can manifest itself > on > >>> > uninstall which means you are stuck unless you run the uninstall > from > >>> > the command line passing in an explicit path. > >>> > > >>> > ---------------------------------------- > >>> > > >>> > From: "Rob Mensching" <r...@robmensching.com> > >>> > > >>> > Sent: Thursday, March 15, 2012 11:02 AM > >>> > > >>> > To: "General discussion for Windows Installer XML toolset." > >>> > <wix-users@lists.sourceforge.net> > >>> > > >>> > Subject: Re: [WiX-users] Setting MsiLogFileLocation property > >>> > > >>> > > >>> > I don't think you can set the log file using MsiLogFileLocation. I > >>> > think it > >>> > > >>> > *gets* set to the log file location. You can force your package to > >>> > require > >>> > > >>> > MSI 4.0 by setting the Package/InstallerVersion attribute. > >>> > > >>> > > >>> > On Wed, Mar 14, 2012 at 9:10 PM, Alec Swan <alecs...@gmail.com> > wrote: > >>> > > >>> > > >>> >> Hello, > >>> > > >>> >> > >>> > > >>> >> I need to enable verbose logging and configure MSI log file > location. > >>> > > >>> >> I am currently doing this by adding the following properties inside > >>> >> of > >>> > > >>> >> my .wxs file: > >>> > > >>> >> <Wix> > >>> > > >>> >> <Product> > >>> > > >>> >> <Property Id="LOGVERBOSE">1</Property> > >>> > > >>> >> <Property Id="MsiLogFileLocation">x:/WIX/wix-msi.log</Property> > >>> > > >>> >> ... > >>> > > >>> >> > >>> > > >>> >> Is this the right place for these properties? > >>> > > >>> >> > >>> > > >>> >> If so, then I am assuming that the reason why they are not taking > >>> > > >>> >> effect is that the MSI version our Wix project is using is lower > than > >>> > > >>> >> 4.0 and does not support MsiLogFileLocation property. Where do I > >>> > > >>> >> update the MSI version in my WIX project? > >>> > > >>> >> > >>> > > >>> >> Thanks, > >>> > > >>> >> > >>> > > >>> >> Alec > >>> > > >>> >> > >>> > > >>> >> > >>> > > >>> >> > >>> > > ---------------------------------------------------------------------- > >>> > ------ > >>> > -- > >>> > > >>> >> This SF email is sponsosred by: > >>> > > >>> >> Try Windows Azure free for 90 days Click Here > >>> > > >>> >> http://p.sf.net/sfu/sfd2d-msazure > >>> > > >>> >> _______________________________________________ > >>> > > >>> >> WiX-users mailing list > >>> > > >>> >> WiX-users@lists.sourceforge.net > >>> > > >>> >> https://lists.sourceforge.net/lists/listinfo/wix-users > >>> > > >>> >> > >>> > > >>> > > >>> > -- > >>> > > >>> > virtually, Rob Mensching - http://RobMensching.com LLC > >>> > > >>> > > ---------------------------------------------------------------------- > >>> > ------ > >>> > -- > >>> > > >>> > This SF email is sponsosred by: > >>> > > >>> > Try Windows Azure free for 90 days Click Here > >>> > > >>> > http://p.sf.net/sfu/sfd2d-msazure > >>> > > >>> > _______________________________________________ > >>> > > >>> > WiX-users mailing list > >>> > > >>> > WiX-users@lists.sourceforge.net > >>> > > >>> > https://lists.sourceforge.net/lists/listinfo/wix-users > >>> > > >>> > > >>> > > ---------------------------------------------------------------------- > >>> > -------- > >>> > This SF email is sponsosred by: > >>> > Try Windows Azure free for 90 days Click Here > >>> > http://p.sf.net/sfu/sfd2d-msazure > >>> > _______________________________________________ > >>> > WiX-users mailing list > >>> > WiX-users@lists.sourceforge.net > >>> > https://lists.sourceforge.net/lists/listinfo/wix-users > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> This SF email is sponsosred by: > >>> Try Windows Azure free for 90 days Click Here > >>> > http://p.sf.net/sfu/sfd2d-msazure_______________________________________________ > >>> WiX-users mailing list > >>> WiX-users@lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/wix-users > >>> NOTICE: This electronic mail message and any files transmitted with it > are > >>> intended > >>> exclusively for the individual or entity to which it is addressed. The > >>> message, > >>> together with any attachment, may contain confidential and/or > privileged > >>> information. > >>> Any unauthorized review, use, printing, saving, copying, disclosure or > >>> distribution > >>> is strictly prohibited. If you have received this message in error, > please > >>> immediately advise the sender by reply email and delete all copies. > >>> > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> This SF email is sponsosred by: > >>> Try Windows Azure free for 90 days Click Here > >>> http://p.sf.net/sfu/sfd2d-msazure > >>> _______________________________________________ > >>> WiX-users mailing list > >>> WiX-users@lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/wix-users > >>> > >> > ------------------------------------------------------------------------------ > >> This SF email is sponsosred by: > >> Try Windows Azure free for 90 days Click Here > >> http://p.sf.net/sfu/sfd2d-msazure > >> _______________________________________________ > >> WiX-users mailing list > >> WiX-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > > This SF email is sponsosred by: > > Try Windows Azure free for 90 days Click Here > > http://p.sf.net/sfu/sfd2d-msazure > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > *** Confidentiality Notice: This e-mail, including any associated or > attached files, is intended solely for the individual or entity to which it > is addressed. This e-mail is confidential and may well also be legally > privileged. If you have received it in error, you are on notice of its > status. Please notify the sender immediately by reply e-mail and then > delete this message from your system. Please do not copy it or use it for > any purposes, or disclose its contents to any other person. This email > comes from a division of the Invensys Group, owned by Invensys plc, which > is a company registered in England and Wales with its registered office at > 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). > For a list of European legal entities within the Invensys Group, please go > to http://www.invensys.com/en/legal/default.aspx. > > > > You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail > recept...@invensys.com. This e-mail and any attachments thereto may be > subject to the terms of any agreements between Invensys (and/or its > subsidiaries and affiliates) and the recipient (and/or its subsidiaries and > affiliates). > > > > > > > > > ------------------------------------------------------------------------------ > > This SF email is sponsosred by: > > Try Windows Azure free for 90 days Click Here > > http://p.sf.net/sfu/sfd2d-msazure > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > *** Confidentiality Notice: This e-mail, including any associated or > attached files, is intended solely for the individual or entity to which it > is addressed. This e-mail is confidential and may well also be legally > privileged. If you have received it in error, you are on notice of its > status. Please notify the sender immediately by reply e-mail and then > delete this message from your system. Please do not copy it or use it for > any purposes, or disclose its contents to any other person. This email > comes from a division of the Invensys Group, owned by Invensys plc, which > is a company registered in England and Wales with its registered office at > 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). > For a list of European legal entities within the Invensys Group, please go > to http://www.invensys.com/en/legal/default.aspx. > > You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail > recept...@invensys.com. This e-mail and any attachments thereto may be > subject to the terms of any agreements between Invensys (and/or its > subsidiaries and affiliates) and the recipient (and/or its subsidiaries and > affiliates). > > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users