VirtualBox

source: vbox/trunk/src/VBox/Installer/win/CommonProperties.wxi@ 77923

Last change on this file since 77923 was 72028, checked in by vboxsync, 7 years ago

Installer/win: Sigh, another W10 detection fix (stupid stupid MSI). bugref:8691

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 VirtualBox Windows Installation Script (WiX), common properties (private).
4
5 Copyright (C) 2014-2018 Oracle Corporation
6
7 This file is part of VirtualBox Open Source Edition (OSE), as
8 available from http://www.virtualbox.org. This file is free software;
9 you can redistribute it and/or modify it under the terms of the GNU
10 General Public License (GPL) as published by the Free Software
11 Foundation, in version 2 as it comes in the "COPYING" file of the
12 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
13 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
14-->
15
16<Include xmlns="http://schemas.microsoft.com/wix/2006/wix"
17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
18
19 <!-- MSI is soo messed up wrt NT versioning on Windows 10. msiexec runs in
20 Windows 8.1 compatibility mode, so everything returns 6.3 as the
21 version. This unfortunately include all system DLLs. Fortunately,
22 the build number is left as-is, so we ASSUME build numbers above 10000
23 means its Windows 10.
24 Note! "HKLM\Software\Microsoft\Windows NT\CurrentVersion\CurrentBuild" could
25 probably be read here as well (CurrentVersion is "6.3" of course). -->
26 <Property Id="VBOX_IS_WINDOWS_10" >
27 <DirectorySearch Id="DirSearchForWindows10NtDll" Path="[SystemFolder]" >
28 <FileSearch Name="kernelbase.dll" MinVersion="6.3.10000.000" />
29 </DirectorySearch>
30 </Property>
31
32</Include>
33
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette