Message Event

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation Message Event
Handle this event to receive status messages when operations are performed on the install package.
Declaration Syntax
C# Visual Basic Visual C++
public event InstallPackageMessageHandler Message
Public Event Message As InstallPackageMessageHandler
public:
 event InstallPackageMessageHandler^ Message {
	void add (InstallPackageMessageHandler^ value);
	void remove (InstallPackageMessageHandler^ value);
}
Examples
installPackage.Message += new InstallPackageMessageHandler(Console.WriteLine);

Assembly: Microsoft.Deployment.WindowsInstaller.Package (Module: Microsoft.Deployment.WindowsInstaller.Package.dll) Version: 3.0.0.0 (3.9.1006.0)