diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2022-04-13 10:14:45 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2022-04-13 13:13:48 -0500 |
| commit | 4c3640ad5ef05b5be44df2aee2a23baa40471422 (patch) | |
| tree | b9aab6744e812298db3f4a98bc389ec5f212e80d /src/burn/test/BurnUnitTest/ManifestTest.cpp | |
| parent | 3704a5547766581b15690b6535d03568afcfc2a0 (diff) | |
| download | wix-4c3640ad5ef05b5be44df2aee2a23baa40471422.tar.gz wix-4c3640ad5ef05b5be44df2aee2a23baa40471422.tar.bz2 wix-4c3640ad5ef05b5be44df2aee2a23baa40471422.zip | |
Write EngineVersion, ProtocolVersion, and Win64 to the Burn manifest.
Diffstat (limited to 'src/burn/test/BurnUnitTest/ManifestTest.cpp')
| -rw-r--r-- | src/burn/test/BurnUnitTest/ManifestTest.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/burn/test/BurnUnitTest/ManifestTest.cpp b/src/burn/test/BurnUnitTest/ManifestTest.cpp index 6973c772..d899e3f9 100644 --- a/src/burn/test/BurnUnitTest/ManifestTest.cpp +++ b/src/burn/test/BurnUnitTest/ManifestTest.cpp | |||
| @@ -30,7 +30,13 @@ namespace Bootstrapper | |||
| 30 | try | 30 | try |
| 31 | { | 31 | { |
| 32 | LPCSTR szDocument = | 32 | LPCSTR szDocument = |
| 33 | "<Bundle>" | 33 | "<BurnManifest EngineVersion='" szVerMajorMinorBuild "' ProtocolVersion='1' Win64='" |
| 34 | #if !defined(_WIN64) | ||
| 35 | "no" | ||
| 36 | #else | ||
| 37 | "yes" | ||
| 38 | #endif | ||
| 39 | "'>" | ||
| 34 | " <UX UxDllPayloadId='ux.dll'>" | 40 | " <UX UxDllPayloadId='ux.dll'>" |
| 35 | " <Payload Id='ux.dll' FilePath='ux.dll' Packaging='embedded' SourcePath='ux.dll' Hash='000000000000' />" | 41 | " <Payload Id='ux.dll' FilePath='ux.dll' Packaging='embedded' SourcePath='ux.dll' Hash='000000000000' />" |
| 36 | " </UX>" | 42 | " </UX>" |
| @@ -38,7 +44,7 @@ namespace Bootstrapper | |||
| 38 | " <Variable Id='Variable1' Type='numeric' Value='1' Hidden='no' Persisted='no' />" | 44 | " <Variable Id='Variable1' Type='numeric' Value='1' Hidden='no' Persisted='no' />" |
| 39 | " <RegistrySearch Id='Search1' Type='exists' Root='HKLM' Key='SOFTWARE\\Microsoft' Variable='Variable1' Condition='0' />" | 45 | " <RegistrySearch Id='Search1' Type='exists' Root='HKLM' Key='SOFTWARE\\Microsoft' Variable='Variable1' Condition='0' />" |
| 40 | " <CommandLine Variables='upperCase' />" | 46 | " <CommandLine Variables='upperCase' />" |
| 41 | "</Bundle>"; | 47 | "</BurnManifest>"; |
| 42 | 48 | ||
| 43 | hr = CacheInitialize(&engineState.cache, &engineState.internalCommand); | 49 | hr = CacheInitialize(&engineState.cache, &engineState.internalCommand); |
| 44 | TestThrowOnFailure(hr, L"Failed initialize cache."); | 50 | TestThrowOnFailure(hr, L"Failed initialize cache."); |
