MSI Log Debug Log Sink
Posted
by Todd Kobus
on Stack Overflow
See other posts from Stack Overflow
or by Todd Kobus
Published on 2009-09-27T14:38:50Z
Indexed on
2010/05/05
2:58 UTC
Read the original article
Hit count: 573
I have an InstallShield MSI project. When I pass an MSIHANDLE from an InstallScript custom action to a managed assembly initialized via DotNetCoCreateObject(), the value received within my managed code is -2.
Does anyone know if it is possible to access an MSIHANDLE from an InstallScript custom action that calls into managed code via DotNetCoCreateObject()? I'd like to log my custom action results to the same log file as the rest of the installation. I am using InstallShield 2010, Windows Install 4.5 and .Net 3.5.
© Stack Overflow or respective owner