diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-02-15 13:25:35 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-02-22 20:25:06 -0600 |
| commit | b6862716cd27cefa541b85c63dd30dc3f0749d87 (patch) | |
| tree | ab351296b2adb62a7c4b6723cbf246878f0a3a45 /src/engine/userexperience.cpp | |
| parent | 1fc35ce3263e9351bb719c6c7f9b6351c52ee18c (diff) | |
| download | wix-b6862716cd27cefa541b85c63dd30dc3f0749d87.tar.gz wix-b6862716cd27cefa541b85c63dd30dc3f0749d87.tar.bz2 wix-b6862716cd27cefa541b85c63dd30dc3f0749d87.zip | |
Rename *TargetMsiPackage BA events to *PatchTarget.
Diffstat (limited to 'src/engine/userexperience.cpp')
| -rw-r--r-- | src/engine/userexperience.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/engine/userexperience.cpp b/src/engine/userexperience.cpp index a0fb341d..12c3f6df 100644 --- a/src/engine/userexperience.cpp +++ b/src/engine/userexperience.cpp | |||
| @@ -947,7 +947,7 @@ LExit: | |||
| 947 | return hr; | 947 | return hr; |
| 948 | } | 948 | } |
| 949 | 949 | ||
| 950 | EXTERN_C BAAPI UserExperienceOnDetectTargetMsiPackage( | 950 | EXTERN_C BAAPI UserExperienceOnDetectPatchTarget( |
| 951 | __in BURN_USER_EXPERIENCE* pUserExperience, | 951 | __in BURN_USER_EXPERIENCE* pUserExperience, |
| 952 | __in_z LPCWSTR wzPackageId, | 952 | __in_z LPCWSTR wzPackageId, |
| 953 | __in_z LPCWSTR wzProductCode, | 953 | __in_z LPCWSTR wzProductCode, |
| @@ -955,8 +955,8 @@ EXTERN_C BAAPI UserExperienceOnDetectTargetMsiPackage( | |||
| 955 | ) | 955 | ) |
| 956 | { | 956 | { |
| 957 | HRESULT hr = S_OK; | 957 | HRESULT hr = S_OK; |
| 958 | BA_ONDETECTTARGETMSIPACKAGE_ARGS args = { }; | 958 | BA_ONDETECTPATCHTARGET_ARGS args = { }; |
| 959 | BA_ONDETECTTARGETMSIPACKAGE_RESULTS results = { }; | 959 | BA_ONDETECTPATCHTARGET_RESULTS results = { }; |
| 960 | 960 | ||
| 961 | args.cbSize = sizeof(args); | 961 | args.cbSize = sizeof(args); |
| 962 | args.wzPackageId = wzPackageId; | 962 | args.wzPackageId = wzPackageId; |
| @@ -965,8 +965,8 @@ EXTERN_C BAAPI UserExperienceOnDetectTargetMsiPackage( | |||
| 965 | 965 | ||
| 966 | results.cbSize = sizeof(results); | 966 | results.cbSize = sizeof(results); |
| 967 | 967 | ||
| 968 | hr = SendBAMessage(pUserExperience, BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTTARGETMSIPACKAGE, &args, &results); | 968 | hr = SendBAMessage(pUserExperience, BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTPATCHTARGET, &args, &results); |
| 969 | ExitOnFailure(hr, "BA OnDetectTargetMsiPackage failed."); | 969 | ExitOnFailure(hr, "BA OnDetectPatchTarget failed."); |
| 970 | 970 | ||
| 971 | if (results.fCancel) | 971 | if (results.fCancel) |
| 972 | { | 972 | { |
| @@ -1697,7 +1697,7 @@ LExit: | |||
| 1697 | return hr; | 1697 | return hr; |
| 1698 | } | 1698 | } |
| 1699 | 1699 | ||
| 1700 | EXTERN_C BAAPI UserExperienceOnPlanTargetMsiPackage( | 1700 | EXTERN_C BAAPI UserExperienceOnPlanPatchTarget( |
| 1701 | __in BURN_USER_EXPERIENCE* pUserExperience, | 1701 | __in BURN_USER_EXPERIENCE* pUserExperience, |
| 1702 | __in_z LPCWSTR wzPackageId, | 1702 | __in_z LPCWSTR wzPackageId, |
| 1703 | __in_z LPCWSTR wzProductCode, | 1703 | __in_z LPCWSTR wzProductCode, |
| @@ -1705,8 +1705,8 @@ EXTERN_C BAAPI UserExperienceOnPlanTargetMsiPackage( | |||
| 1705 | ) | 1705 | ) |
| 1706 | { | 1706 | { |
| 1707 | HRESULT hr = S_OK; | 1707 | HRESULT hr = S_OK; |
| 1708 | BA_ONPLANTARGETMSIPACKAGE_ARGS args = { }; | 1708 | BA_ONPLANPATCHTARGET_ARGS args = { }; |
| 1709 | BA_ONPLANTARGETMSIPACKAGE_RESULTS results = { }; | 1709 | BA_ONPLANPATCHTARGET_RESULTS results = { }; |
| 1710 | 1710 | ||
| 1711 | args.cbSize = sizeof(args); | 1711 | args.cbSize = sizeof(args); |
| 1712 | args.wzPackageId = wzPackageId; | 1712 | args.wzPackageId = wzPackageId; |
| @@ -1716,8 +1716,8 @@ EXTERN_C BAAPI UserExperienceOnPlanTargetMsiPackage( | |||
| 1716 | results.cbSize = sizeof(results); | 1716 | results.cbSize = sizeof(results); |
| 1717 | results.requestedState = *pRequestedState; | 1717 | results.requestedState = *pRequestedState; |
| 1718 | 1718 | ||
| 1719 | hr = SendBAMessage(pUserExperience, BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANTARGETMSIPACKAGE, &args, &results); | 1719 | hr = SendBAMessage(pUserExperience, BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANPATCHTARGET, &args, &results); |
| 1720 | ExitOnFailure(hr, "BA OnPlanTargetMsiPackage failed."); | 1720 | ExitOnFailure(hr, "BA OnPlanPatchTarget failed."); |
| 1721 | 1721 | ||
| 1722 | if (results.fCancel) | 1722 | if (results.fCancel) |
| 1723 | { | 1723 | { |
