Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Session.Message


2 replies to this topic

pdriley

pdriley
  • Members
  • 91 posts

Posted 25 July 2002 - 17:45

Has anyone figured out a way of writing to the MSI message log from an "MSI DLL" Custom Action?

Most Session properties/methods (eg. Session.DoAction) have a C++ equivalent (eg. MsiDoAction) but Session.Message doesn't seem to have.

Ideas?
Paul Riley (Vector Networks), InstallShield User.

Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 26 July 2002 - 16:36

see MsiProcessMessage

PMSIHANDLE hRecord = MsiCreateRecord(0);
MsiRecordSetString(hRecord, 0, "A Comment");
MsiProcessMessage(hMsi, INSTALLMESSAGE_INFO, hRecord);
Ian Blake
(Currently Unemployed)

pdriley

pdriley
  • Members
  • 91 posts

Posted 26 July 2002 - 17:06

That's what I'm looking for... thanks Ian
Paul Riley (Vector Networks), InstallShield User.