Esempio n. 1
0
 /// <summary>Blah</summary>
 public static uint SetExternalUI(MsiExternalUIHandler ExternalUIHandler, MsiInstallLogMode MessageFilter,
     IntPtr Context)
 {
     return MsiSetExternalUI(ExternalUIHandler, (uint)MessageFilter, Context);
 }
Esempio n. 2
0
 /// <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);
 }
Esempio n. 3
0
        public static extern MsiInstallUIHandler MsiSetExternalUI(
			[MarshalAs(UnmanagedType.FunctionPtr)]
			MsiInstallUIHandler handler, MsiInstallLogMode filter,
            Int32 context);
Esempio n. 4
0
        public static extern MsiError MsiEnableLog(MsiInstallLogMode logMode,
			string logFile, MsiLogAttribute logAttributes);
Esempio n. 5
0
 extern static public MsiInstallUIHandler MsiSetExternalUI([MarshalAs(UnmanagedType.FunctionPtr)] MsiInstallUIHandler handler, MsiInstallLogMode filter, IntPtr context);
Esempio n. 6
0
 extern static public MsiError MsiEnableLog(MsiInstallLogMode mode, string file, MsiLogAttribute attributes);
Esempio n. 7
0
 /// <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);
 }