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/exeengine.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/exeengine.h')
-rw-r--r-- | src/engine/exeengine.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/exeengine.h b/src/engine/exeengine.h index 402e51ed..1eac4232 100644 --- a/src/engine/exeengine.h +++ b/src/engine/exeengine.h | |||
@@ -41,6 +41,10 @@ HRESULT ExeEngineExecutePackage( | |||
41 | __in LPVOID pvContext, | 41 | __in LPVOID pvContext, |
42 | __out BOOTSTRAPPER_APPLY_RESTART* pRestart | 42 | __out BOOTSTRAPPER_APPLY_RESTART* pRestart |
43 | ); | 43 | ); |
44 | void ExeEngineUpdateInstallRegistrationState( | ||
45 | __in BURN_EXECUTE_ACTION* pAction, | ||
46 | __in HRESULT hrExecute | ||
47 | ); | ||
44 | 48 | ||
45 | 49 | ||
46 | #if defined(__cplusplus) | 50 | #if defined(__cplusplus) |