aboutsummaryrefslogtreecommitdiff
path: root/src/ext/PowerShell/wixlib/PSExtension.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/PowerShell/wixlib/PSExtension.wxs')
-rw-r--r--src/ext/PowerShell/wixlib/PSExtension.wxs12
1 files changed, 12 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>