1 | <?xml version="1.0"?>
|
---|
2 | <!--
|
---|
3 | VirtualBox Windows Installation Script (WiX)
|
---|
4 | -->
|
---|
5 | <!--
|
---|
6 | Copyright (C) 2006-2022 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=""%1"" />
|
---|
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=""%1"" />
|
---|
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=""%1"" />
|
---|
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=""%1"" />
|
---|
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_Qt5Core$(var.VBOX_QT_INFIX).dll" Name="Qt5Core$(var.VBOX_QT_INFIX).dll"
|
---|
361 | Source="$(env.PATH_OUT)\bin\Qt5Core$(var.VBOX_QT_INFIX).dll" />
|
---|
362 | <File Id="file_Qt5Gui$(var.VBOX_QT_INFIX).dll" Name="Qt5Gui$(var.VBOX_QT_INFIX).dll"
|
---|
363 | Source="$(env.PATH_OUT)\bin\Qt5Gui$(var.VBOX_QT_INFIX).dll" />
|
---|
364 | <File Id="file_Qt5Widgets$(var.VBOX_QT_INFIX).dll" Name="Qt5Widgets$(var.VBOX_QT_INFIX).dll"
|
---|
365 | Source="$(env.PATH_OUT)\bin\Qt5Widgets$(var.VBOX_QT_INFIX).dll" />
|
---|
366 | <File Id="file_Qt5PrintSupport$(var.VBOX_QT_INFIX).dll" Name="Qt5PrintSupport$(var.VBOX_QT_INFIX).dll"
|
---|
367 | Source="$(env.PATH_OUT)\bin\Qt5PrintSupport$(var.VBOX_QT_INFIX).dll" />
|
---|
368 | <File Id="file_Qt5Help$(var.VBOX_QT_INFIX).dll" Name="Qt5Help$(var.VBOX_QT_INFIX).dll"
|
---|
369 | Source="$(env.PATH_OUT)\bin\Qt5Help$(var.VBOX_QT_INFIX).dll" />
|
---|
370 | <File Id="file_Qt5Sql$(var.VBOX_QT_INFIX).dll" Name="Qt5Sql$(var.VBOX_QT_INFIX).dll"
|
---|
371 | Source="$(env.PATH_OUT)\bin\Qt5Sql$(var.VBOX_QT_INFIX).dll" />
|
---|
372 | <File Id="file_Qt5WinExtras$(var.VBOX_QT_INFIX).dll" Name="Qt5WinExtras$(var.VBOX_QT_INFIX).dll"
|
---|
373 | Source="$(env.PATH_OUT)\bin\Qt5WinExtras$(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 |
|
---|
381 | <?if $(env.VBOX_WITH_VMSVGA3D) = "yes" or $(env.VBOX_WITH_VIDEOHWACCEL) = "yes" ?>
|
---|
382 | <File Id="file_VBoxTestOGL.exe" Name="VBoxTestOGL.exe"
|
---|
383 | Source="$(env.PATH_OUT)\bin\VBoxTestOGL.exe" />
|
---|
384 | <?endif ?>
|
---|
385 | <?endif ?>
|
---|
386 | <?if $(env.VBOX_WITH_DEBUGGER_GUI) = "yes" ?>
|
---|
387 | <File Id="file_VBoxDbg.dll" Name="VBoxDbg.dll"
|
---|
388 | Source="$(env.PATH_OUT)\bin\VBoxDbg.dll" />
|
---|
389 | <File Id="file_DbgPlugInDiggers.dll" Name="DbgPlugInDiggers.dll"
|
---|
390 | Source="$(env.PATH_OUT)\bin\DbgPlugInDiggers.dll" />
|
---|
391 | <?endif ?>
|
---|
392 | <?if $(env.VBOX_GUI_USE_QGL) = "yes" ?>
|
---|
393 | <File Id="file_Qt5OpenGL$(var.VBOX_QT_INFIX).dll" Name="Qt5OpenGL$(var.VBOX_QT_INFIX).dll"
|
---|
394 | Source="$(env.PATH_OUT)\bin\Qt5OpenGL$(var.VBOX_QT_INFIX).dll" />
|
---|
395 | <?endif?>
|
---|
396 |
|
---|
397 | <?if $(env.VBOX_WITH_CRT_PACKING) = "yes" ?>
|
---|
398 | <!-- Include CRT Dlls (specific to the compiler). -->
|
---|
399 | <?include $(env.PATH_TARGET)\VBoxCrtDlls.wxi ?>
|
---|
400 | <?endif?>
|
---|
401 |
|
---|
402 | <!-- EFI firmware -->
|
---|
403 | <?if $(env.VBOX_WITH_EFIFW_PACKING) = "yes" ?>
|
---|
404 | <File Id="file_VBoxEFI32.fd" Name="VBoxEFI32.fd" DiskId="$(var.Property_DiskIdCommon)"
|
---|
405 | Source="$(env.PATH_OUT)\bin\VBoxEFI32.fd" />
|
---|
406 | <File Id="file_VBoxEFI64.fd" Name="VBoxEFI64.fd" DiskId="$(var.Property_DiskIdCommon)"
|
---|
407 | Source="$(env.PATH_OUT)\bin\VBoxEFI64.fd" />
|
---|
408 | <?endif?>
|
---|
409 | <!-- VBox guest additions -->
|
---|
410 | <?if $(env.VBOX_WITH_ADDITIONS_PACKING) = "yes" ?>
|
---|
411 | <?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
|
---|
412 | <File Id="file_VBoxGuestAdditions.iso" Name="VBoxGuestAdditions.iso"
|
---|
413 | Source="$(env.PATH_MULTIARCH_GUEST_ADDITIONS_ISO)\VBoxGuestAdditions.iso"
|
---|
414 | DiskId="$(var.Property_DiskIdCommon)" />
|
---|
415 | <?else ?>
|
---|
416 | <File Id="file_VBoxGuestAdditions.iso" Name="VBoxGuestAdditions.iso"
|
---|
417 | Source="$(env.PATH_OUT)\bin\additions\VBoxGuestAdditions.iso" />
|
---|
418 | <?endif ?>
|
---|
419 | <?endif ?>
|
---|
420 | <!-- Include registry key for VBox version -->
|
---|
421 | <?include $(env.PATH_TARGET)\VBoxKey.wxi ?>
|
---|
422 |
|
---|
423 | </Component> <!-- MainBinaries -->
|
---|
424 |
|
---|
425 | <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
|
---|
426 | <!-- Qt platforms plugins -->
|
---|
427 | <Directory Id="dir_VBoxAppPlatforms" Name="platforms">
|
---|
428 | <Component Id="cp_QtPlatforms" Guid="842367ec-6094-4ddc-93d8-6ca70fc1ca24" Win64="$(var.Property_Win64)">
|
---|
429 | <File Id="file_qminimal.dll" Name="qminimal.dll"
|
---|
430 | Source="$(env.PATH_OUT)\bin\platforms\qminimal.dll" />
|
---|
431 | <File Id="file_qoffscreen.dll" Name="qoffscreen.dll"
|
---|
432 | Source="$(env.PATH_OUT)\bin\platforms\qoffscreen.dll" />
|
---|
433 | <File Id="file_qwindows.dll" Name="qwindows.dll"
|
---|
434 | Source="$(env.PATH_OUT)\bin\platforms\qwindows.dll" />
|
---|
435 | </Component>
|
---|
436 | </Directory>
|
---|
437 | <!-- Qt sqldrivers plugins -->
|
---|
438 | <Directory Id="dir_VBoxAppSqldrivers" Name="sqldrivers">
|
---|
439 | <Component Id="cp_QtSqldrivers" Guid="31ba006b-7dca-40b1-aba0-998eb18bd586" Win64="$(var.Property_Win64)">
|
---|
440 | <File Id="file_qsqlite.dll" Name="qsqlite.dll"
|
---|
441 | Source="$(env.PATH_OUT)\bin\sqldrivers\qsqlite.dll" />
|
---|
442 | </Component>
|
---|
443 | </Directory>
|
---|
444 | <!-- Qt styles plugins -->
|
---|
445 | <Directory Id="dir_VBoxAppStyles" Name="styles">
|
---|
446 | <Component Id="cp_QtStyles" Guid="150837df-f3ae-416f-9ea3-94f1f41b9f41" Win64="$(var.Property_Win64)">
|
---|
447 | <File Id="file_qwindowsvistastyle.dll" Name="qwindowsvistastyle.dll"
|
---|
448 | Source="$(env.PATH_OUT)\bin\styles\qwindowsvistastyle.dll" />
|
---|
449 | </Component>
|
---|
450 | </Directory>
|
---|
451 | <?endif ?>
|
---|
452 |
|
---|
453 | <?if $(env.VBOX_WITH_VBOXSDL) = "yes" ?>
|
---|
454 | <!-- SDL frontend -->
|
---|
455 | <Component Id="cp_VBoxSDLBinaries" Guid="F09D5FD9-E176-42B0-90A9-481BB18B0CB4"
|
---|
456 | Win64="$(var.Property_Win64)">
|
---|
457 | <File Id="file_VBoxSDL.exe" Name="VBoxSDL.exe"
|
---|
458 | Source="$(env.PATH_OUT)\bin\VBoxSDL.exe" />
|
---|
459 | <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
|
---|
460 | <File Id="file_VBoxSDL.dll" Name="VBoxSDL.dll"
|
---|
461 | Source="$(env.PATH_OUT)\bin\VBoxSDL.dll">
|
---|
462 | </File>
|
---|
463 | <?endif ?>
|
---|
464 | <File Id="file_SDL.dll" Name="SDL.dll"
|
---|
465 | Source="$(env.PATH_OUT)\bin\SDL.dll" />
|
---|
466 | <?if $(env.VBOX_WITH_SECURELABEL) = "yes" ?>
|
---|
467 | <File Id="file_SDL_ttf.dll" Name="SDL_ttf.dll"
|
---|
468 | Source="$(env.PATH_OUT)\bin\SDL_ttf.dll" />
|
---|
469 | <?endif?>
|
---|
470 | </Component> <!-- SDL frontend -->
|
---|
471 | <?endif ?>
|
---|
472 |
|
---|
473 | <?if $(env.VBOX_WITH_WEBSERVICES) = "yes" ?>
|
---|
474 | <!-- Webservice -->
|
---|
475 | <Component Id="cp_VBoxWebService" Guid="DD404F04-9874-43E9-AEE2-7762924D922E"
|
---|
476 | Win64="$(var.Property_Win64)">
|
---|
477 | <File Id="file_VBoxWebSrv.exe" Name="VBoxWebSrv.exe"
|
---|
478 | Source="$(env.PATH_OUT)\bin\vboxwebsrv.exe" />
|
---|
479 | </Component>
|
---|
480 | <?endif?>
|
---|
481 | <!-- C API (glue) bindings -->
|
---|
482 | <Component Id="cp_VBoxCAPI" Guid="097F7F53-7111-467F-8E0C-257D9926FDA0"
|
---|
483 | Win64="$(var.Property_Win64)">
|
---|
484 | <File Id="file_VBoxCAPI.dll" Name="VBoxCAPI.dll"
|
---|
485 | Source="$(env.PATH_OUT)\bin\VBoxCAPI.dll" />
|
---|
486 | </Component>
|
---|
487 |
|
---|
488 | <!-- Unattended installation template scripts if enabled -->
|
---|
489 | <?include $(env.PATH_TARGET)\VBoxUnattendedTemplateComponent.wxi ?>
|
---|
490 |
|
---|
491 | </Include>
|
---|