diff options
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/TestData/PatchNonSpecific/PackageA')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/TestData/PatchNonSpecific/PackageA/Package.wxs | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/PatchNonSpecific/PackageA/Package.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/PatchNonSpecific/PackageA/Package.wxs new file mode 100644 index 00000000..2d5fbc6d --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/PatchNonSpecific/PackageA/Package.wxs | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 2 | <Package ProductCode="26309973-0A5E-4979-B142-98A6E064EDC0" Name="PackageA" Language="1033" Version="$(var.V)" Manufacturer="Example Corporation" | ||
| 3 | UpgradeCode="32B0396A-CE36-4570-B16E-F88FA42DC409" Scope="perMachine" Compressed="yes"> | ||
| 4 | |||
| 5 | <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> | ||
| 6 | <MediaTemplate EmbedCab="yes" /> | ||
| 7 | |||
| 8 | <PropertyRef Id="TestVersion"/> | ||
| 9 | |||
| 10 | <Feature Id="Complete" Level="1"> | ||
| 11 | <ComponentRef Id="FileComponent"/> | ||
| 12 | <ComponentRef Id="RegistryComponent"/> | ||
| 13 | <ComponentRef Id="RegistryComponent2" /> | ||
| 14 | </Feature> | ||
| 15 | </Package> | ||
| 16 | |||
| 17 | <Fragment> | ||
| 18 | <Directory Id="TARGETDIR" Name="SourceDir"> | ||
| 19 | <Directory Id="ProgramFilesFolder"> | ||
| 20 | <Directory Id="INSTALLFOLDER" Name="~Test A" /> | ||
| 21 | </Directory> | ||
| 22 | </Directory> | ||
| 23 | </Fragment> | ||
| 24 | |||
| 25 | <Fragment> | ||
| 26 | <Component Id="FileComponent" Directory="INSTALLFOLDER"> | ||
| 27 | <File Source="$(sys.SOURCEFILEPATH)"/> | ||
| 28 | </Component> | ||
| 29 | </Fragment> | ||
| 30 | |||
| 31 | <Fragment> | ||
| 32 | <Component Id="RegistryComponent" Directory="INSTALLFOLDER"> | ||
| 33 | <RegistryValue Root="HKLM" Key="Software\WiX\Tests\$(var.A)" Name="A" Value="!(bind.Property.TestVersion)" Type="string" /> | ||
| 34 | </Component> | ||
| 35 | </Fragment> | ||
| 36 | |||
| 37 | <Fragment> | ||
| 38 | <Component Id="RegistryComponent2" Directory="INSTALLFOLDER"> | ||
| 39 | <RegistryValue Root="HKLM" Key="Software\WiX\Tests\$(var.B)" Name="A2" Value="!(bind.Property.TestVersion)" Type="string" /> | ||
| 40 | </Component> | ||
| 41 | </Fragment> | ||
| 42 | |||
| 43 | <Fragment> | ||
| 44 | <Property Id="TestVersion" Value="$(var.V)"/> | ||
| 45 | </Fragment> | ||
| 46 | </Wix> | ||
