cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
TurboFisch
Level 7

confused by LogWriteCustomString

The examples of LogWriteCustomString refer to .ilg file. I'm not sure what that is. What I want to do is write information to a log file that is specified by msiexec /L parameter. Is there a different API that I should look into?

Thanks,
Labels (1)
0 Kudos
(1) Reply
MichaelU
Level 12 Flexeran
Level 12 Flexeran

Yup. If you're trying to do this from an InstallScript custom action in a Windows Installer project, you're looking for SprintfMsiLog.

(InstallScript tracks what the installation performed so it can undo it during uninstallation, and does so in what it calls a log; LogWriteCustomString operates on that log instead of the Windows Installer log.)
0 Kudos