diff options
Diffstat (limited to 'src/ext/PowerShell')
| -rw-r--r-- | src/ext/PowerShell/README.md | 54 | ||||
| -rw-r--r-- | src/ext/PowerShell/wixext/WixToolset.PowerShell.wixext.csproj | 5 |
2 files changed, 57 insertions, 2 deletions
diff --git a/src/ext/PowerShell/README.md b/src/ext/PowerShell/README.md index 6de236f7..7ee2f5e2 100644 --- a/src/ext/PowerShell/README.md +++ b/src/ext/PowerShell/README.md | |||
| @@ -1,2 +1,52 @@ | |||
| 1 | # PowerShell.wixext | 1 | # WixToolset.PowerShell.wixext - PowerShell WiX Toolset Extension |
| 2 | WixToolset.PowerShell.wixext - PowerShell WiX Toolset Extension | 2 | |
| 3 | This WiX Extension provides support for configuring PowerShell. | ||
| 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/6.0.0"> | ||
| 21 | <ItemGroup> | ||
| 22 | <PackageReference Include="WixToolset.PowerShell.wixext" Version="6.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:ps="http://wixtoolset.org/schemas/v4/wxs/powershell"> | ||
| 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/PowerShell/wixext/WixToolset.PowerShell.wixext.csproj b/src/ext/PowerShell/wixext/WixToolset.PowerShell.wixext.csproj index 812915a8..93ac837c 100644 --- a/src/ext/PowerShell/wixext/WixToolset.PowerShell.wixext.csproj +++ b/src/ext/PowerShell/wixext/WixToolset.PowerShell.wixext.csproj | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | <RootNamespace>WixToolset.PowerShell</RootNamespace> | 7 | <RootNamespace>WixToolset.PowerShell</RootNamespace> |
| 8 | <Description>WiX Toolset PowerShell Extension</Description> | 8 | <Description>WiX Toolset PowerShell Extension</Description> |
| 9 | <Title>WiX Toolset PowerShell Extension</Title> | 9 | <Title>WiX Toolset PowerShell 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)..\powershell.wixlib" /> | 17 | <EmbeddedResource Include="$(OutputPath)..\powershell.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\powershell.wixproj" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" /> | 25 | <ProjectReference Include="..\wixlib\powershell.wixproj" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" /> |
| 21 | </ItemGroup> | 26 | </ItemGroup> |
