diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-02-02 18:09:58 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-02-04 22:16:10 -0600 |
commit | fd8c2b0899bfbce07386af245c04eb21dc01cbdf (patch) | |
tree | 33d928124b0028729916189ddb9f239a9574c75d /src/engine/logging.h | |
parent | 39725a1a6d1c72a6748bd3c306af32bcae6dbf8f (diff) | |
download | wix-fd8c2b0899bfbce07386af245c04eb21dc01cbdf.tar.gz wix-fd8c2b0899bfbce07386af245c04eb21dc01cbdf.tar.bz2 wix-fd8c2b0899bfbce07386af245c04eb21dc01cbdf.zip |
Update the logic for determining when the bundle should be registered.
The basic rule is that if a non-permanent package is present at the end of the chain, then the bundle should be registered. If no non-permanent packages are present at the end of the chain, then the bundle should not be registered. This required tracking what actually happened with each package during Apply.
Include cache status in registration calculation.
Include dependency ref-counting when determining whether the bundle should be registered.
Diffstat (limited to 'src/engine/logging.h')
-rw-r--r-- | src/engine/logging.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/logging.h b/src/engine/logging.h index b5c6c052..49a8ef5d 100644 --- a/src/engine/logging.h +++ b/src/engine/logging.h | |||
@@ -89,6 +89,11 @@ LPCSTR LoggingPackageStateToString( | |||
89 | __in BOOTSTRAPPER_PACKAGE_STATE packageState | 89 | __in BOOTSTRAPPER_PACKAGE_STATE packageState |
90 | ); | 90 | ); |
91 | 91 | ||
92 | LPCSTR LoggingPackageRegistrationStateToString( | ||
93 | __in BOOL fCanAffectRegistration, | ||
94 | __in BURN_PACKAGE_REGISTRATION_STATE registrationState | ||
95 | ); | ||
96 | |||
92 | LPCSTR LoggingCacheStateToString( | 97 | LPCSTR LoggingCacheStateToString( |
93 | __in BURN_CACHE_STATE cacheState | 98 | __in BURN_CACHE_STATE cacheState |
94 | ); | 99 | ); |