1 | <!--
|
---|
2 | VirtualBox Windows Installation Script (WiX)
|
---|
3 |
|
---|
4 | Copyright (C) 2006-2016 Oracle Corporation
|
---|
5 |
|
---|
6 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
7 | available from http://www.virtualbox.org. This file is free software;
|
---|
8 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
9 | General Public License (GPL) as published by the Free Software
|
---|
10 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
11 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
12 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
13 | -->
|
---|
14 |
|
---|
15 | <Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
---|
16 | xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
|
---|
17 |
|
---|
18 | <?ifdef env.VBOX_QT_INFIX ?>
|
---|
19 | <?define VBOX_QT_INFIX="$(env.VBOX_QT_INFIX)" ?>
|
---|
20 | <?else?>
|
---|
21 | <?define VBOX_QT_INFIX="" ?>
|
---|
22 | <?endif?>
|
---|
23 |
|
---|
24 | <?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
|
---|
25 | <Directory Id="dir_VBoxAppDocuments" Name="doc">
|
---|
26 | <!-- The documentation is a separate component. This allows to split the install process
|
---|
27 | into pieces if ever necessary. Maintenance is easier, too. The following component
|
---|
28 | will be installed in the "doc" folder -->
|
---|
29 | <Component Id="cp_Docs" Guid="40BD12C5-89A8-4B81-8A5E-5EEE2C2763C4"
|
---|
30 | Win64="$(var.Property_Win64)">
|
---|
31 | <?include $(env.PATH_TARGET)\Files_Doc.wxi ?>
|
---|
32 | </Component>
|
---|
33 | </Directory>
|
---|
34 | <?endif ?>
|
---|
35 | <!-- Device driver directory -->
|
---|
36 | <Directory Id="dir_VBoxAppDrivers" Name="drivers">
|
---|
37 | <Directory Id="dir_VBoxAppVBoxDrv" Name="vboxdrv">
|
---|
38 | <Component Id="cp_VBoxDrv" Guid="D3E2F2BB-569F-46A2-836C-BDF30FF1EDF8" Win64="$(var.Property_Win64)">
|
---|
39 | <difxapp:Driver AddRemovePrograms="no" ForceInstall="yes" DeleteFiles="yes"
|
---|
40 | Legacy="$(var.Property_DriverLegacy)" Sequence="2" PlugAndPlayPrompt="no"/>
|
---|
41 | <File Id="file_VBoxDrv.sys" Name="VBoxDrv.sys" KeyPath="yes"
|
---|
42 | Source="$(env.PATH_OUT)\bin\VBoxDrv.sys"/>
|
---|
43 | <File Id="file_VBoxDrv.inf" Name="VBoxDrv.inf"
|
---|
44 | Source="$(env.PATH_OUT)\bin\VBoxDrv.inf" />
|
---|
45 | <?if $(env.VBOX_SIGNING_MODE)!= none ?>
|
---|
46 | <File Id="file_VBoxDrv.cat" Name="VBoxDrv.cat"
|
---|
47 | Source="$(env.PATH_OUT)\bin\VBoxDrv.cat" />
|
---|
48 | <?endif ?>
|
---|
49 | </Component>
|
---|
50 | </Directory>
|
---|
51 | </Directory> <!-- Directory "drivers" -->
|
---|
52 |
|
---|
53 | <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
|
---|
54 | <!-- National Language Support directory -->
|
---|
55 | <Directory Id="dir_VBoxAppNLS" Name="nls">
|
---|
56 | <Component Id="cp_NLS" Guid="D63517D7-1CF3-4D06-B3EE-C561E323069B" Win64="$(var.Property_Win64)">
|
---|
57 | <!-- Include the autogenerated NLS file list -->
|
---|
58 | <?include $(env.PATH_TARGET)\VBoxGuiNLS.wxi ?>
|
---|
59 | </Component>
|
---|
60 | </Directory>
|
---|
61 | <?endif ?>
|
---|
62 |
|
---|
63 | <!-- COM components have a separate entry mainly because of the KeyPath attribute (that hints the
|
---|
64 | TypeLib element where to take the TLB resource from) may appear only once per component -->
|
---|
65 | <Component Id="cp_MainCOM" Guid="CD4A3C6C-C2D5-428D-90A1-B6DA3D0777D6" Win64="$(var.Property_Win64)">
|
---|
66 |
|
---|
67 | <!-- Note: This file ID *must not* be changed because of our typelib template generation file! -->
|
---|
68 | <File Id="VBoxSVC" Name="VBoxSVC.exe"
|
---|
69 | Source="$(env.PATH_OUT)\bin\VBoxSVC.exe">
|
---|
70 | </File>
|
---|
71 |
|
---|
72 | <!-- We set KeyPath on this file to instruct TypeLib to read the TLB resource from it
|
---|
73 | and create appropriate Interface registry entries. Note that the same TLB is present
|
---|
74 | in VBoxSVC.exe - it's just a matter of choice which one to use -->
|
---|
75 | <!-- Note: This file ID *must not* be changed because of our typelib template generation file! -->
|
---|
76 | <File Id="VBoxC" Name="VBoxC.dll"
|
---|
77 | Source="$(env.PATH_OUT)\bin\VBoxC.dll" KeyPath="yes">
|
---|
78 | </File>
|
---|
79 |
|
---|
80 | <?if $(env.VBOX_WITH_MIDL_PROXY_STUB) != "yes" ?>
|
---|
81 | <!-- Include the auto-generated TypeLib block -->
|
---|
82 | <?include $(env.PATH_TARGET)\VirtualBox_TypeLib.wxi ?>
|
---|
83 | <?endif?>
|
---|
84 |
|
---|
85 | <?if $(env.VBOX_WITH_SDS) = "yes" ?>
|
---|
86 | <File Id="VBoxSDS" Name="VBoxSDS.exe"
|
---|
87 | Source="$(env.PATH_OUT)\bin\VBoxSDS.exe">
|
---|
88 | </File>
|
---|
89 | <?endif?>
|
---|
90 | </Component>
|
---|
91 |
|
---|
92 | <?if $(env.VBOX_WITH_MIDL_PROXY_STUB) = "yes" ?>
|
---|
93 |
|
---|
94 | <Component Id="cp_ProxyStub" Guid="CDD09BA4-8D87-4383-DCA6-1CCCF9D11091" Win64="$(var.Property_Win64)">
|
---|
95 | <!-- Only install this proxy stub DLL on Windows 7 and later (OLE32.ObjectStublessClientXX imports). -->
|
---|
96 | <Condition><![CDATA[(VersionNT >= 601)]]></Condition>
|
---|
97 | <File Id="file_VBoxProxyStub" Name="VBoxProxyStub.dll" KeyPath="yes"
|
---|
98 | Source="$(env.PATH_OUT)\bin\VBoxProxyStub.dll">
|
---|
99 | <Class Id="$(env.VBOX_MIDL_PROXY_CLSID)" Context="InprocServer32"
|
---|
100 | Description="PSFactoryBuffer" ThreadingModel="both" />
|
---|
101 | </File>
|
---|
102 | <?include $(env.PATH_TARGET)\VirtualBox_TypeLib.wxi ?>
|
---|
103 | </Component>
|
---|
104 |
|
---|
105 | <Component Id="cp_ProxyStubLegacy" Guid="97F12055-5B6D-481C-E8CD-F41D8C733280" Win64="$(var.Property_Win64)">
|
---|
106 | <!-- Only install this proxy stub DLL pre-Windows 7 (AMD64: legacy NDR stuff; Both: No ObjectStublessClientXX). -->
|
---|
107 | <Condition><![CDATA[(VersionNT < 601)]]></Condition>
|
---|
108 | <File Id="file_VBoxProxyStubLegacy" Name="VBoxProxyStubLegacy.dll" KeyPath="yes"
|
---|
109 | Source="$(env.PATH_OUT)\bin\VBoxProxyStubLegacy.dll">
|
---|
110 | <Class Id="$(env.VBOX_MIDL_PROXY_CLSID)" Context="InprocServer32"
|
---|
111 | Description="PSFactoryBuffer" ThreadingModel="both" />
|
---|
112 | </File>
|
---|
113 | <?include $(env.PATH_TARGET)\VirtualBox_TypeLib.wxi ?>
|
---|
114 | </Component>
|
---|
115 |
|
---|
116 | <?endif?>
|
---|
117 |
|
---|
118 | <?include $(env.PATH_TARGET)\DirComponentsAndFiles_DTrace.wxi ?>
|
---|
119 |
|
---|
120 |
|
---|
121 | <!---->
|
---|
122 |
|
---|
123 | <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
|
---|
124 | <Component Id="cp_RegisterExtensions" Guid="FEB8943E-5D60-4E2D-846F-458207019D40"
|
---|
125 | Win64="$(var.Property_Win64)" KeyPath="yes">
|
---|
126 |
|
---|
127 | <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
|
---|
128 | <Condition><![CDATA[(local_VBOX_REGISTERFILEEXTENSIONS="1")]]></Condition>
|
---|
129 | <?else ?>
|
---|
130 | <Condition><![CDATA[(VBOX_REGISTERFILEEXTENSIONS)]]></Condition>
|
---|
131 | <?endif ?>
|
---|
132 |
|
---|
133 | <!-- Register file extensions. Note: Extension IDs *must not* be changed! These specify the actual
|
---|
134 | file extension to handle. Also, here would be the place to add more fancy DDE stuff later.
|
---|
135 | Important: The IDs in "IconIndex" *must* be matching "Resources\resource.h" -->
|
---|
136 | <ProgId Id="progId_VirtualBox.Shell.vbox" Description="VirtualBox Machine Definition" Icon="file_VBoxRes.dll" IconIndex="-201">
|
---|
137 | <Extension Id="vbox" ContentType="application/x-virtualbox-vbox">
|
---|
138 | <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument=""%1"" />
|
---|
139 | </Extension>
|
---|
140 | </ProgId>
|
---|
141 | <ProgId Id="progId_VirtualBox.Shell.vbox-extpack" Description="VirtualBox Extension Pack" Icon="file_VBoxRes.dll" IconIndex="-202">
|
---|
142 | <Extension Id="vbox-extpack" ContentType="application/x-virtualbox-vbox-extpack">
|
---|
143 | <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument=""%1"" />
|
---|
144 | </Extension>
|
---|
145 | </ProgId>
|
---|
146 | <ProgId Id="progId_VirtualBox.Shell.ovf" Description="Open Virtualization Format" Icon="file_VBoxRes.dll" IconIndex="-301">
|
---|
147 | <Extension Id="ovf" ContentType="application/x-virtualbox-ovf">
|
---|
148 | <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument=""%1"" />
|
---|
149 | </Extension>
|
---|
150 | </ProgId>
|
---|
151 | <ProgId Id="progId_VirtualBox.Shell.ova" Description="Open Virtualization Format Archive" Icon="file_VBoxRes.dll" IconIndex="-302">
|
---|
152 | <Extension Id="ova" ContentType="application/x-virtualbox-ova">
|
---|
153 | <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument=""%1"" />
|
---|
154 | </Extension>
|
---|
155 | </ProgId>
|
---|
156 | <ProgId Id="progId_VirtualBox.Shell.vdi" Description="Virtual Disk Image" Icon="file_VBoxRes.dll" IconIndex="-303">
|
---|
157 | <Extension Id="vdi" ContentType="application/x-virtualbox-vdi" />
|
---|
158 | </ProgId>
|
---|
159 | <ProgId Id="progId_VirtualBox.Shell.vmdk" Description="Virtual Machine Disk Format" Icon="file_VBoxRes.dll" IconIndex="-304">
|
---|
160 | <Extension Id="vmdk" ContentType="application/x-virtualbox-vmdk" />
|
---|
161 | </ProgId>
|
---|
162 | <ProgId Id="progId_VirtualBox.Shell.vhd" Description="Virtual Hard Disk" Icon="file_VBoxRes.dll" IconIndex="-305">
|
---|
163 | <Extension Id="vhd" ContentType="application/x-virtualbox-vhd" />
|
---|
164 | </ProgId>
|
---|
165 | <ProgId Id="progId_VirtualBox.Shell.hdd" Description="Virtual Hard Disk" Icon="file_VBoxRes.dll" IconIndex="-306">
|
---|
166 | <Extension Id="hdd" ContentType="application/x-virtualbox-hdd" />
|
---|
167 | </ProgId>
|
---|
168 | </Component> <!-- cp_RegisterExtensions -->
|
---|
169 | <?endif ?>
|
---|
170 |
|
---|
171 | <!-- All Binaries, DLLs (except COM) and drivers are in one component because they belong together. Additional
|
---|
172 | binaries e.g. test tools, utilities etc. should be in another component so they"re clearly separated -->
|
---|
173 | <Component Id="cp_MainBinaries" Guid="5C8FE57A-F744-4DE0-AA3F-A563F486AD98" Win64="$(var.Property_Win64)">
|
---|
174 |
|
---|
175 | <!-- Set required environment variables -->
|
---|
176 | <Environment Id="env_VBoxInstallDir" Action="set" Name="VBOX_MSI_INSTALL_PATH"
|
---|
177 | System="yes" Part="last" Permanent="no" Value="[msm_VBoxApplicationFolder]" />
|
---|
178 |
|
---|
179 | <!-- Files -->
|
---|
180 | <?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
|
---|
181 | <!-- Include all user manual .CHM files (file is generated by makefile) -->
|
---|
182 | <?include $(env.PATH_TARGET)\Files_Main.wxi ?>
|
---|
183 | <?endif ?>
|
---|
184 | <!-- Include all license files (file is generated by makefile) -->
|
---|
185 | <?include $(env.PATH_TARGET)\Files_License.wxi ?>
|
---|
186 |
|
---|
187 | <!-- Frontends -->
|
---|
188 | <File Id="file_VBoxManage.exe" Name="VBoxManage.exe"
|
---|
189 | Source="$(env.PATH_OUT)\bin\VBoxManage.exe" />
|
---|
190 | <File Id="file_VBoxHeadless.exe" Name="VBoxHeadless.exe"
|
---|
191 | Source="$(env.PATH_OUT)\bin\VBoxHeadless.exe" />
|
---|
192 | <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
|
---|
193 | <File Id="file_VBoxHeadless.dll" Name="VBoxHeadless.dll"
|
---|
194 | Source="$(env.PATH_OUT)\bin\VBoxHeadless.dll">
|
---|
195 | </File>
|
---|
196 | <?endif ?>
|
---|
197 | <File Id="file_VBoxBalloonCtrl.exe" Name="VBoxBalloonCtrl.exe"
|
---|
198 | Source="$(env.PATH_OUT)\bin\VBoxBalloonCtrl.exe"/>
|
---|
199 | <File Id="file_VBoxBugReport.exe" Name="VBoxBugReport.exe"
|
---|
200 | Source="$(env.PATH_OUT)\bin\VBoxBugReport.exe"/>
|
---|
201 | <File Id="file_vbox_img.exe" Name="vbox-img.exe"
|
---|
202 | Source="$(env.PATH_OUT)\bin\vbox-img.exe"/>
|
---|
203 |
|
---|
204 | <!-- Misc tools -->
|
---|
205 | <File Id="file_VBoxNetDHCP.exe" Name="VBoxNetDHCP.exe"
|
---|
206 | Source="$(env.PATH_OUT)\bin\VBoxNetDHCP.exe"/>
|
---|
207 | <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
|
---|
208 | <File Id="file_VBoxNetDHCP.dll" Name="VBoxNetDHCP.dll"
|
---|
209 | Source="$(env.PATH_OUT)\bin\VBoxNetDHCP.dll">
|
---|
210 | </File>
|
---|
211 | <?endif ?>
|
---|
212 | <File Id="file_VBoxNetNAT.exe" Name="VBoxNetNAT.exe"
|
---|
213 | Source="$(env.PATH_OUT)\bin\VBoxNetNAT.exe"/>
|
---|
214 | <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
|
---|
215 | <File Id="file_VBoxNetNAT.dll" Name="VBoxNetNAT.dll"
|
---|
216 | Source="$(env.PATH_OUT)\bin\VBoxNetNAT.dll">
|
---|
217 | </File>
|
---|
218 | <?endif ?>
|
---|
219 | <?if $(env.VBOX_WITH_EXTPACK) = "yes" ?>
|
---|
220 | <File Id="file_VBoxExtPackHelperApp.exe" Name="VBoxExtPackHelperApp.exe"
|
---|
221 | Source="$(env.PATH_OUT)\bin\VBoxExtPackHelperApp.exe"/>
|
---|
222 | <?endif ?>
|
---|
223 | <?if $(env.VBOX_WITH_DTRACE) = "yes" ?>
|
---|
224 | <File Id="file_VBoxDTrace.exe" Name="VBoxDTrace.exe" Source="$(env.PATH_OUT)\bin\VBoxDTrace.exe" />
|
---|
225 | <?endif ?>
|
---|
226 | <!-- VBox DLL files -->
|
---|
227 | <File Id="file_VBoxDD.dll" Name="VBoxDD.dll"
|
---|
228 | Source="$(env.PATH_OUT)\bin\VBoxDD.dll" />
|
---|
229 | <File Id="file_VBoxDD2.dll" Name="VBoxDD2.dll"
|
---|
230 | Source="$(env.PATH_OUT)\bin\VBoxDD2.dll" />
|
---|
231 | <File Id="file_VBoxDDU.dll" Name="VBoxDDU.dll"
|
---|
232 | Source="$(env.PATH_OUT)\bin\VBoxDDU.dll" />
|
---|
233 | <File Id="file_VBoxRT.dll" Name="VBoxRT.dll"
|
---|
234 | Source="$(env.PATH_OUT)\bin\VBoxRT.dll" />
|
---|
235 | <File Id="file_VBoxREM.dll" Name="VBoxREM.dll"
|
---|
236 | Source="$(env.PATH_OUT)\bin\VBoxREM.dll" />
|
---|
237 | <?if $(env.BUILD_TARGET_ARCH) = "x86" ?>
|
---|
238 | <File Id="file_VBoxREM32.dll" Name="VBoxREM32.dll"
|
---|
239 | Source="$(env.PATH_OUT)\bin\VBoxREM32.dll" />
|
---|
240 | <File Id="file_VBoxREM64.dll" Name="VBoxREM64.dll"
|
---|
241 | Source="$(env.PATH_OUT)\bin\VBoxREM64.dll" />
|
---|
242 | <?endif ?>
|
---|
243 | <File Id="file_VBoxSupLib.dll" Name="VBoxSupLib.dll"
|
---|
244 | Source="$(env.PATH_OUT)\bin\VBoxSupLib.dll" />
|
---|
245 | <File Id="file_VBoxVMM.dll" Name="VBoxVMM.dll"
|
---|
246 | Source="$(env.PATH_OUT)\bin\VBoxVMM.dll" />
|
---|
247 | <?if $(env.VBOX_WITH_VRDP) = "yes" ?>
|
---|
248 | <File Id="file_VBoxVRDP.dll" Name="VBoxVRDP.dll"
|
---|
249 | Source="$(env.PATH_OUT)\bin\VBoxVRDP.dll" />
|
---|
250 | <?endif ?>
|
---|
251 | <File Id="file_VBoxSharedFolders.dll" Name="VBoxSharedFolders.dll"
|
---|
252 | Source="$(env.PATH_OUT)\bin\VBoxSharedFolders.dll" />
|
---|
253 | <File Id="file_VBoxSharedClipboard.dll" Name="VBoxSharedClipboard.dll"
|
---|
254 | Source="$(env.PATH_OUT)\bin\VBoxSharedClipboard.dll" />
|
---|
255 | <?if $(env.VBOX_WITH_DRAG_AND_DROP)= "yes" ?>
|
---|
256 | <File Id="file_VBoxDragAndDropSvc.dll" Name="VBoxDragAndDropSvc.dll"
|
---|
257 | Source="$(env.PATH_OUT)\bin\VBoxDragAndDropSvc.dll" />
|
---|
258 | <?endif ?>
|
---|
259 | <?if $(env.VBOX_WITH_GUEST_PROPS) = "yes" ?>
|
---|
260 | <File Id="file_VBoxGuestPropSvc.dll" Name="VBoxGuestPropSvc.dll"
|
---|
261 | Source="$(env.PATH_OUT)\bin\VBoxGuestPropSvc.dll" />
|
---|
262 | <?endif ?>
|
---|
263 | <?if $(env.VBOX_WITH_GUEST_CONTROL) = "yes" ?>
|
---|
264 | <File Id="file_VBoxGuestControlSvc.dll" Name="VBoxGuestControlSvc.dll"
|
---|
265 | Source="$(env.PATH_OUT)\bin\VBoxGuestControlSvc.dll" />
|
---|
266 | <?endif ?>
|
---|
267 | <File Id="file_VBoxHostChannel.dll" Name="VBoxHostChannel.dll"
|
---|
268 | Source="$(env.PATH_OUT)\bin\VBoxHostChannel.dll" />
|
---|
269 | <File Id="file_VBoxAuth.dll" Name="VBoxAuth.dll"
|
---|
270 | Source="$(env.PATH_OUT)\bin\VBoxAuth.dll" />
|
---|
271 | <File Id="file_VBoxAuthSimple.dll" Name="VBoxAuthSimple.dll"
|
---|
272 | Source="$(env.PATH_OUT)\bin\VBoxAuthSimple.dll" />
|
---|
273 |
|
---|
274 | <!-- Include resource DLL (icons, ...) -->
|
---|
275 | <File Id="file_VBoxRes.dll" Name="VBoxRes.dll"
|
---|
276 | Source="$(env.PATH_OUT)\bin\VBoxRes.dll" />
|
---|
277 |
|
---|
278 | <File Id="file_VMMRC.rc" Name="VMMRC.rc"
|
---|
279 | Source="$(env.PATH_OUT)\bin\VMMRC.rc" />
|
---|
280 | <File Id="file_VBoxDDRC.rc" Name="VBoxDDRC.rc"
|
---|
281 | Source="$(env.PATH_OUT)\bin\VBoxDDRC.rc" />
|
---|
282 | <File Id="file_VBoxDD2RC.rc" Name="VBoxDD2RC.rc"
|
---|
283 | Source="$(env.PATH_OUT)\bin\VBoxDD2RC.rc" />
|
---|
284 |
|
---|
285 | <File Id="file_VMMR0.r0" Name="VMMR0.r0"
|
---|
286 | Source="$(env.PATH_OUT)\bin\VMMR0.r0" />
|
---|
287 | <File Id="file_VBoxDDR0.r0" Name="VBoxDDR0.r0"
|
---|
288 | Source="$(env.PATH_OUT)\bin\VBoxDDR0.r0" />
|
---|
289 | <File Id="file_VBoxDD2R0.r0" Name="VBoxDD2R0.r0"
|
---|
290 | Source="$(env.PATH_OUT)\bin\VBoxDD2R0.r0" />
|
---|
291 |
|
---|
292 | <?if $(env.VBOX_WITH_CROGL) = "yes" ?>
|
---|
293 | <File Id="file_VBoxTestOGL.exe" Name="VBoxTestOGL.exe"
|
---|
294 | Source="$(env.PATH_OUT)\bin\VBoxTestOGL.exe" />
|
---|
295 | <?endif ?>
|
---|
296 | <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
|
---|
297 | <!-- Qt frontend -->
|
---|
298 | <File Id="file_VirtualBox.exe" Name="VirtualBox.exe"
|
---|
299 | Source="$(env.PATH_OUT)\bin\VirtualBox.exe">
|
---|
300 | </File>
|
---|
301 | <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
|
---|
302 | <File Id="file_VirtualBox.dll" Name="VirtualBox.dll"
|
---|
303 | Source="$(env.PATH_OUT)\bin\VirtualBox.dll">
|
---|
304 | </File>
|
---|
305 | <?endif ?>
|
---|
306 | <File Id="file_Qt5Core$(var.VBOX_QT_INFIX).dll" Name="Qt5Core$(var.VBOX_QT_INFIX).dll"
|
---|
307 | Source="$(env.PATH_OUT)\bin\Qt5Core$(var.VBOX_QT_INFIX).dll" />
|
---|
308 | <File Id="file_Qt5Gui$(var.VBOX_QT_INFIX).dll" Name="Qt5Gui$(var.VBOX_QT_INFIX).dll"
|
---|
309 | Source="$(env.PATH_OUT)\bin\Qt5Gui$(var.VBOX_QT_INFIX).dll" />
|
---|
310 | <File Id="file_Qt5Widgets$(var.VBOX_QT_INFIX).dll" Name="Qt5Widgets$(var.VBOX_QT_INFIX).dll"
|
---|
311 | Source="$(env.PATH_OUT)\bin\Qt5Widgets$(var.VBOX_QT_INFIX).dll" />
|
---|
312 | <File Id="file_Qt5PrintSupport$(var.VBOX_QT_INFIX).dll" Name="Qt5PrintSupport$(var.VBOX_QT_INFIX).dll"
|
---|
313 | Source="$(env.PATH_OUT)\bin\Qt5PrintSupport$(var.VBOX_QT_INFIX).dll" />
|
---|
314 | <File Id="file_Qt5WinExtras$(var.VBOX_QT_INFIX).dll" Name="Qt5WinExtras$(var.VBOX_QT_INFIX).dll"
|
---|
315 | Source="$(env.PATH_OUT)\bin\Qt5WinExtras$(var.VBOX_QT_INFIX).dll" />
|
---|
316 | <?endif ?>
|
---|
317 | <?if $(env.VBOX_WITH_DEBUGGER_GUI) = "yes" ?>
|
---|
318 | <File Id="file_VBoxDbg.dll" Name="VBoxDbg.dll"
|
---|
319 | Source="$(env.PATH_OUT)\bin\VBoxDbg.dll" />
|
---|
320 | <File Id="file_DbgPlugInDiggers.dll" Name="DbgPlugInDiggers.dll"
|
---|
321 | Source="$(env.PATH_OUT)\bin\DbgPlugInDiggers.dll" />
|
---|
322 | <?endif ?>
|
---|
323 | <?if $(env.VBOX_GUI_USE_QGL) = "yes" ?>
|
---|
324 | <File Id="file_Qt5OpenGL$(var.VBOX_QT_INFIX).dll" Name="Qt5OpenGL$(var.VBOX_QT_INFIX).dll"
|
---|
325 | Source="$(env.PATH_OUT)\bin\Qt5OpenGL$(var.VBOX_QT_INFIX).dll" />
|
---|
326 | <?endif?>
|
---|
327 |
|
---|
328 | <?if $(env.VBOX_VCC_TOOL_STEM) = "VCC100" ?>
|
---|
329 | <!-- MS C/C++ v10.0 Runtime DLL files -->
|
---|
330 | <File Id="file_msvcr100.dll" Name="msvcr100.dll"
|
---|
331 | Source="$(env.PATH_OUT)\bin\msvcr100.dll" />
|
---|
332 | <File Id="file_msvcp100.dll" Name="msvcp100.dll"
|
---|
333 | Source="$(env.PATH_OUT)\bin\msvcp100.dll" />
|
---|
334 | <?endif?>
|
---|
335 | <?if $(env.VBOX_VCC_TOOL_STEM) = "VCC110" ?>
|
---|
336 | <!-- MS C/C++ v11.0 Runtime DLL files -->
|
---|
337 | <File Id="file_msvcr110.dll" Name="msvcr110.dll"
|
---|
338 | Source="$(env.PATH_OUT)\bin\msvcr110.dll" />
|
---|
339 | <File Id="file_msvcp110.dll" Name="msvcp110.dll"
|
---|
340 | Source="$(env.PATH_OUT)\bin\msvcp110.dll" />
|
---|
341 | <?endif?>
|
---|
342 |
|
---|
343 | <!-- EFI firmware -->
|
---|
344 | <?if $(env.VBOX_WITH_EFIFW_PACKING) = "yes" ?>
|
---|
345 | <File Id="file_VBoxEFI32.fd" Name="VBoxEFI32.fd" DiskId="$(var.Property_DiskIdCommon)"
|
---|
346 | Source="$(env.PATH_OUT)\bin\VBoxEFI32.fd" />
|
---|
347 | <File Id="file_VBoxEFI64.fd" Name="VBoxEFI64.fd" DiskId="$(var.Property_DiskIdCommon)"
|
---|
348 | Source="$(env.PATH_OUT)\bin\VBoxEFI64.fd" />
|
---|
349 | <?endif?>
|
---|
350 | <!-- VBox guest additions -->
|
---|
351 | <?if $(env.VBOX_WITH_ADDITIONS_PACKING) = "yes" ?>
|
---|
352 | <?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
|
---|
353 | <File Id="file_VBoxGuestAdditions.iso" Name="VBoxGuestAdditions.iso"
|
---|
354 | Source="$(env.PATH_MULTIARCH_GUEST_ADDITIONS_ISO)\VBoxGuestAdditions.iso"
|
---|
355 | DiskId="$(var.Property_DiskIdCommon)" />
|
---|
356 | <?else ?>
|
---|
357 | <File Id="file_VBoxGuestAdditions.iso" Name="VBoxGuestAdditions.iso"
|
---|
358 | Source="$(env.PATH_OUT)\bin\additions\VBoxGuestAdditions.iso" />
|
---|
359 | <?endif ?>
|
---|
360 | <?endif ?>
|
---|
361 | <!-- Include key for VBox version -->
|
---|
362 | <?include $(env.PATH_TARGET)\VBoxKey.wxi ?>
|
---|
363 |
|
---|
364 | </Component> <!-- MainBinaries -->
|
---|
365 |
|
---|
366 | <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
|
---|
367 | <!-- Qt platforms plugins -->
|
---|
368 | <Directory Id="dir_VBoxAppPlatforms" Name="platforms">
|
---|
369 | <Component Id="cp_QtPlatforms" Guid="842367ec-6094-4ddc-93d8-6ca70fc1ca24" Win64="$(var.Property_Win64)">
|
---|
370 | <File Id="file_qminimal.dll" Name="qminimal.dll"
|
---|
371 | Source="$(env.PATH_OUT)\bin\platforms\qminimal.dll" />
|
---|
372 | <File Id="file_qoffscreen.dll" Name="qoffscreen.dll"
|
---|
373 | Source="$(env.PATH_OUT)\bin\platforms\qoffscreen.dll" />
|
---|
374 | <File Id="file_qwindows.dll" Name="qwindows.dll"
|
---|
375 | Source="$(env.PATH_OUT)\bin\platforms\qwindows.dll" />
|
---|
376 | </Component>
|
---|
377 | </Directory>
|
---|
378 | <?endif ?>
|
---|
379 |
|
---|
380 | <?if $(env.VBOX_WITH_CROGL) = "yes" ?>
|
---|
381 | <Component Id="cp_VBoxCROpenGL" Guid="874A1297-835A-491D-8A9D-7E723BC29EE7" Win64="$(var.Property_Win64)">
|
---|
382 | <File Id="file_VBoxOGLhostcrutil.dll" Name="VBoxOGLhostcrutil.dll"
|
---|
383 | Source="$(env.PATH_OUT)\bin\VBoxOGLhostcrutil.dll" />
|
---|
384 | <File Id="file_VBoxOGLhosterrorspu.dll" Name="VBoxOGLhosterrorspu.dll"
|
---|
385 | Source="$(env.PATH_OUT)\bin\VBoxOGLhosterrorspu.dll" />
|
---|
386 | <File Id="file_VBoxOGLrenderspu.dll" Name="VBoxOGLrenderspu.dll"
|
---|
387 | Source="$(env.PATH_OUT)\bin\VBoxOGLrenderspu.dll" />
|
---|
388 | <File Id="file_VBoxSharedCrOpenGL.dll" Name="VBoxSharedCrOpenGL.dll"
|
---|
389 | Source="$(env.PATH_OUT)\bin\VBoxSharedCrOpenGL.dll" />
|
---|
390 | </Component>
|
---|
391 | <?endif?>
|
---|
392 | <!-- SDL plugins -->
|
---|
393 | <Component Id="cp_VBoxSDLBinaries" Guid="F09D5FD9-E176-42B0-90A9-481BB18B0CB4"
|
---|
394 | Win64="$(var.Property_Win64)">
|
---|
395 | <File Id="file_VBoxSDL.exe" Name="VBoxSDL.exe"
|
---|
396 | Source="$(env.PATH_OUT)\bin\VBoxSDL.exe" />
|
---|
397 | <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
|
---|
398 | <File Id="file_VBoxSDL.dll" Name="VBoxSDL.dll"
|
---|
399 | Source="$(env.PATH_OUT)\bin\VBoxSDL.dll">
|
---|
400 | </File>
|
---|
401 | <?endif ?>
|
---|
402 | <File Id="file_SDL.dll" Name="SDL.dll"
|
---|
403 | Source="$(env.PATH_OUT)\bin\SDL.dll" />
|
---|
404 | <?if $(env.VBOX_WITH_SECURELABEL) = "yes" ?>
|
---|
405 | <File Id="file_SDL_ttf.dll" Name="SDL_ttf.dll"
|
---|
406 | Source="$(env.PATH_OUT)\bin\SDL_ttf.dll" />
|
---|
407 | <?endif?>
|
---|
408 | </Component> <!-- SDL plugins -->
|
---|
409 |
|
---|
410 | <?if $(env.VBOX_WITH_WEBSERVICES) = "yes" ?>
|
---|
411 | <!-- Webservice -->
|
---|
412 | <Component Id="cp_VBoxWebService" Guid="DD404F04-9874-43E9-AEE2-7762924D922E"
|
---|
413 | Win64="$(var.Property_Win64)">
|
---|
414 | <File Id="file_VBoxWebSrv.exe" Name="VBoxWebSrv.exe"
|
---|
415 | Source="$(env.PATH_OUT)\bin\vboxwebsrv.exe" />
|
---|
416 | </Component>
|
---|
417 | <?endif?>
|
---|
418 | <!-- C API (glue) bindings -->
|
---|
419 | <Component Id="cp_VBoxCAPI" Guid="097F7F53-7111-467F-8E0C-257D9926FDA0"
|
---|
420 | Win64="$(var.Property_Win64)">
|
---|
421 | <File Id="file_VBoxCAPI.dll" Name="VBoxCAPI.dll"
|
---|
422 | Source="$(env.PATH_OUT)\bin\VBoxCAPI.dll" />
|
---|
423 | </Component>
|
---|
424 |
|
---|
425 | <?if $(env.VBOX_WITH_UNATTENDED) = "yes" ?>
|
---|
426 | <!-- Unattended templates -->
|
---|
427 | <Directory Id="dir_VBoxUnattendedTemplates" Name="unattended_templates">
|
---|
428 | <Component Id="cp_UnattendedTemplates" Guid="8f89ec7e-ae83-490d-a293-c7ab276c5678" Win64="$(var.Property_Win64)">
|
---|
429 | <!-- VBox unattended template files -->
|
---|
430 | <File Id="file_debian_preseed.cfg" Name="debian_preseed.cfg"
|
---|
431 | Source="$(env.PATH_OUT)\bin\unattended_templates\debian_preseed.cfg" />
|
---|
432 | <File Id="file_fedora_ks.cfg" Name="fedora_ks.cfg"
|
---|
433 | Source="$(env.PATH_OUT)\bin\unattended_templates\fedora_ks.cfg" />
|
---|
434 | <File Id="file_ol_ks.cfg" Name="ol_ks.cfg"
|
---|
435 | Source="$(env.PATH_OUT)\bin\unattended_templates\ol_ks.cfg" />
|
---|
436 | <File Id="file_redhat67_ks.cfg" Name="redhat67_ks.cfg"
|
---|
437 | Source="$(env.PATH_OUT)\bin\unattended_templates\redhat67_ks.cfg" />
|
---|
438 | <File Id="file_ubuntu_preseed.cfg" Name="ubuntu_preseed.cfg"
|
---|
439 | Source="$(env.PATH_OUT)\bin\unattended_templates\ubuntu_preseed.cfg" />
|
---|
440 | <File Id="file_win_nt6_unattended.xml" Name="win_nt6_unattended.xml"
|
---|
441 | Source="$(env.PATH_OUT)\bin\unattended_templates\win_nt6_unattended.xml" />
|
---|
442 | <File Id="file_win_nt5_unattended.sif" Name="win_nt5_unattended.sif"
|
---|
443 | Source="$(env.PATH_OUT)\bin\unattended_templates\win_nt5_unattended.sif" />
|
---|
444 | </Component>
|
---|
445 | </Directory>
|
---|
446 | <?endif?>
|
---|
447 |
|
---|
448 | </Include>
|
---|