1 | <!--
|
---|
2 | VirtualBox Windows Installation Script (WiX)
|
---|
3 | -->
|
---|
4 | <!--
|
---|
5 | Copyright (C) 2006-2023 Oracle and/or its affiliates.
|
---|
6 |
|
---|
7 | This file is part of VirtualBox base platform packages, as
|
---|
8 | available from https://www.virtualbox.org.
|
---|
9 |
|
---|
10 | This program is free software; you can redistribute it and/or
|
---|
11 | modify it under the terms of the GNU General Public License
|
---|
12 | as published by the Free Software Foundation, in version 3 of the
|
---|
13 | License.
|
---|
14 |
|
---|
15 | This program is distributed in the hope that it will be useful, but
|
---|
16 | WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
18 | General Public License for more details.
|
---|
19 |
|
---|
20 | You should have received a copy of the GNU General Public License
|
---|
21 | along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
22 |
|
---|
23 | SPDX-License-Identifier: GPL-3.0-only
|
---|
24 | -->
|
---|
25 |
|
---|
26 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
---|
27 |
|
---|
28 | <?include Defines.wxi ?>
|
---|
29 |
|
---|
30 | <!-- Note: GUIDs in WiX *must* be uppercase! -->
|
---|
31 | <!-- Always include an upgrade ID or otherwise upgrade installation will not be possible. When doing
|
---|
32 | a major upgrade (more than just fixing a few files) change the product GUID. We always do a major
|
---|
33 | upgrade even for minor VBox updates. For that only change the product ID and the product version.
|
---|
34 | The upgrade code *never* must be changed! -->
|
---|
35 |
|
---|
36 | <!-- Update / Upgrade policies:
|
---|
37 | Update Type Package Code Product Version Product Code Upgrade Code
|
---|
38 | Small update change don't change don't change don't change
|
---|
39 | Minor update change change don't change don't change
|
---|
40 | Major upgrade change change change don't change -->
|
---|
41 |
|
---|
42 | <!-- Old product ID: <Product Id="B59FE77B-738F-4f1c-AB48-3104895AF676"
|
---|
43 | Old upgrade code of innotek: UpgradeCode="F5FFAEBF-97AE-4038-8F91-4DE719456127" -->
|
---|
44 |
|
---|
45 | <Module Id="msm_VBoxApp" Language="!(loc.LANG)" Version="$(var.Property_Version)" Guid="d255feb6-597d-4f49-a170-e34f289fa0d3"
|
---|
46 | InstallerVersion="200">
|
---|
47 |
|
---|
48 | <SummaryInformation Keywords="Installer, Setup"
|
---|
49 | Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) installation package"
|
---|
50 | Manufacturer="$(env.VBOX_VENDOR)" />
|
---|
51 |
|
---|
52 | <?include CommonProperties.wxi ?>
|
---|
53 | <?include PublicProperties.wxi ?>
|
---|
54 |
|
---|
55 | <Property Id="VBOX_REGISTERFILEEXTENSIONS" Value="Empty" />
|
---|
56 | <Configuration Name="argRegisterExtensions" Format="Text" DefaultValue="Not passed" />
|
---|
57 | <Substitution Table="CustomAction" Row="registerExtensions" Column="Target" Value="[=argRegisterExtensions]" />
|
---|
58 | <CustomAction Id="registerExtensions" Property="VBOX_REGISTERFILEEXTENSIONS" Value="[VBOX_REGISTERFILEEXTENSIONS]" Execute="immediate" />
|
---|
59 |
|
---|
60 | <!-- Here comes the file/directory list -->
|
---|
61 | <!-- TARGETDIR -->
|
---|
62 |
|
---|
63 | <!-- Custom actions -->
|
---|
64 | <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
|
---|
65 | <?include VBoxMergeAppCA.wxi ?>
|
---|
66 |
|
---|
67 | <InstallExecuteSequence>
|
---|
68 | <Custom Action="registerExtensions" After="AppSearch" />
|
---|
69 | <?include VBoxMergeAppSeq.wxi ?>
|
---|
70 | </InstallExecuteSequence>
|
---|
71 |
|
---|
72 |
|
---|
73 | <Directory Id="msm_VBoxApplicationFolder" FileSource=".">
|
---|
74 |
|
---|
75 | <?include VBoxMergeApp.wxi ?>
|
---|
76 |
|
---|
77 | </Directory> <!-- msm_VBoxApplicationFolder directory -->
|
---|
78 | </Module>
|
---|
79 | </Wix>
|
---|