summaryrefslogtreecommitdiff
path: root/src/ext/PowerShell/wixlib
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2021-05-04 22:49:35 -0700
committerRob Mensching <rob@firegiant.com>2021-05-04 22:49:35 -0700
commit59765d27eb205b7b62a5057cfb631caee97f0af6 (patch)
tree0ef38df9efc55be04565b56eb9408d649862c16d /src/ext/PowerShell/wixlib
parent0a7de80d773dba9d93b64015934a92fd908824d7 (diff)
downloadwix-59765d27eb205b7b62a5057cfb631caee97f0af6.tar.gz
wix-59765d27eb205b7b62a5057cfb631caee97f0af6.tar.bz2
wix-59765d27eb205b7b62a5057cfb631caee97f0af6.zip
Move PowerShell.wixext into ext
Diffstat (limited to 'src/ext/PowerShell/wixlib')
-rw-r--r--src/ext/PowerShell/wixlib/PSExtension.wxs12
-rw-r--r--src/ext/PowerShell/wixlib/powershell.wixproj11
2 files changed, 23 insertions, 0 deletions
diff --git a/src/ext/PowerShell/wixlib/PSExtension.wxs b/src/ext/PowerShell/wixlib/PSExtension.wxs
new file mode 100644
index 00000000..a1f16ee6
--- /dev/null
+++ b/src/ext/PowerShell/wixlib/PSExtension.wxs
@@ -0,0 +1,12 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3
4
5<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
6 <!-- Gets the version of PowerShell installed. v1 and v2 share this key. -->
7 <Fragment>
8 <Property Id="POWERSHELLVERSION" Secure="yes">
9 <RegistrySearch Id="PowerShellVersionSearch" Root="HKLM" Key="SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine" Name="PowerShellVersion" Type="raw" />
10 </Property>
11 </Fragment>
12</Wix>
diff --git a/src/ext/PowerShell/wixlib/powershell.wixproj b/src/ext/PowerShell/wixlib/powershell.wixproj
new file mode 100644
index 00000000..6d6b413b
--- /dev/null
+++ b/src/ext/PowerShell/wixlib/powershell.wixproj
@@ -0,0 +1,11 @@
1<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
2<Project Sdk="WixToolset.Sdk">
3 <PropertyGroup>
4 <OutputType>Library</OutputType>
5 <BindFiles>true</BindFiles>
6 </PropertyGroup>
7
8 <ItemGroup>
9 <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" />
10 </ItemGroup>
11</Project>