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

Reply via email to