VirtualBox

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

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

Windows installers: Big revamp for removing all DIFxApp-related / DIFxApi-related code and build dependencies for the host and guest installers. bugref:10762

This implements an own framework (VBoxWinDrvInst and VBoxWinDrvStore) for installing Windows drivers and querying / handling the Windows driver store,
along with testcases for the Windows guest and host installers.

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