VirtualBox

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

Last change on this file since 104162 was 104162, checked in by vboxsync, 10 months ago

Windows/Host Installer: Check permissions of target directory when installing. Added a new testcase for this. bugref:10616

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 24.2 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 <ServiceConfig ServiceSid="restricted" OnInstall="yes" OnReinstall="yes" />
131 </ServiceInstall>
132 <ServiceControl Id="VBoxSDSControl" Name="VBoxSDS" Stop="both" Remove="uninstall" />
133 </Component>
134<?endif?>
135
136<?if $(env.VBOX_WITH_MIDL_PROXY_STUB) = "yes" ?>
137
138 <Component Id="cp_ProxyStub" Guid="CDD09BA4-8D87-4383-DCA6-1CCCF9D11091" Win64="$(var.Property_Win64)">
139 <!-- Only install this proxy stub DLL on Windows 7 and later (OLE32.ObjectStublessClientXX imports). -->
140 <Condition><![CDATA[(VersionNT >= 601)]]></Condition>
141 <File Id="file_VBoxProxyStub" Name="VBoxProxyStub.dll" KeyPath="yes"
142 Source="$(env.PATH_OUT)\bin\VBoxProxyStub.dll">
143 <Class Id="$(env.VBOX_MIDL_PROXY_CLSID)" Context="InprocServer32"
144 Description="PSFactoryBuffer" ThreadingModel="both" />
145 </File>
146 <?include $(env.PATH_TARGET)\VirtualBox_TypeLib.wxi ?>
147 </Component>
148
149 <Component Id="cp_ProxyStubLegacy" Guid="97F12055-5B6D-481C-E8CD-F41D8C733280" Win64="$(var.Property_Win64)">
150 <!-- Only install this proxy stub DLL pre-Windows 7 (AMD64: legacy NDR stuff; Both: No ObjectStublessClientXX). -->
151 <Condition><![CDATA[(VersionNT < 601)]]></Condition>
152 <File Id="file_VBoxProxyStubLegacy" Name="VBoxProxyStubLegacy.dll" KeyPath="yes"
153 Source="$(env.PATH_OUT)\bin\VBoxProxyStubLegacy.dll">
154 <Class Id="$(env.VBOX_MIDL_PROXY_CLSID)" Context="InprocServer32"
155 Description="PSFactoryBuffer" ThreadingModel="both" />
156 </File>
157 <?include $(env.PATH_TARGET)\VirtualBox_TypeLib.wxi ?>
158 </Component>
159
160<?endif?>
161
162 <?include $(env.PATH_TARGET)\DirComponentsAndFiles_DTrace.wxi ?>
163
164
165 <!---->
166
167<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
168 <Component Id="cp_RegisterExtensions" Guid="FEB8943E-5D60-4E2D-846F-458207019D40"
169 Win64="$(var.Property_Win64)" KeyPath="yes">
170
171<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
172 <Condition><![CDATA[(local_VBOX_REGISTERFILEEXTENSIONS="1")]]></Condition>
173<?else ?>
174 <Condition><![CDATA[(VBOX_REGISTERFILEEXTENSIONS)]]></Condition>
175<?endif ?>
176
177 <!-- Register file extensions. Note: Extension IDs *must not* be changed! These specify the actual
178 file extension to handle. Also, here would be the place to add more fancy DDE stuff later.
179 Important: The IDs in "IconIndex" *must* be matching "Resources\resource.h" -->
180 <ProgId Id="progId_VirtualBox.Shell.vbox" Description="VirtualBox Machine Definition" Icon="file_VBoxRes.dll" IconIndex="-201">
181 <Extension Id="vbox" ContentType="application/x-virtualbox-vbox">
182 <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument="&quot;%1&quot;" />
183 </Extension>
184 </ProgId>
185 <ProgId Id="progId_VirtualBox.Shell.vbox-extpack" Description="VirtualBox Extension Pack" Icon="file_VBoxRes.dll" IconIndex="-202">
186 <Extension Id="vbox-extpack" ContentType="application/x-virtualbox-vbox-extpack">
187 <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument="&quot;%1&quot;" />
188 </Extension>
189 </ProgId>
190 <ProgId Id="progId_VirtualBox.Shell.ovf" Description="Open Virtualization Format" Icon="file_VBoxRes.dll" IconIndex="-301">
191 <Extension Id="ovf" ContentType="application/x-virtualbox-ovf">
192 <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument="&quot;%1&quot;" />
193 </Extension>
194 </ProgId>
195 <ProgId Id="progId_VirtualBox.Shell.ova" Description="Open Virtualization Format Archive" Icon="file_VBoxRes.dll" IconIndex="-302">
196 <Extension Id="ova" ContentType="application/x-virtualbox-ova">
197 <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument="&quot;%1&quot;" />
198 </Extension>
199 </ProgId>
200 <ProgId Id="progId_VirtualBox.Shell.vdi" Description="Virtual Disk Image" Icon="file_VBoxRes.dll" IconIndex="-303">
201 <Extension Id="vdi" ContentType="application/x-virtualbox-vdi" />
202 </ProgId>
203 <ProgId Id="progId_VirtualBox.Shell.vmdk" Description="Virtual Machine Disk Format" Icon="file_VBoxRes.dll" IconIndex="-304">
204 <Extension Id="vmdk" ContentType="application/x-virtualbox-vmdk" />
205 </ProgId>
206 <ProgId Id="progId_VirtualBox.Shell.vhd" Description="Virtual Hard Disk" Icon="file_VBoxRes.dll" IconIndex="-305">
207 <Extension Id="vhd" ContentType="application/x-virtualbox-vhd" />
208 </ProgId>
209 <ProgId Id="progId_VirtualBox.Shell.hdd" Description="Virtual Hard Disk" Icon="file_VBoxRes.dll" IconIndex="-306">
210 <Extension Id="hdd" ContentType="application/x-virtualbox-hdd" />
211 </ProgId>
212 </Component> <!-- cp_RegisterExtensions -->
213<?endif ?>
214
215 <!-- All Binaries, DLLs (except COM) and drivers are in one component because they belong together. Additional
216 binaries e.g. test tools, utilities etc. should be in another component so they"re clearly separated -->
217 <Component Id="cp_MainBinaries" Guid="5C8FE57A-F744-4DE0-AA3F-A563F486AD98" Win64="$(var.Property_Win64)">
218
219 <!-- Set required environment variables -->
220 <Environment Id="env_VBoxInstallDir" Action="set" Name="VBOX_MSI_INSTALL_PATH"
221 System="yes" Part="last" Permanent="no" Value="[msm_VBoxApplicationFolder]" />
222
223 <!-- Files -->
224<?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
225 <!-- Include all user manual .CHM files (file is generated by makefile) -->
226 <?include $(env.PATH_TARGET)\Files_Main.wxi ?>
227<?endif ?>
228 <!-- Include all license files (file is generated by makefile) -->
229 <?include $(env.PATH_TARGET)\Files_License.wxi ?>
230
231 <!-- Frontends -->
232 <File Id="file_VBoxManage.exe" Name="VBoxManage.exe"
233 Source="$(env.PATH_OUT)\bin\VBoxManage.exe" />
234<?if $(env.VBOX_WITH_HEADLESS) = "yes" ?>
235 <File Id="file_VBoxHeadless.exe" Name="VBoxHeadless.exe"
236 Source="$(env.PATH_OUT)\bin\VBoxHeadless.exe" />
237 <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
238 <File Id="file_VBoxHeadless.dll" Name="VBoxHeadless.dll"
239 Source="$(env.PATH_OUT)\bin\VBoxHeadless.dll">
240 </File>
241 <?endif ?>
242<?endif ?>
243<?if $(env.VBOX_WITH_FE_BALLOONCTRL) = "yes" ?>
244 <File Id="file_VBoxBalloonCtrl.exe" Name="VBoxBalloonCtrl.exe"
245 Source="$(env.PATH_OUT)\bin\VBoxBalloonCtrl.exe"/>
246<?endif ?>
247<?if $(env.VBOX_WITH_FE_BUGREPORT) = "yes" ?>
248 <File Id="file_VBoxBugReport.exe" Name="VBoxBugReport.exe"
249 Source="$(env.PATH_OUT)\bin\VBoxBugReport.exe"/>
250<?endif ?>
251<?if $(env.VBOX_WITH_FE_AUTOSTART) = "yes" ?>
252 <File Id="file_VBoxAutostartSvc.exe" Name="VBoxAutostartSvc.exe"
253 Source="$(env.PATH_OUT)\bin\VBoxAutostartSvc.exe" />
254<?endif ?>
255<?if $(env.VBOX_WITH_VBOX_IMG) = "yes" ?>
256 <File Id="file_vbox_img.exe" Name="vbox-img.exe"
257 Source="$(env.PATH_OUT)\bin\vbox-img.exe"/>
258<?endif ?>
259 <!-- Misc tools -->
260 <File Id="file_VBoxNetDHCP.exe" Name="VBoxNetDHCP.exe"
261 Source="$(env.PATH_OUT)\bin\VBoxNetDHCP.exe"/>
262<?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
263 <File Id="file_VBoxNetDHCP.dll" Name="VBoxNetDHCP.dll"
264 Source="$(env.PATH_OUT)\bin\VBoxNetDHCP.dll">
265 </File>
266<?endif ?>
267 <File Id="file_VBoxNetNAT.exe" Name="VBoxNetNAT.exe"
268 Source="$(env.PATH_OUT)\bin\VBoxNetNAT.exe"/>
269<?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
270 <File Id="file_VBoxNetNAT.dll" Name="VBoxNetNAT.dll"
271 Source="$(env.PATH_OUT)\bin\VBoxNetNAT.dll">
272 </File>
273<?endif ?>
274<?if $(env.VBOX_WITH_EXTPACK) = "yes" ?>
275 <File Id="file_VBoxExtPackHelperApp.exe" Name="VBoxExtPackHelperApp.exe"
276 Source="$(env.PATH_OUT)\bin\VBoxExtPackHelperApp.exe"/>
277<?endif ?>
278<?if $(env.VBOX_WITH_DTRACE) = "yes" ?>
279 <File Id="file_VBoxDTrace.exe" Name="VBoxDTrace.exe" Source="$(env.PATH_OUT)\bin\VBoxDTrace.exe" />
280<?endif ?>
281 <!-- VBox DLL files -->
282 <File Id="file_VBoxDD.dll" Name="VBoxDD.dll"
283 Source="$(env.PATH_OUT)\bin\VBoxDD.dll" />
284 <File Id="file_VBoxDD2.dll" Name="VBoxDD2.dll"
285 Source="$(env.PATH_OUT)\bin\VBoxDD2.dll" />
286 <File Id="file_VBoxDDU.dll" Name="VBoxDDU.dll"
287 Source="$(env.PATH_OUT)\bin\VBoxDDU.dll" />
288 <File Id="file_VBoxRT.dll" Name="VBoxRT.dll"
289 Source="$(env.PATH_OUT)\bin\VBoxRT.dll" />
290 <File Id="file_VBoxSupLib.dll" Name="VBoxSupLib.dll"
291 Source="$(env.PATH_OUT)\bin\VBoxSupLib.dll" />
292 <File Id="file_VBoxVMM.dll" Name="VBoxVMM.dll"
293 Source="$(env.PATH_OUT)\bin\VBoxVMM.dll" />
294<?if $(env.VBOX_WITH_LIBSSH) = "yes" ?>
295 <File Id="file_VBoxLibSsh.dll" Name="VBoxLibSsh.dll"
296 Source="$(env.PATH_OUT)\bin\VBoxLibSsh.dll" />
297<?endif ?>
298<?if $(env.VBOX_WITH_HOST_SHIPPING_AUDIO_TEST) = "yes" ?>
299 <File Id="file_VBoxAudioTest.exe" Name="VBoxAudioTest.exe"
300 Source="$(env.PATH_OUT)\bin\VBoxAudioTest.exe" />
301<?endif ?>
302<?if $(env.VBOX_WITH_VRDP) = "yes" ?>
303 <File Id="file_VBoxVRDP.dll" Name="VBoxVRDP.dll"
304 Source="$(env.PATH_OUT)\bin\VBoxVRDP.dll" />
305<?endif ?>
306 <File Id="file_VBoxSharedFolders.dll" Name="VBoxSharedFolders.dll"
307 Source="$(env.PATH_OUT)\bin\VBoxSharedFolders.dll" />
308 <File Id="file_VBoxSharedClipboard.dll" Name="VBoxSharedClipboard.dll"
309 Source="$(env.PATH_OUT)\bin\VBoxSharedClipboard.dll" />
310<?if $(env.VBOX_WITH_DRAG_AND_DROP)= "yes" ?>
311 <File Id="file_VBoxDragAndDropSvc.dll" Name="VBoxDragAndDropSvc.dll"
312 Source="$(env.PATH_OUT)\bin\VBoxDragAndDropSvc.dll" />
313<?endif ?>
314<?if $(env.VBOX_WITH_GUEST_PROPS) = "yes" ?>
315 <File Id="file_VBoxGuestPropSvc.dll" Name="VBoxGuestPropSvc.dll"
316 Source="$(env.PATH_OUT)\bin\VBoxGuestPropSvc.dll" />
317<?endif ?>
318<?if $(env.VBOX_WITH_GUEST_CONTROL) = "yes" ?>
319 <File Id="file_VBoxGuestControlSvc.dll" Name="VBoxGuestControlSvc.dll"
320 Source="$(env.PATH_OUT)\bin\VBoxGuestControlSvc.dll" />
321<?endif ?>
322 <File Id="file_VBoxHostChannel.dll" Name="VBoxHostChannel.dll"
323 Source="$(env.PATH_OUT)\bin\VBoxHostChannel.dll" />
324 <File Id="file_VBoxAuth.dll" Name="VBoxAuth.dll"
325 Source="$(env.PATH_OUT)\bin\VBoxAuth.dll" />
326 <File Id="file_VBoxAuthSimple.dll" Name="VBoxAuthSimple.dll"
327 Source="$(env.PATH_OUT)\bin\VBoxAuthSimple.dll" />
328
329 <!-- Include resource DLL (icons, ...) -->
330 <File Id="file_VBoxRes.dll" Name="VBoxRes.dll"
331 Source="$(env.PATH_OUT)\bin\VBoxRes.dll" />
332
333<?if $(env.VBOX_WITH_RAW_MODE) = "yes" ?>
334 <File Id="file_VMMRC.rc" Name="VMMRC.rc"
335 Source="$(env.PATH_OUT)\bin\VMMRC.rc" />
336 <File Id="file_VBoxDDRC.rc" Name="VBoxDDRC.rc"
337 Source="$(env.PATH_OUT)\bin\VBoxDDRC.rc" />
338<?endif ?>
339
340 <File Id="file_VMMR0.r0" Name="VMMR0.r0"
341 Source="$(env.PATH_OUT)\bin\VMMR0.r0" />
342 <File Id="file_VBoxDDR0.r0" Name="VBoxDDR0.r0"
343 Source="$(env.PATH_OUT)\bin\VBoxDDR0.r0" />
344
345<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
346 <!-- Qt frontend -->
347 <File Id="file_VirtualBox.exe" Name="VirtualBox.exe"
348 Source="$(env.PATH_OUT)\bin\VirtualBox.exe">
349 </File>
350 <File Id="file_VirtualBoxVM.exe" Name="VirtualBoxVM.exe"
351 Source="$(env.PATH_OUT)\bin\VirtualBoxVM.exe">
352 </File>
353 <File Id="file_UICommon.dll" Name="UICommon.dll"
354 Source="$(env.PATH_OUT)\bin\UICommon.dll">
355 </File>
356 <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
357 <File Id="file_VirtualBoxVM.dll" Name="VirtualBoxVM.dll"
358 Source="$(env.PATH_OUT)\bin\VirtualBoxVM.dll">
359 </File>
360 <?endif ?>
361 <File Id="file_Qt6Core$(var.VBOX_QT_INFIX).dll" Name="Qt6Core$(var.VBOX_QT_INFIX).dll"
362 Source="$(env.PATH_OUT)\bin\Qt6Core$(var.VBOX_QT_INFIX).dll" />
363 <File Id="file_Qt6Gui$(var.VBOX_QT_INFIX).dll" Name="Qt6Gui$(var.VBOX_QT_INFIX).dll"
364 Source="$(env.PATH_OUT)\bin\Qt6Gui$(var.VBOX_QT_INFIX).dll" />
365 <File Id="file_Qt6Widgets$(var.VBOX_QT_INFIX).dll" Name="Qt6Widgets$(var.VBOX_QT_INFIX).dll"
366 Source="$(env.PATH_OUT)\bin\Qt6Widgets$(var.VBOX_QT_INFIX).dll" />
367 <File Id="file_Qt6PrintSupport$(var.VBOX_QT_INFIX).dll" Name="Qt6PrintSupport$(var.VBOX_QT_INFIX).dll"
368 Source="$(env.PATH_OUT)\bin\Qt6PrintSupport$(var.VBOX_QT_INFIX).dll" />
369 <File Id="file_Qt6StateMachine$(var.VBOX_QT_INFIX).dll" Name="Qt6StateMachine$(var.VBOX_QT_INFIX).dll"
370 Source="$(env.PATH_OUT)\bin\Qt6StateMachine$(var.VBOX_QT_INFIX).dll" />
371 <File Id="file_Qt6Help$(var.VBOX_QT_INFIX).dll" Name="Qt6Help$(var.VBOX_QT_INFIX).dll"
372 Source="$(env.PATH_OUT)\bin\Qt6Help$(var.VBOX_QT_INFIX).dll" />
373 <File Id="file_vSql$(var.VBOX_QT_INFIX).dll" Name="Qt6Sql$(var.VBOX_QT_INFIX).dll"
374 Source="$(env.PATH_OUT)\bin\Qt6Sql$(var.VBOX_QT_INFIX).dll" />
375 <File Id="file_VirtualBox.VisualElementsManifest.xml" Name="VirtualBox.VisualElementsManifest.xml"
376 Source="$(env.PATH_OUT)\bin\VirtualBox.VisualElementsManifest.xml" />
377 <File Id="file_VirtualBox_70px.png" Name="VirtualBox_70px.png"
378 Source="$(env.PATH_OUT)\bin\VirtualBox_70px.png" />
379 <File Id="file_VirtualBox_150px.png" Name="VirtualBox_150px.png"
380 Source="$(env.PATH_OUT)\bin\VirtualBox_150px.png" />
381<?endif ?>
382<?if $(env.VBOX_WITH_DEBUGGER_GUI) = "yes" ?>
383 <File Id="file_VBoxDbg.dll" Name="VBoxDbg.dll"
384 Source="$(env.PATH_OUT)\bin\VBoxDbg.dll" />
385 <File Id="file_DbgPlugInDiggers.dll" Name="DbgPlugInDiggers.dll"
386 Source="$(env.PATH_OUT)\bin\DbgPlugInDiggers.dll" />
387<?endif ?>
388
389<?if $(env.VBOX_WITH_CRT_PACKING) = "yes" ?>
390 <!-- Include CRT Dlls (specific to the compiler). -->
391 <?include $(env.PATH_TARGET)\VBoxCrtDlls.wxi ?>
392<?endif?>
393
394 <!-- EFI firmware -->
395<?if $(env.VBOX_WITH_EFIFW_PACKING) = "yes" ?>
396 <File Id="file_VBoxEFI32.fd" Name="VBoxEFI32.fd" DiskId="$(var.Property_DiskIdCommon)"
397 Source="$(env.PATH_OUT)\bin\VBoxEFI32.fd" />
398 <File Id="file_VBoxEFI64.fd" Name="VBoxEFI64.fd" DiskId="$(var.Property_DiskIdCommon)"
399 Source="$(env.PATH_OUT)\bin\VBoxEFI64.fd" />
400<?endif?>
401 <!-- VBox guest additions -->
402<?if $(env.VBOX_WITH_ADDITIONS_PACKING) = "yes" ?>
403 <?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
404 <File Id="file_VBoxGuestAdditions.iso" Name="VBoxGuestAdditions.iso"
405 Source="$(env.PATH_MULTIARCH_GUEST_ADDITIONS_ISO)\VBoxGuestAdditions.iso"
406 DiskId="$(var.Property_DiskIdCommon)" />
407 <?else ?>
408 <File Id="file_VBoxGuestAdditions.iso" Name="VBoxGuestAdditions.iso"
409 Source="$(env.PATH_OUT)\bin\additions\VBoxGuestAdditions.iso" />
410 <?endif ?>
411<?endif ?>
412 <!-- Include registry key for VBox version -->
413 <?include $(env.PATH_TARGET)\VBoxKey.wxi ?>
414
415 </Component> <!-- MainBinaries -->
416
417<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
418 <!-- Qt platforms plugins -->
419 <Directory Id="dir_VBoxAppPlatforms" Name="platforms">
420 <Component Id="cp_QtPlatforms" Guid="842367ec-6094-4ddc-93d8-6ca70fc1ca24" Win64="$(var.Property_Win64)">
421 <File Id="file_qminimal$(var.VBOX_QT_INFIX).dll" Name="qminimal$(var.VBOX_QT_INFIX).dll"
422 Source="$(env.PATH_OUT)\bin\platforms\qminimal$(var.VBOX_QT_INFIX).dll" />
423 <File Id="file_qoffscreen$(var.VBOX_QT_INFIX).dll" Name="qoffscreen$(var.VBOX_QT_INFIX).dll"
424 Source="$(env.PATH_OUT)\bin\platforms\qoffscreen$(var.VBOX_QT_INFIX).dll" />
425 <File Id="file_qwindows$(var.VBOX_QT_INFIX).dll" Name="qwindows$(var.VBOX_QT_INFIX).dll"
426 Source="$(env.PATH_OUT)\bin\platforms\qwindows$(var.VBOX_QT_INFIX).dll" />
427 </Component>
428 </Directory>
429 <!-- Qt sqldrivers plugins -->
430 <Directory Id="dir_VBoxAppSqldrivers" Name="sqldrivers">
431 <Component Id="cp_QtSqldrivers" Guid="31ba006b-7dca-40b1-aba0-998eb18bd586" Win64="$(var.Property_Win64)">
432 <File Id="file_qsqlite$(var.VBOX_QT_INFIX).dll" Name="qsqlite$(var.VBOX_QT_INFIX).dll"
433 Source="$(env.PATH_OUT)\bin\sqldrivers\qsqlite$(var.VBOX_QT_INFIX).dll" />
434 </Component>
435 </Directory>
436 <!-- Qt styles plugins -->
437 <Directory Id="dir_VBoxAppStyles" Name="styles">
438 <Component Id="cp_QtStyles" Guid="150837df-f3ae-416f-9ea3-94f1f41b9f41" Win64="$(var.Property_Win64)">
439 <File Id="file_qwindowsvistastyle$(var.VBOX_QT_INFIX).dll" Name="qwindowsvistastyle$(var.VBOX_QT_INFIX).dll"
440 Source="$(env.PATH_OUT)\bin\styles\qwindowsvistastyle$(var.VBOX_QT_INFIX).dll" />
441 </Component>
442 </Directory>
443<?endif ?>
444
445<?if $(env.VBOX_WITH_VBOXSDL) = "yes" ?>
446 <!-- SDL frontend -->
447 <Component Id="cp_VBoxSDLBinaries" Guid="F09D5FD9-E176-42B0-90A9-481BB18B0CB4"
448 Win64="$(var.Property_Win64)">
449 <File Id="file_VBoxSDL.exe" Name="VBoxSDL.exe"
450 Source="$(env.PATH_OUT)\bin\VBoxSDL.exe" />
451 <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
452 <File Id="file_VBoxSDL.dll" Name="VBoxSDL.dll"
453 Source="$(env.PATH_OUT)\bin\VBoxSDL.dll">
454 </File>
455 <?endif ?>
456 <File Id="file_SDL.dll" Name="SDL.dll"
457 Source="$(env.PATH_OUT)\bin\SDL.dll" />
458 </Component> <!-- SDL frontend -->
459<?endif ?>
460
461<?if $(env.VBOX_WITH_WEBSERVICES) = "yes" ?>
462 <!-- Webservice -->
463 <Component Id="cp_VBoxWebService" Guid="DD404F04-9874-43E9-AEE2-7762924D922E"
464 Win64="$(var.Property_Win64)">
465 <File Id="file_VBoxWebSrv.exe" Name="VBoxWebSrv.exe"
466 Source="$(env.PATH_OUT)\bin\vboxwebsrv.exe" />
467 </Component>
468<?endif?>
469 <!-- C API (glue) bindings -->
470 <Component Id="cp_VBoxCAPI" Guid="097F7F53-7111-467F-8E0C-257D9926FDA0"
471 Win64="$(var.Property_Win64)">
472 <File Id="file_VBoxCAPI.dll" Name="VBoxCAPI.dll"
473 Source="$(env.PATH_OUT)\bin\VBoxCAPI.dll" />
474 </Component>
475
476 <!-- Unattended installation template scripts if enabled -->
477 <?include $(env.PATH_TARGET)\VBoxUnattendedTemplateComponent.wxi ?>
478
479</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