-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
41 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 28 additions & 12 deletions
40
src/ext/Iis/test/WixToolsetTest.Iis/TestData/UsingIis/PackageComponents.wxs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,32 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" | ||
xmlns:iis="http://wixtoolset.org/schemas/v4/wxs/iis"> | ||
<Fragment> | ||
<Property Id="PORT" Value="3062" /> | ||
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> | ||
<Component> | ||
<File Source="example.txt" /> | ||
<iis:WebSite Id="Test" Description="Test web server" Directory="TestWebSiteProductDirectory" AutoStart="yes" DirProperties="ReadAndExecute" ConfigureIfExists="no" > | ||
<iis:WebAddress Id="TestAddress" Port="[PORT]" Secure="no" /> | ||
</iis:WebSite> | ||
</Component> | ||
</ComponentGroup> | ||
<iis:WebDirProperties Id="ReadAndExecute" /> | ||
</Fragment> | ||
<Fragment> | ||
<Property Id="PORT" Value="3062" /> | ||
|
||
<Binary Id="MyCertBits" SourceFile="example.txt" /> | ||
|
||
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> | ||
<Component Id="MyCert" Guid=""> | ||
<iis:Certificate | ||
Id="Certificate.MyCert" | ||
Name="MyCert certificate" | ||
Request="no" | ||
StoreLocation="localMachine" | ||
StoreName="trustedPublisher" | ||
Overwrite="yes" | ||
BinaryRef="MyCertBits" /> | ||
</Component> | ||
|
||
<Component> | ||
<File Source="example.txt" /> | ||
|
||
<iis:WebSite Id="Test" Description="Test web server" Directory="TestWebSiteProductDirectory" AutoStart="yes" DirProperties="ReadAndExecute" ConfigureIfExists="no" > | ||
<iis:WebAddress Id="TestAddress" Port="[PORT]" Secure="no" /> | ||
</iis:WebSite> | ||
</Component> | ||
</ComponentGroup> | ||
|
||
<iis:WebDirProperties Id="ReadAndExecute" /> | ||
</Fragment> | ||
</Wix> |