@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: Set an External UI handler for the coming installation !!!!C# Signature: [DllImport("msi.dll")] public static extern InstallUIHandler MsiSetExternalUI(InstallUIHandler handler, int messageFilter, IntPtr context); !!!!VB Signature: Declare Function MsiSetExternalUI Lib "msi.dll" (TODO) As TODO !!!!User-Defined Types: public delegate IntPtr InstallUIHandler(IntPtr context, uint messageType, string message); !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: public static bool InstallProduct(string msiLocation) { bool returnValue = true; MsiSetExternalUI(new InstallUIHandler(MyInstallUIHandler), 32735, (IntPtr)0); MsiEnableLog(INSTALLLOGMODE.INSTALLLOGMODE_VERBOSE, "C:\\temp\\log.log", INSTALLLOGATTRIBUTES.INSTALLLOGATTRIBUTES_APPEND); MsiInstallProduct(msiLocation, ""); return returnValue; } Documentation: MsiSetExternalUI@msdn on MSDN
Edit msi.MsiSetExternalUI
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.