[wix-users] Write custom message in WIX log file

Rob Mensching rob at firegiant.com
Fri Jul 20 10:48:55 PDT 2018


You want: https://docs.microsoft.com/en-us/windows/desktop/api/msiquery/nf-msiquery-msiprocessmessage

There are wrappers available in wcautil and DTF

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Stein Inge Åsmul via wix-users
Sent: Friday, July 20, 2018 9:04 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Stein Inge Åsmul <glytzhkof at gmail.com>
Subject: Re: [wix-users] Write custom message in WIX log file

>From a custom action? Though not from WiX, I hope it is OK to link to good
content: Writing to the Log File from a Custom Action <https://resources.flexera.com/web/pdf/archive/msi_writing_to_the_log_file.pdf>.
This
is from Flexera (makers of Installshield), but it covers logging from different types of custom actions in general as well as their proprietary ways.

There may be better ways to do this from managed code that I haven't used (I stay away from managed code CAs).

Come to think of it, aren't there built-in constructs in the WiX custom action templates for this (logging)? I am on Linux right now and can't test. I will have a look later. Or just install the visual studio
integration(s) and create a new test project yourself?

http://wixtoolset.org/releases/ (get the appropriate WiX Toolset Visual Studio Extension according to your Visual Studio version - see a bit down the page).

2018-07-20 17:42 GMT+02:00 Elena Aralla via wix-users <
wix-users at lists.wixtoolset.org>:

>
> Hi,
>
> is there any way to write custom messages in the default WIX log?
>
> The best thing would be to write a custom log file, but it seems to me 
> that it's not possible, right?
>
> Thank you, Elena.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list