VirtualBox

source: vbox/trunk/src/VBox/Installer/win/VBoxMergeApp.wxi@ 82866

Last change on this file since 82866 was 81583, checked in by vboxsync, 5 years ago

Windows host installer: Added a VBOX_INSTALLER_QUICK define for building the installer with most optional stuff left out; dramatically speeds up (local) building and is useful for testing the actual installer mechanics. Added more defines for better modularizing the installer components.

This also fixes starting VirtualBox with merge modules building enabled by going back to the low tech solution (path quotes).

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