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

Write to MSI log file from installscript CA


I have Basic MSI project and using installscript,
Is there a way to directly write to the MSI log files with installscript CA ?
I already tried to use SprintfMsiLog in the installscript but it didn't worked probably since I run it through DoAction events,
Is there a way to make it work ?

Labels (1)
0 Kudos
(2) Replies
Flexera Alumni

Hi @eladef ,


To write to the MSI log, SprintfMsiLog uses the MsiProcessMessage API. This API does not work from custom actions launched through DoAction events.

Note that custom actions launched by a DoAction ControlEvent can send a message with the Message Method, but cannot send a message with MsiProcessMessage.


For more details:




0 Kudos

And what different type of CA I should use if I still want to use InstallScript and SprintfMsiLog  ?

0 Kudos