diff options
author | Bob Arnson <bob@joyofsetup.com> | 2017-12-11 19:16:46 -0500 |
---|---|---|
committer | Bob Arnson <bob@joyofsetup.com> | 2017-12-11 19:16:46 -0500 |
commit | b71c36c6fdc44268de75540474c639b64e53f1b7 (patch) | |
tree | 68f3ac5d3bc36faaa2e7d9ff20ab448083c0ca0d /src/test/WixToolsetTest.CoreIntegration/TestData | |
parent | 6008384f4ff8be1fec86861014fc392a6ddd4632 (diff) | |
download | wix-b71c36c6fdc44268de75540474c639b64e53f1b7.tar.gz wix-b71c36c6fdc44268de75540474c639b64e53f1b7.tar.bz2 wix-b71c36c6fdc44268de75540474c639b64e53f1b7.zip |
Add failing ManualUpgrade test for issue resolving RemoveExistingProducts.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/TestData')
4 files changed, 50 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/ManualUpgrade/Package.en-us.wxl b/src/test/WixToolsetTest.CoreIntegration/TestData/ManualUpgrade/Package.en-us.wxl new file mode 100644 index 00000000..38c12ac1 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/ManualUpgrade/Package.en-us.wxl | |||
@@ -0,0 +1,11 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | |||
3 | <!-- | ||
4 | This file contains the declaration of all the localizable strings. | ||
5 | --> | ||
6 | <WixLocalization xmlns="http://wixtoolset.org/schemas/v4/wxl" Culture="en-US"> | ||
7 | |||
8 | <String Id="DowngradeError">A newer version of [ProductName] is already installed.</String> | ||
9 | <String Id="FeatureTitle">MsiPackage</String> | ||
10 | |||
11 | </WixLocalization> | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/ManualUpgrade/Package.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/ManualUpgrade/Package.wxs new file mode 100644 index 00000000..d674eb59 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/ManualUpgrade/Package.wxs | |||
@@ -0,0 +1,28 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
3 | <Product Id="*" Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> | ||
4 | <Package InstallerVersion="200" Compressed="no" InstallScope="perMachine" /> | ||
5 | |||
6 | <Upgrade Id="01120000-00E0-0000-0000-0000000FF1CE"> | ||
7 | <UpgradeVersion ExcludeLanguages="no" IgnoreRemoveFailure="yes" IncludeMaximum="no" IncludeMinimum="yes" Maximum="13.0.0" Minimum="12.0.0" OnlyDetect="no" Property="BLAHBLAHBLAH" /> | ||
8 | </Upgrade> | ||
9 | |||
10 | <InstallExecuteSequence> | ||
11 | <RemoveExistingProducts After="InstallValidate" /> | ||
12 | </InstallExecuteSequence> | ||
13 | |||
14 | <MediaTemplate /> | ||
15 | |||
16 | <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)"> | ||
17 | <ComponentGroupRef Id="ProductComponents" /> | ||
18 | </Feature> | ||
19 | </Product> | ||
20 | |||
21 | <Fragment> | ||
22 | <Directory Id="TARGETDIR" Name="SourceDir"> | ||
23 | <Directory Id="ProgramFilesFolder"> | ||
24 | <Directory Id="INSTALLFOLDER" Name="MsiPackage" /> | ||
25 | </Directory> | ||
26 | </Directory> | ||
27 | </Fragment> | ||
28 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/ManualUpgrade/PackageComponents.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/ManualUpgrade/PackageComponents.wxs new file mode 100644 index 00000000..e26c4509 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/ManualUpgrade/PackageComponents.wxs | |||
@@ -0,0 +1,10 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
3 | <Fragment> | ||
4 | <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> | ||
5 | <Component> | ||
6 | <File Source="test.txt" /> | ||
7 | </Component> | ||
8 | </ComponentGroup> | ||
9 | </Fragment> | ||
10 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/ManualUpgrade/data/test.txt b/src/test/WixToolsetTest.CoreIntegration/TestData/ManualUpgrade/data/test.txt new file mode 100644 index 00000000..cd0db0e1 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/ManualUpgrade/data/test.txt | |||
@@ -0,0 +1 @@ | |||
This is test.txt. \ No newline at end of file | |||