diff options
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/IBootstrapperApplication.cs')
-rw-r--r-- | src/api/burn/WixToolset.Mba.Core/IBootstrapperApplication.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/IBootstrapperApplication.cs b/src/api/burn/WixToolset.Mba.Core/IBootstrapperApplication.cs index d4fe8320..1786eecd 100644 --- a/src/api/burn/WixToolset.Mba.Core/IBootstrapperApplication.cs +++ b/src/api/burn/WixToolset.Mba.Core/IBootstrapperApplication.cs | |||
@@ -1170,6 +1170,18 @@ namespace WixToolset.Mba.Core | |||
1170 | [MarshalAs(UnmanagedType.I4)] int hrRecommended, | 1170 | [MarshalAs(UnmanagedType.I4)] int hrRecommended, |
1171 | [MarshalAs(UnmanagedType.I4)] ref int hrStatus | 1171 | [MarshalAs(UnmanagedType.I4)] ref int hrStatus |
1172 | ); | 1172 | ); |
1173 | |||
1174 | /// <summary> | ||
1175 | /// See <see cref="IDefaultBootstrapperApplication.ExecuteProcessCancel"/>. | ||
1176 | /// </summary> | ||
1177 | [PreserveSig] | ||
1178 | [return: MarshalAs(UnmanagedType.I4)] | ||
1179 | int OnExecuteProcessCancel( | ||
1180 | [MarshalAs(UnmanagedType.LPWStr)] string wzPackageId, | ||
1181 | int processId, | ||
1182 | [MarshalAs(UnmanagedType.I4)] BOOTSTRAPPER_EXECUTEPROCESSCANCEL_ACTION recommendation, | ||
1183 | [MarshalAs(UnmanagedType.I4)] ref BOOTSTRAPPER_EXECUTEPROCESSCANCEL_ACTION pAction | ||
1184 | ); | ||
1173 | } | 1185 | } |
1174 | 1186 | ||
1175 | /// <summary> | 1187 | /// <summary> |
@@ -1907,6 +1919,26 @@ namespace WixToolset.Mba.Core | |||
1907 | } | 1919 | } |
1908 | 1920 | ||
1909 | /// <summary> | 1921 | /// <summary> |
1922 | /// The available actions for <see cref="IDefaultBootstrapperApplication.ExecuteProcessCancel"/>. | ||
1923 | /// </summary> | ||
1924 | public enum BOOTSTRAPPER_EXECUTEPROCESSCANCEL_ACTION | ||
1925 | { | ||
1926 | /// <summary> | ||
1927 | /// Instructs the engine to stop waiting for the process to exit. | ||
1928 | /// The package is immediately considered to have failed with ERROR_INSTALL_USEREXIT. | ||
1929 | /// The engine will never rollback the package. | ||
1930 | /// </summary> | ||
1931 | Abandon, | ||
1932 | |||
1933 | /// <summary> | ||
1934 | /// Instructs the engine to wait for the process to exit. | ||
1935 | /// Once the process has exited, the package is considered to have failed with ERROR_INSTALL_USEREXIT. | ||
1936 | /// This allows the engine to rollback the package if necessary. | ||
1937 | /// </summary> | ||
1938 | Wait, | ||
1939 | } | ||
1940 | |||
1941 | /// <summary> | ||
1910 | /// The result of evaluating a condition from a package. | 1942 | /// The result of evaluating a condition from a package. |
1911 | /// </summary> | 1943 | /// </summary> |
1912 | public enum BOOTSTRAPPER_PACKAGE_CONDITION_RESULT | 1944 | public enum BOOTSTRAPPER_PACKAGE_CONDITION_RESULT |