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