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/mspengine.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/mspengine.h')
-rw-r--r-- | src/engine/mspengine.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/engine/mspengine.h b/src/engine/mspengine.h index e08fe992..7cc9a119 100644 --- a/src/engine/mspengine.h +++ b/src/engine/mspengine.h | |||
@@ -62,6 +62,14 @@ void MspEngineSlipstreamUpdateState( | |||
62 | __in BOOTSTRAPPER_ACTION_STATE execute, | 62 | __in BOOTSTRAPPER_ACTION_STATE execute, |
63 | __in BOOTSTRAPPER_ACTION_STATE rollback | 63 | __in BOOTSTRAPPER_ACTION_STATE rollback |
64 | ); | 64 | ); |
65 | void MspEngineUpdateInstallRegistrationState( | ||
66 | __in BURN_EXECUTE_ACTION* pAction, | ||
67 | __in HRESULT hrExecute, | ||
68 | __in BOOL fInsideMsiTransaction | ||
69 | ); | ||
70 | void MspEngineFinalizeInstallRegistrationState( | ||
71 | __in BURN_PACKAGE* pPackage | ||
72 | ); | ||
65 | 73 | ||
66 | 74 | ||
67 | #if defined(__cplusplus) | 75 | #if defined(__cplusplus) |