Writing to the Windows Installer log file from a Custom Action

Related Posts
2 Comments
richard

Hello Thanks, it’s very useful endeed, it’s possible to do the same things but in powershell ?

Thanks !

Hi Richard. It is possible to access the windows installer API via Powershell – an example is here: http://www.alkanesolutions.co.uk/2014/10/30/powershell-windows-installer-msi-transforms-mst/. However this particular example demonstrates writing to the log file for the current Windows Installer session. And since Windows Installer only supports VBScript natively and not Powershell, I doubt it is possible.

Leave a Reply
Send us a message

Send your message any time you want.

Our usual reply time: 2 Business Hours
Send us a message

Have a question? Send us a message.

Our usual reply time: 2 Business Hours