aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Iis/test/WixToolsetTest.Iis/TestData/UsingIis
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2023-10-13 20:22:21 -0400
committerBob Arnson <github@bobs.org>2023-10-13 21:17:52 -0400
commitf5e164d513772726ef409921672045ae9cb10e8b (patch)
tree94c1d95df0ce8e55cda33b038b87ba6167e54b7e /src/ext/Iis/test/WixToolsetTest.Iis/TestData/UsingIis
parent0014af66faa541f70f84b22dc7aa5eea0d524d37 (diff)
downloadwix-f5e164d513772726ef409921672045ae9cb10e8b.tar.gz
wix-f5e164d513772726ef409921672045ae9cb10e8b.tar.bz2
wix-f5e164d513772726ef409921672045ae9cb10e8b.zip
Add cert and x64 tests.
Diffstat (limited to 'src/ext/Iis/test/WixToolsetTest.Iis/TestData/UsingIis')
-rw-r--r--src/ext/Iis/test/WixToolsetTest.Iis/TestData/UsingIis/Package.wxs4
-rw-r--r--src/ext/Iis/test/WixToolsetTest.Iis/TestData/UsingIis/PackageComponents.wxs40
2 files changed, 30 insertions, 14 deletions
diff --git a/src/ext/Iis/test/WixToolsetTest.Iis/TestData/UsingIis/Package.wxs b/src/ext/Iis/test/WixToolsetTest.Iis/TestData/UsingIis/Package.wxs
index f36aafef..affcff26 100644
--- a/src/ext/Iis/test/WixToolsetTest.Iis/TestData/UsingIis/Package.wxs
+++ b/src/ext/Iis/test/WixToolsetTest.Iis/TestData/UsingIis/Package.wxs
@@ -1,4 +1,4 @@
1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> 1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
2 <Package Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a" InstallerVersion="200"> 2 <Package Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a" InstallerVersion="200">
3 <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" /> 3 <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" />
4 4
@@ -8,7 +8,7 @@
8 </Package> 8 </Package>
9 9
10 <Fragment> 10 <Fragment>
11 <StandardDirectory Id="ProgramFilesFolder"> 11 <StandardDirectory Id="ProgramFiles6432Folder">
12 <Directory Id="INSTALLFOLDER" Name="MsiPackage"> 12 <Directory Id="INSTALLFOLDER" Name="MsiPackage">
13 <Directory Id="TestWebSiteProductDirectory" /> 13 <Directory Id="TestWebSiteProductDirectory" />
14 </Directory> 14 </Directory>
diff --git a/src/ext/Iis/test/WixToolsetTest.Iis/TestData/UsingIis/PackageComponents.wxs b/src/ext/Iis/test/WixToolsetTest.Iis/TestData/UsingIis/PackageComponents.wxs
index 03203b50..128f7d0d 100644
--- a/src/ext/Iis/test/WixToolsetTest.Iis/TestData/UsingIis/PackageComponents.wxs
+++ b/src/ext/Iis/test/WixToolsetTest.Iis/TestData/UsingIis/PackageComponents.wxs
@@ -1,16 +1,32 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" 2<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
3 xmlns:iis="http://wixtoolset.org/schemas/v4/wxs/iis"> 3 xmlns:iis="http://wixtoolset.org/schemas/v4/wxs/iis">
4 <Fragment> 4 <Fragment>
5 <Property Id="PORT" Value="3062" /> 5 <Property Id="PORT" Value="3062" />
6 <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> 6
7 <Component> 7 <Binary Id="MyCertBits" SourceFile="example.txt" />
8 <File Source="example.txt" /> 8
9 <iis:WebSite Id="Test" Description="Test web server" Directory="TestWebSiteProductDirectory" AutoStart="yes" DirProperties="ReadAndExecute" ConfigureIfExists="no" > 9 <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
10 <iis:WebAddress Id="TestAddress" Port="[PORT]" Secure="no" /> 10 <Component Id="MyCert" Guid="">
11 </iis:WebSite> 11 <iis:Certificate
12 </Component> 12 Id="Certificate.MyCert"
13 </ComponentGroup> 13 Name="MyCert certificate"
14 <iis:WebDirProperties Id="ReadAndExecute" /> 14 Request="no"
15 </Fragment> 15 StoreLocation="localMachine"
16 StoreName="trustedPublisher"
17 Overwrite="yes"
18 BinaryRef="MyCertBits" />
19 </Component>
20
21 <Component>
22 <File Source="example.txt" />
23
24 <iis:WebSite Id="Test" Description="Test web server" Directory="TestWebSiteProductDirectory" AutoStart="yes" DirProperties="ReadAndExecute" ConfigureIfExists="no" >
25 <iis:WebAddress Id="TestAddress" Port="[PORT]" Secure="no" />
26 </iis:WebSite>
27 </Component>
28 </ComponentGroup>
29
30 <iis:WebDirProperties Id="ReadAndExecute" />
31 </Fragment>
16</Wix> 32</Wix>