This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- confused by LogWriteCustomString
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 08, 2014
05:14 PM
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,
Thanks,
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 09, 2014
09:03 AM
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.)
(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.)
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)