VirtualBox

source: vbox/trunk/src/VBox/Installer/win/VBoxMergeApp.wxs@ 74430

Last change on this file since 74430 was 72020, checked in by vboxsync, 6 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: 3.6 KB
Line 
1<?xml version="1.0"?>
2<!--
3 VirtualBox Windows Installation Script (WiX)
4
5 Copyright (C) 2006-2015 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<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
18
19 <?include Properties.wxi ?>
20
21 <!-- Note: GUIDs in WiX *must* be uppercase! -->
22 <!-- Always include an upgrade ID or otherwise upgrade installation will not be possible. When doing
23 a major upgrade (more than just fixing a few files) change the product GUID. We always do a major
24 upgrade even for minor VBox updates. For that only change the product ID and the product version.
25 The upgrade code *never* must be changed! -->
26
27 <!-- Update / Upgrade policies:
28 Update Type Package Code Product Version Product Code Upgrade Code
29 Small update change don't change don't change don't change
30 Minor update change change don't change don't change
31 Major upgrade change change change don't change -->
32
33 <!-- Old product ID: <Product Id="B59FE77B-738F-4f1c-AB48-3104895AF676"
34 Old upgrade code of innotek: UpgradeCode="F5FFAEBF-97AE-4038-8F91-4DE719456127" -->
35
36 <Module Id="msm_VBoxApp"
37 Language="!(loc.LANG)"
38 Version="$(var.Property_Version)">
39
40 <Package Id="d255feb6-597d-4f49-a170-e34f289fa0d3"
41 Keywords="Installer, Setup"
42 Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) installation package"
43 Comments="$(env.VBOX_PRODUCT) installation package"
44 Manufacturer="$(env.VBOX_VENDOR)"
45 InstallerVersion="200"
46 AdminImage="yes"
47 InstallPrivileges="elevated"
48 Platform="$(var.Property_Platform)"
49 SummaryCodepage="1252"/>
50
51 <?include CommonProperties.wxi ?>
52 <?include PublicProperties.wxi ?>
53
54
55 <Property Id="local_VBOX_REGISTERFILEEXTENSIONS" Value="Empty" />
56 <Configuration Name="argRegesterExtensions" Format="Text" DefaultValue="Not passed"/>
57 <Substitution Table="CustomAction" Row="registerExtensions" Column="Target" Value="[=argRegesterExtensions]"/>
58 <CustomAction Id="registerExtensions" Property="local_VBOX_REGISTERFILEEXTENSIONS" Value="[local_VBOX_REGISTERFILEEXTENSIONS]" Execute="immediate" />
59
60 <!-- Here comes the file/directory list -->
61 <Directory Id="TARGETDIR" Name="SourceDir">
62 <Directory Id="msm_VBoxApplicationFolder" FileSource=".">
63
64 <?include VBoxMergeApp.wxi ?>
65
66 </Directory> <!-- msm_VBoxApplicationFolder directory -->
67 </Directory> <!-- TARGETDIR -->
68
69 <!-- Custom actions -->
70 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
71 <?include VBoxMergeAppCA.wxi ?>
72
73 <InstallExecuteSequence>
74 <Custom Action="registerExtensions" After="AppSearch"/>
75 <?include VBoxMergeAppSeq.wxi ?>
76 </InstallExecuteSequence>
77
78 </Module>
79</Wix>
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