[wix-users] MSI logging

Fyodor Koryazhkin fyodorkor at gmail.com
Tue May 29 10:52:29 PDT 2018


Hi,
The option !
"!" is very helpful for debugging purposes of custom actions. Some times
attaching the debugger is not possible, then your custom action writes to
log as many time as you want. Without "!" option these lines could be
messed up with regular log writing. Also you can pop up the message box in
custom action and then your log file shows exact location where pop up
occurs.

On Tue, May 29, 2018 at 11:50 AM Christopher Painter via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> FWIW, I've needed "!"  one time in 15 years.  An installer engineer sent a
> log file my way that ended abruptly without any errors. It simply mentioned
> creating a restore snapshot and that was the end of it.
>
>
> Adding the "!" revealed that a custom action (no surprise really)  had
> actually started and crashed so hard that it took msiexec down with it.  A
> transform was created to bypass this custom action and everything went fine
> after that.
>
>
>
> ________________________________
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Rob
> Mensching via wix-users <wix-users at lists.wixtoolset.org>
> Sent: Monday, May 28, 2018 11:06 AM
> To: WiX Toolset Users Mailing List
> Cc: Rob Mensching
> Subject: Re: [wix-users] MSI logging
>
> "!" means flush after every log write. It is extremely expensive.
>
> _____________________________________________________________
>  Short replies here. Complete answers over there:
> http://www.firegiant.com/
> WiX Support | WiX Experts and Resources from FireGiant<
> http://www.firegiant.com/>
> www.firegiant.com
> WiX Support | Installation, Development, Deployment | WiX Experts and
> Resources from FireGiant
>
>
>
>
> -----Original Message-----
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of
> Fyodor Koryazhkin via wix-users
> Sent: Monday, May 28, 2018 2:28 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Fyodor Koryazhkin <fyodorkor at gmail.com>
> Subject: [wix-users] MSI logging
>
> Hi,
> I have noticed that specifying + (attach to existing file) option along
> with ! (flash each line immediately) option in log file increases
> installation time dramatically. (up to 10 times).
>
> Is it bug in MSI engine or it works by design this way?
>
> This is quite critical issue for us - we run several installations
> consecutive and want to keep all logging in one place. Also it is important
> to have hundred percent match in timing for trouble shouting because !
> option writes down actions as they are performed.
>
> --
> Regards,
> Fyodor Koryazhkin..
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


-- 
Regards,
Fyodor Koryazhkin..



More information about the wix-users mailing list