Skip to content

Commit

Permalink
Reworked Windows 10 detection in setup to comply with #4
Browse files Browse the repository at this point in the history
  • Loading branch information
nefarius committed Feb 18, 2021
1 parent 39879ad commit 20a5f26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Setup/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@
Root="HKLM"
Key="SOFTWARE\Microsoft\Windows NT\CurrentVersion"
Type="raw"
Name="ReleaseId"
Name="CurrentMajorVersionNumber"
Win64="$(var.Win64)"/>
</Property>

<!-- Abort on non-Windows 10 -->
<Condition Message="Windows 10 1607 (RS1) or newer required.">
<![CDATA[Installed OR (RELEASEID AND RELEASEID >= "1607")]]>
<Condition Message="This application can only be installed on Windows 10.">
<![CDATA[Installed OR (RELEASEID AND RELEASEID = "10")]]>
</Condition>

<!-- Custom action (DLL) to detect host radio -->
Expand Down

0 comments on commit 20a5f26

Please sign in to comment.