diff options
Diffstat (limited to 'src/ext/Iis')
-rw-r--r-- | src/ext/Iis/README.md | 54 | ||||
-rw-r--r-- | src/ext/Iis/iis_t.proj | 6 | ||||
-rw-r--r-- | src/ext/Iis/wixext/IIsCompiler.cs | 2 | ||||
-rw-r--r-- | src/ext/Iis/wixext/WixToolset.Iis.wixext.csproj | 5 |
4 files changed, 63 insertions, 4 deletions
diff --git a/src/ext/Iis/README.md b/src/ext/Iis/README.md index ddb21a82..f9fb96c3 100644 --- a/src/ext/Iis/README.md +++ b/src/ext/Iis/README.md | |||
@@ -1,2 +1,52 @@ | |||
1 | # Iis.wixext | 1 | # WixToolset.Iis.wixext - IIS WiX Toolset Extension |
2 | WixToolset.Iis.wixext - Iis WiX Toolset Extension | 2 | |
3 | This WiX Extension provides support for configuring IIS. | ||
4 | |||
5 | [Web Site][web] | [Documentation][docs] | [Issue Tracker][issues] | [Discussions][discussions] | ||
6 | |||
7 | |||
8 | ## Open Source Maintenance Fee | ||
9 | |||
10 | To ensure the long-term sustainability of this project, users of this package who generate revenue must pay an [Open Source Maintenance Fee][osmf]. While the source code is freely available under the terms of the [LICENSE][license], this package and other aspects of the project require [adherence to the Open Source Maintenance Fee EULA][eula]. | ||
11 | |||
12 | To pay the Maintenance Fee, [become a Sponsor](https://github.com/sponsors/wixtoolset). | ||
13 | |||
14 | |||
15 | ## Getting started | ||
16 | |||
17 | Add the WiX Extension as a PackageReference to your .wixproj: | ||
18 | |||
19 | ``` | ||
20 | <Project Sdk="WixToolset.Sdk/7.0.0"> | ||
21 | <ItemGroup> | ||
22 | <PackageReference Include="WixToolset.Iis.wixext" Version="7.0.0" /> | ||
23 | </ItemGroup> | ||
24 | </Project> | ||
25 | ``` | ||
26 | |||
27 | Then add the extension's namespace: | ||
28 | |||
29 | ``` | ||
30 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" | ||
31 | xmlns:iis="http://wixtoolset.org/schemas/v4/wxs/iis"> | ||
32 | |||
33 | .. | ||
34 | </Wix> | ||
35 | ``` | ||
36 | |||
37 | ## Additional resources | ||
38 | |||
39 | * [WiX Website][web] | ||
40 | * [WiX Documentation][docs] | ||
41 | * [WiX Issue Tracker][issues] | ||
42 | * [WiX Discussions][discussions] | ||
43 | |||
44 | |||
45 | [web]: https://www.firegiant.com/wixtoolset/ | ||
46 | [docs]: https://docs.firegiant.com/wixtoolset/ | ||
47 | [issues]: https://github.com/wixtoolset/issues/issues | ||
48 | [discussions]: https://github.com/orgs/wixtoolset/discussions | ||
49 | [sdk]: https://www.nuget.org/packages/WixToolset.Sdk/ | ||
50 | [osmf]: https://opensourcemaintenancefee.org/ | ||
51 | [license]: https://github.com/wixtoolset/wix/blob/main/LICENSE.TXT | ||
52 | [eula]: https://github.com/wixtoolset/wix/blob/main/OSMFEULA.txt | ||
diff --git a/src/ext/Iis/iis_t.proj b/src/ext/Iis/iis_t.proj index 2238d785..2e05f3f1 100644 --- a/src/ext/Iis/iis_t.proj +++ b/src/ext/Iis/iis_t.proj | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | <Project Sdk="Microsoft.Build.Traversal"> | 4 | <Project Sdk="Microsoft.Build.Traversal"> |
5 | <ItemGroup> | 5 | <ItemGroup> |
6 | <ProjectReference Include="test\WixToolsetTest.Iis\WixToolsetTest.Iis.csproj" Targets="Test" /> | 6 | <ProjectReference Include="test\WixToolsetTest.Iis\WixToolsetTest.Iis.csproj" /> |
7 | <ProjectReference Include="wixext\WixToolset.Iis.wixext.csproj" Targets="Pack" Properties="NoBuild=true" /> | 7 | <ProjectReference Include="wixext\WixToolset.Iis.wixext.csproj" Targets="Pack" Properties="NoBuild=true" /> |
8 | </ItemGroup> | 8 | </ItemGroup> |
9 | 9 | ||
@@ -14,4 +14,8 @@ | |||
14 | 14 | ||
15 | <Delete Files="$(ArtifactsFolder)WixToolset.Iis.wixext.*.nupkg" /> | 15 | <Delete Files="$(ArtifactsFolder)WixToolset.Iis.wixext.*.nupkg" /> |
16 | </Target> | 16 | </Target> |
17 | |||
18 | <Target Name="WixTest"> | ||
19 | <MSBuild Projects="test\WixToolsetTest.Iis\WixToolsetTest.Iis.csproj" Targets="Test" /> | ||
20 | </Target> | ||
17 | </Project> | 21 | </Project> |
diff --git a/src/ext/Iis/wixext/IIsCompiler.cs b/src/ext/Iis/wixext/IIsCompiler.cs index 5e3c0a95..53160dcd 100644 --- a/src/ext/Iis/wixext/IIsCompiler.cs +++ b/src/ext/Iis/wixext/IIsCompiler.cs | |||
@@ -219,7 +219,7 @@ namespace WixToolset.Iis | |||
219 | break; | 219 | break; |
220 | default: | 220 | default: |
221 | storeLocation = -1; | 221 | storeLocation = -1; |
222 | this.Messaging.Write(ErrorMessages.IllegalAttributeValue(sourceLineNumbers, element.Name.LocalName, "StoreLocation", storeLocationValue, "currentUser", "localMachine")); | 222 | this.Messaging.Write(ErrorMessages.IllegalAttributeValue(sourceLineNumbers, element.Name.LocalName, "StoreLocation", storeLocationValue, "currentUser", "localMachine", "services", "users", "userPolicy", "localMachinePolicy", "localMachineEnterprise")); |
223 | break; | 223 | break; |
224 | } | 224 | } |
225 | } | 225 | } |
diff --git a/src/ext/Iis/wixext/WixToolset.Iis.wixext.csproj b/src/ext/Iis/wixext/WixToolset.Iis.wixext.csproj index 79c8dae7..72d32cfa 100644 --- a/src/ext/Iis/wixext/WixToolset.Iis.wixext.csproj +++ b/src/ext/Iis/wixext/WixToolset.Iis.wixext.csproj | |||
@@ -7,6 +7,7 @@ | |||
7 | <RootNamespace>WixToolset.Iis</RootNamespace> | 7 | <RootNamespace>WixToolset.Iis</RootNamespace> |
8 | <Description>WiX Toolset Iis Extension</Description> | 8 | <Description>WiX Toolset Iis Extension</Description> |
9 | <Title>WiX Toolset Iis Extension</Title> | 9 | <Title>WiX Toolset Iis Extension</Title> |
10 | <PackageReadmeFile>README.md</PackageReadmeFile> | ||
10 | <DebugType>embedded</DebugType> | 11 | <DebugType>embedded</DebugType> |
11 | </PropertyGroup> | 12 | </PropertyGroup> |
12 | 13 | ||
@@ -16,6 +17,10 @@ | |||
16 | <EmbeddedResource Include="$(OutputPath)..\iis.wixlib" /> | 17 | <EmbeddedResource Include="$(OutputPath)..\iis.wixlib" /> |
17 | </ItemGroup> | 18 | </ItemGroup> |
18 | 19 | ||
20 | <ItemGroup> | ||
21 | <None Include="..\README.md" Pack="true" PackagePath="\" /> | ||
22 | </ItemGroup> | ||
23 | |||
19 | <ItemGroup Condition=" '$(NCrunch)'=='' "> | 24 | <ItemGroup Condition=" '$(NCrunch)'=='' "> |
20 | <ProjectReference Include="..\wixlib\iis.wixproj" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" /> | 25 | <ProjectReference Include="..\wixlib\iis.wixproj" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" /> |
21 | </ItemGroup> | 26 | </ItemGroup> |