/// <summary>Blah</summary> public static uint SetExternalUI(MsiExternalUIHandler ExternalUIHandler, MsiInstallLogMode MessageFilter, IntPtr Context) { return MsiSetExternalUI(ExternalUIHandler, (uint)MessageFilter, Context); }
/// <summary> /// Enables the MSI runtime logging to the specified log file. /// </summary> /// <param name="logFile">The log file.</param> /// <param name="mode">The logging mode.</param> public void EnableLog(string logFile, MsiInstallLogMode mode = MsiInstallLogMode.Info | MsiInstallLogMode.Progress | MsiInstallLogMode.PropertyDump | MsiInstallLogMode.Error | MsiInstallLogMode.User | MsiInstallLogMode.ActionData) { MsiInterop.MsiEnableLog(mode, logFile, MsiLogAttribute.FlushEachLine); }
public static extern MsiInstallUIHandler MsiSetExternalUI( [MarshalAs(UnmanagedType.FunctionPtr)] MsiInstallUIHandler handler, MsiInstallLogMode filter, Int32 context);
public static extern MsiError MsiEnableLog(MsiInstallLogMode logMode, string logFile, MsiLogAttribute logAttributes);
extern static public MsiInstallUIHandler MsiSetExternalUI([MarshalAs(UnmanagedType.FunctionPtr)] MsiInstallUIHandler handler, MsiInstallLogMode filter, IntPtr context);
extern static public MsiError MsiEnableLog(MsiInstallLogMode mode, string file, MsiLogAttribute attributes);