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