VirtualBox

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

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

Installer/win: Trying to fix windows 10 detection. VersionNT stops at 603 because the microsoft buggers is running the MSI installer in 8.1 compatibilitiy mode or something similarlly stupid (go figure). Renamed Properties.wxi to Defines.wix (they're preprocessor defines, not properties) and added CommonProperties.wix for stuff like the new property that indicates whether we're installing on windows 10 (VBOX_IS_WINDOW_10). bugref:8691

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 VirtualBox Windows Installation Script (WiX), preprocessor defines.
4
5 Copyright (C) 2014-2016 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 <!-- TODO: Add "VBox" prefix! -->
20 <?define Property_RegKey = "Software\$(env.VBOX_VENDOR_SHORT)\VirtualBox" ?>
21 <?define Property_RegKeyInstall = "Software\$(env.VBOX_VENDOR_SHORT)\VirtualBox\Install" ?>
22 <?define Property_Upgrade = "yes" ?>
23 <?define Property_Version = "$(env.VBOX_VERSION_STRING_RAW)" ?>
24 <?define Property_VersionExt = "$(env.VBOX_VERSION_STRING)" ?>
25
26 <?if $(env.BUILD_TARGET_ARCH) = "amd64" ?>
27 <?define Property_ProgramFiles = "ProgramFiles64Folder" ?>
28 <?define Property_Platform = "x64" ?>
29 <?define Property_Win64 = "yes" ?>
30
31 <?if $(env.VBOX_SIGNING_MODE)!= none ?>
32 <?define Property_DriverLegacy = "no" ?>
33 <?else ?>
34 <?define Property_DriverLegacy = "yes" ?>
35 <?endif ?>
36
37 <?else ?>
38 <?define Property_ProgramFiles = "ProgramFilesFolder" ?>
39 <?define Property_Platform = "x86" ?>
40 <?define Property_Win64 = "no" ?>
41
42 <?if $(env.VBOX_SIGNING_MODE)!= none ?>
43 <!-- Note: Settings this to 'no' breaks Windows 2000 installs (!) -->
44 <?define Property_DriverLegacy = "yes" ?>
45 <?else ?>
46 <?define Property_DriverLegacy = "yes" ?>
47 <?endif ?>
48
49 <?endif ?>
50
51 <!-- If we build a combined installer (32- and 64-bit in one installer), we
52 use two installer "disks": One for all platform-specific stuff and one which
53 contains all common (platform independent) stuff (like manuals, bitmaps etc) -->
54 <?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
55 <?define Property_DiskIdCommon = "2" ?>
56 <?else ?>
57 <?define Property_DiskIdCommon = "1" ?>
58 <?endif ?>
59
60</Include>
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