diff options
Diffstat (limited to 'src/api/burn/balutil')
4 files changed, 10 insertions, 16 deletions
diff --git a/src/api/burn/balutil/inc/BalBaseBAFunctions.h b/src/api/burn/balutil/inc/BalBaseBAFunctions.h index 8d9bddca..7f52f76e 100644 --- a/src/api/burn/balutil/inc/BalBaseBAFunctions.h +++ b/src/api/burn/balutil/inc/BalBaseBAFunctions.h | |||
@@ -583,6 +583,7 @@ public: // IBootstrapperApplication | |||
583 | __in DWORD /*cFiles*/, | 583 | __in DWORD /*cFiles*/, |
584 | __in_ecount_z(cFiles) LPCWSTR* /*rgwzFiles*/, | 584 | __in_ecount_z(cFiles) LPCWSTR* /*rgwzFiles*/, |
585 | __in int /*nRecommendation*/, | 585 | __in int /*nRecommendation*/, |
586 | __in BOOTSTRAPPER_FILES_IN_USE_TYPE /*source*/, | ||
586 | __inout int* /*pResult*/ | 587 | __inout int* /*pResult*/ |
587 | ) | 588 | ) |
588 | { | 589 | { |
diff --git a/src/api/burn/balutil/inc/BalBaseBootstrapperApplication.h b/src/api/burn/balutil/inc/BalBaseBootstrapperApplication.h index 4d043dfe..5665fee3 100644 --- a/src/api/burn/balutil/inc/BalBaseBootstrapperApplication.h +++ b/src/api/burn/balutil/inc/BalBaseBootstrapperApplication.h | |||
@@ -738,6 +738,7 @@ public: // IBootstrapperApplication | |||
738 | __in DWORD /*cFiles*/, | 738 | __in DWORD /*cFiles*/, |
739 | __in_ecount_z(cFiles) LPCWSTR* /*rgwzFiles*/, | 739 | __in_ecount_z(cFiles) LPCWSTR* /*rgwzFiles*/, |
740 | __in int /*nRecommendation*/, | 740 | __in int /*nRecommendation*/, |
741 | __in BOOTSTRAPPER_FILES_IN_USE_TYPE /*source*/, | ||
741 | __inout int* pResult | 742 | __inout int* pResult |
742 | ) | 743 | ) |
743 | { | 744 | { |
diff --git a/src/api/burn/balutil/inc/BalBaseBootstrapperApplicationProc.h b/src/api/burn/balutil/inc/BalBaseBootstrapperApplicationProc.h index 59bfc1f8..2292cd64 100644 --- a/src/api/burn/balutil/inc/BalBaseBootstrapperApplicationProc.h +++ b/src/api/burn/balutil/inc/BalBaseBootstrapperApplicationProc.h | |||
@@ -438,7 +438,7 @@ static HRESULT BalBaseBAProcOnExecuteFilesInUse( | |||
438 | __inout BA_ONEXECUTEFILESINUSE_RESULTS* pResults | 438 | __inout BA_ONEXECUTEFILESINUSE_RESULTS* pResults |
439 | ) | 439 | ) |
440 | { | 440 | { |
441 | return pBA->OnExecuteFilesInUse(pArgs->wzPackageId, pArgs->cFiles, pArgs->rgwzFiles, pArgs->nRecommendation, &pResults->nResult); | 441 | return pBA->OnExecuteFilesInUse(pArgs->wzPackageId, pArgs->cFiles, pArgs->rgwzFiles, pArgs->nRecommendation, pArgs->source, &pResults->nResult); |
442 | } | 442 | } |
443 | 443 | ||
444 | static HRESULT BalBaseBAProcOnExecutePackageComplete( | 444 | static HRESULT BalBaseBAProcOnExecutePackageComplete( |
diff --git a/src/api/burn/balutil/inc/IBootstrapperApplication.h b/src/api/burn/balutil/inc/IBootstrapperApplication.h index be9b7b6e..2ba1f503 100644 --- a/src/api/burn/balutil/inc/IBootstrapperApplication.h +++ b/src/api/burn/balutil/inc/IBootstrapperApplication.h | |||
@@ -488,27 +488,19 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A | |||
488 | __inout int* pResult | 488 | __inout int* pResult |
489 | ) = 0; | 489 | ) = 0; |
490 | 490 | ||
491 | // OnExecuteFilesInUse - called when the engine encounters files in use while | 491 | // OnExecuteFilesInUse - called when the engine receives a files in use message |
492 | // executing a package. | 492 | // while executing a package. |
493 | // | 493 | // |
494 | // Return: | 494 | // Return value depends on the source: |
495 | // IDOK instructs the engine to let the Restart Manager attempt to close the | 495 | // BOOTSTRAPPER_FILES_IN_USE_TYPE_MSI: https://docs.microsoft.com/en-us/windows/win32/msi/installvalidate-action |
496 | // applications to avoid a restart. | 496 | // BOOTSTRAPPER_FILES_IN_USE_TYPE_MSI_RM: https://docs.microsoft.com/en-us/windows/win32/msi/using-restart-manager-with-an-external-ui- |
497 | // | 497 | // BOOTSTRAPPER_FILES_IN_USE_TYPE_NETFX: https://docs.microsoft.com/en-us/dotnet/framework/deployment/how-to-get-progress-from-the-dotnet-installer |
498 | // IDCANCEL instructs the engine to abort the execution and start rollback. | ||
499 | // | ||
500 | // IDIGNORE instructs the engine to ignore the running applications. A restart will be | ||
501 | // required. | ||
502 | // | ||
503 | // IDRETRY instructs the engine to check if the applications are still running again. | ||
504 | // | ||
505 | // IDNOACTION is equivalent to ignoring the running applications. A restart will be | ||
506 | // required. | ||
507 | STDMETHOD(OnExecuteFilesInUse)( | 498 | STDMETHOD(OnExecuteFilesInUse)( |
508 | __in_z LPCWSTR wzPackageId, | 499 | __in_z LPCWSTR wzPackageId, |
509 | __in DWORD cFiles, | 500 | __in DWORD cFiles, |
510 | __in_ecount_z(cFiles) LPCWSTR* rgwzFiles, | 501 | __in_ecount_z(cFiles) LPCWSTR* rgwzFiles, |
511 | __in int nRecommendation, | 502 | __in int nRecommendation, |
503 | __in BOOTSTRAPPER_FILES_IN_USE_TYPE source, | ||
512 | __inout int* pResult | 504 | __inout int* pResult |
513 | ) = 0; | 505 | ) = 0; |
514 | 506 | ||