diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-03-29 19:27:25 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-03-30 21:40:34 +1000 |
| commit | 8af9c39dceb6a6ccb55b5a4d76bb71c7c4df133a (patch) | |
| tree | b7ddb8c23a36cdfc950c66eb7fba08760f72049b /src/engine/core.cpp | |
| parent | 1a0190bd31953a5ffb68cac75866328dccbf03f2 (diff) | |
| download | wix-8af9c39dceb6a6ccb55b5a4d76bb71c7c4df133a.tar.gz wix-8af9c39dceb6a6ccb55b5a4d76bb71c7c4df133a.tar.bz2 wix-8af9c39dceb6a6ccb55b5a4d76bb71c7c4df133a.zip | |
Help BAs and BundleExtensions find their data file.
Diffstat (limited to 'src/engine/core.cpp')
| -rw-r--r-- | src/engine/core.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/engine/core.cpp b/src/engine/core.cpp index 10750be8..26e74588 100644 --- a/src/engine/core.cpp +++ b/src/engine/core.cpp | |||
| @@ -151,6 +151,12 @@ extern "C" HRESULT CoreInitialize( | |||
| 151 | // Load the catalog files as soon as they are extracted. | 151 | // Load the catalog files as soon as they are extracted. |
| 152 | hr = CatalogLoadFromPayload(&pEngineState->catalogs, &pEngineState->userExperience.payloads); | 152 | hr = CatalogLoadFromPayload(&pEngineState->catalogs, &pEngineState->userExperience.payloads); |
| 153 | ExitOnFailure(hr, "Failed to load catalog files."); | 153 | ExitOnFailure(hr, "Failed to load catalog files."); |
| 154 | |||
| 155 | hr = PathConcat(pEngineState->userExperience.sczTempDirectory, L"BootstrapperApplicationData.xml", &pEngineState->command.wzBootstrapperApplicationDataPath); | ||
| 156 | ExitOnFailure(hr, "Failed to get BootstrapperApplicationDataPath."); | ||
| 157 | |||
| 158 | hr = StrAllocString(&pEngineState->command.wzBootstrapperWorkingFolder, pEngineState->userExperience.sczTempDirectory, 0); | ||
| 159 | ExitOnFailure(hr, "Failed to copy sczBootstrapperWorkingFolder."); | ||
| 154 | } | 160 | } |
| 155 | 161 | ||
| 156 | LExit: | 162 | LExit: |
