aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h')
-rw-r--r--src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
index d8994c26..603df890 100644
--- a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
+++ b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
@@ -64,6 +64,20 @@ enum BOOTSTRAPPER_CACHE_OPERATION
64 BOOTSTRAPPER_CACHE_OPERATION_EXTRACT, 64 BOOTSTRAPPER_CACHE_OPERATION_EXTRACT,
65}; 65};
66 66
67enum BOOTSTRAPPER_CACHE_RESOLVE_OPERATION
68{
69 // There is no source available.
70 BOOTSTRAPPER_CACHE_RESOLVE_NONE,
71 // Copy the payload or container from the chosen local source.
72 BOOTSTRAPPER_CACHE_RESOLVE_LOCAL,
73 // Download the payload or container from the download URL.
74 BOOTSTRAPPER_CACHE_RESOLVE_DOWNLOAD,
75 // Extract the payload from the container.
76 BOOTSTRAPPER_CACHE_RESOLVE_CONTAINER,
77 // Look again for the payload or container locally.
78 BOOTSTRAPPER_CACHE_RESOLVE_RETRY,
79};
80
67enum BOOTSTRAPPER_CACHE_VERIFY_STEP 81enum BOOTSTRAPPER_CACHE_VERIFY_STEP
68{ 82{
69 BOOTSTRAPPER_CACHE_VERIFY_STEP_STAGE, 83 BOOTSTRAPPER_CACHE_VERIFY_STEP_STAGE,
@@ -379,14 +393,14 @@ struct BA_ONCACHEACQUIRERESOLVING_ARGS
379 DWORD dwRecommendedSearchPath; 393 DWORD dwRecommendedSearchPath;
380 LPCWSTR wzDownloadUrl; 394 LPCWSTR wzDownloadUrl;
381 LPCWSTR wzPayloadContainerId; 395 LPCWSTR wzPayloadContainerId;
382 BOOTSTRAPPER_CACHE_OPERATION recommendation; 396 BOOTSTRAPPER_CACHE_RESOLVE_OPERATION recommendation;
383}; 397};
384 398
385struct BA_ONCACHEACQUIRERESOLVING_RESULTS 399struct BA_ONCACHEACQUIRERESOLVING_RESULTS
386{ 400{
387 DWORD cbSize; 401 DWORD cbSize;
388 DWORD dwChosenSearchPath; 402 DWORD dwChosenSearchPath;
389 BOOTSTRAPPER_CACHE_OPERATION action; 403 BOOTSTRAPPER_CACHE_RESOLVE_OPERATION action;
390 BOOL fCancel; 404 BOOL fCancel;
391}; 405};
392 406