diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-03-04 17:55:17 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-03-05 16:22:04 -0600 |
commit | e027c6c571a4bc8c818244e2b0c5015eb4ef3110 (patch) | |
tree | 8149aa491766bfe8a883f921831a52133abceea5 /src/burn/engine/registration.h | |
parent | baf09c19c5a0f0d3f9533f9084f094066c1be7d9 (diff) | |
download | wix-e027c6c571a4bc8c818244e2b0c5015eb4ef3110.tar.gz wix-e027c6c571a4bc8c818244e2b0c5015eb4ef3110.tar.bz2 wix-e027c6c571a4bc8c818244e2b0c5015eb4ef3110.zip |
Change ARP property Installed to 0 when registrationType is InProgress.
Being registered in ARP and "installed" were always separate concepts, and some things like fEligibleForCleanup were looking at the wrong thing. This also allows the BA to tell the difference.
Diffstat (limited to 'src/burn/engine/registration.h')
-rw-r--r-- | src/burn/engine/registration.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/burn/engine/registration.h b/src/burn/engine/registration.h index 64191828..bfaab1f1 100644 --- a/src/burn/engine/registration.h +++ b/src/burn/engine/registration.h | |||
@@ -93,7 +93,7 @@ typedef struct _BURN_REGISTRATION | |||
93 | BOOL fRegisterArp; | 93 | BOOL fRegisterArp; |
94 | BOOL fDisableResume; | 94 | BOOL fDisableResume; |
95 | BOOL fCached; | 95 | BOOL fCached; |
96 | BOOL fInstalled; | 96 | BOOTSTRAPPER_REGISTRATION_TYPE detectedRegistrationType; |
97 | LPWSTR sczId; | 97 | LPWSTR sczId; |
98 | LPWSTR sczTag; | 98 | LPWSTR sczTag; |
99 | 99 | ||
@@ -171,6 +171,10 @@ HRESULT RegistrationSetVariables( | |||
171 | __in BURN_REGISTRATION* pRegistration, | 171 | __in BURN_REGISTRATION* pRegistration, |
172 | __in BURN_VARIABLES* pVariables | 172 | __in BURN_VARIABLES* pVariables |
173 | ); | 173 | ); |
174 | HRESULT RegistrationSetDynamicVariables( | ||
175 | __in BURN_REGISTRATION* pRegistration, | ||
176 | __in BURN_VARIABLES* pVariables | ||
177 | ); | ||
174 | HRESULT RegistrationDetectInstalled( | 178 | HRESULT RegistrationDetectInstalled( |
175 | __in BURN_REGISTRATION* pRegistration | 179 | __in BURN_REGISTRATION* pRegistration |
176 | ); | 180 | ); |