VirtualBox

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

Last change on this file was 104167, checked in by vboxsync, 6 weeks ago

Windows/Host Installer: Removed restricting the service SID; was too strict for most installations. ​bugref:10616

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

© 2023 Oracle
ContactPrivacy policyTerms of Use