[wix-users] Required help in Logging.

Gary M garym at oedata.com
Thu May 19 16:14:00 PDT 2016


I ran into the same issue. The way I solved  it in the past is writing a
simple setup.exe that sets the Installer registry debug values and calling
msiexe with the logging parameters.

The log's raw aesthetics has "much to be desired" as an end user report.
David Watson's suggestion to use Wilogutl.exe is a good first step. If you
want something more user friendly, a parser may be required. What I've also
done is custom actions built for generating an  installation report. I
never figured out how to "read" the install log in a custom action.

Here is the registry settings I used with the setup.exe approach:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
"Debug"=dword:00000007


On Thu, May 19, 2016 at 8:39 AM, David Watson <dwatson at sdl.com> wrote:

> Seems rather silly to re-write something that works.
>
> If you are struggling with the format have you tried this?
>
>
> https://msdn.microsoft.com/en-us/library/windows/desktop/aa372811(v=vs.85).aspx
>
>
>  [http://dr0muzwhcp26z.cloudfront.net/static/corporate/SDL-logo-2014.png]
> <www.sdl.com/>
> www.sdl.com
>
>
> SDL PLC confidential, all rights reserved. If you are not the intended
> recipient of this mail SDL requests and requires that you delete it without
> acting upon or copying any of its contents, and we further request that you
> advise us.
>
> SDL PLC is a public limited company registered in England and Wales.
> Registered number: 02675207.
> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
> 7DY, UK.
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Anil Kumar
> Sent: 19 May 2016 15:11
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: [wix-users] Required help in Logging.
>
> Hi,
> Can anyone suggest me how to create installation log something similar like
> MSBuild log. For an end user, Its difficult to find the errors from the
> MSI's default log which we generate using /l*v or someother option.
>
> I want to include all phases of installation(like file copy, reg creation,
> install initialize, finalize, xxxx) along with my other custom actions.
>
> Can anyone provide some inputs.
>
> Thanks
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
>
> This message has been scanned for malware by Websense. www.websense.com
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list