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 | <File Id="file_VBoxBalloonCtrl.exe" Name="VBoxBalloonCtrl.exe"
|
---|
231 | Source="$(env.PATH_OUT)\bin\VBoxBalloonCtrl.exe"/>
|
---|
232 | <File Id="file_VBoxBugReport.exe" Name="VBoxBugReport.exe"
|
---|
233 | Source="$(env.PATH_OUT)\bin\VBoxBugReport.exe"/>
|
---|
234 | <File Id="file_VBoxAutostartSvc.exe" Name="VBoxAutostartSvc.exe"
|
---|
235 | Source="$(env.PATH_OUT)\bin\VBoxAutostartSvc.exe" />
|
---|
236 | <?if $(env.VBOX_WITH_VBOX_IMG) = "yes" ?>
|
---|
237 | <File Id="file_vbox_img.exe" Name="vbox-img.exe"
|
---|
238 | Source="$(env.PATH_OUT)\bin\vbox-img.exe"/>
|
---|
239 | <?endif ?>
|
---|
240 |
|
---|
241 | <!-- Misc tools -->
|
---|
242 | <File Id="file_VBoxNetDHCP.exe" Name="VBoxNetDHCP.exe"
|
---|
243 | Source="$(env.PATH_OUT)\bin\VBoxNetDHCP.exe"/>
|
---|
244 | <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
|
---|
245 | <File Id="file_VBoxNetDHCP.dll" Name="VBoxNetDHCP.dll"
|
---|
246 | Source="$(env.PATH_OUT)\bin\VBoxNetDHCP.dll">
|
---|
247 | </File>
|
---|
248 | <?endif ?>
|
---|
249 | <File Id="file_VBoxNetNAT.exe" Name="VBoxNetNAT.exe"
|
---|
250 | Source="$(env.PATH_OUT)\bin\VBoxNetNAT.exe"/>
|
---|
251 | <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
|
---|
252 | <File Id="file_VBoxNetNAT.dll" Name="VBoxNetNAT.dll"
|
---|
253 | Source="$(env.PATH_OUT)\bin\VBoxNetNAT.dll">
|
---|
254 | </File>
|
---|
255 | <?endif ?>
|
---|
256 | <?if $(env.VBOX_WITH_EXTPACK) = "yes" ?>
|
---|
257 | <File Id="file_VBoxExtPackHelperApp.exe" Name="VBoxExtPackHelperApp.exe"
|
---|
258 | Source="$(env.PATH_OUT)\bin\VBoxExtPackHelperApp.exe"/>
|
---|
259 | <?endif ?>
|
---|
260 | <?if $(env.VBOX_WITH_DTRACE) = "yes" ?>
|
---|
261 | <File Id="file_VBoxDTrace.exe" Name="VBoxDTrace.exe" Source="$(env.PATH_OUT)\bin\VBoxDTrace.exe" />
|
---|
262 | <?endif ?>
|
---|
263 | <!-- VBox DLL files -->
|
---|
264 | <File Id="file_VBoxDD.dll" Name="VBoxDD.dll"
|
---|
265 | Source="$(env.PATH_OUT)\bin\VBoxDD.dll" />
|
---|
266 | <File Id="file_VBoxDD2.dll" Name="VBoxDD2.dll"
|
---|
267 | Source="$(env.PATH_OUT)\bin\VBoxDD2.dll" />
|
---|
268 | <File Id="file_VBoxDDU.dll" Name="VBoxDDU.dll"
|
---|
269 | Source="$(env.PATH_OUT)\bin\VBoxDDU.dll" />
|
---|
270 | <File Id="file_VBoxRT.dll" Name="VBoxRT.dll"
|
---|
271 | Source="$(env.PATH_OUT)\bin\VBoxRT.dll" />
|
---|
272 | <File Id="file_VBoxSupLib.dll" Name="VBoxSupLib.dll"
|
---|
273 | Source="$(env.PATH_OUT)\bin\VBoxSupLib.dll" />
|
---|
274 | <File Id="file_VBoxVMM.dll" Name="VBoxVMM.dll"
|
---|
275 | Source="$(env.PATH_OUT)\bin\VBoxVMM.dll" />
|
---|
276 | <?if $(env.VBOX_WITH_VRDP) = "yes" ?>
|
---|
277 | <File Id="file_VBoxVRDP.dll" Name="VBoxVRDP.dll"
|
---|
278 | Source="$(env.PATH_OUT)\bin\VBoxVRDP.dll" />
|
---|
279 | <?endif ?>
|
---|
280 | <File Id="file_VBoxSharedFolders.dll" Name="VBoxSharedFolders.dll"
|
---|
281 | Source="$(env.PATH_OUT)\bin\VBoxSharedFolders.dll" />
|
---|
282 | <File Id="file_VBoxSharedClipboard.dll" Name="VBoxSharedClipboard.dll"
|
---|
283 | Source="$(env.PATH_OUT)\bin\VBoxSharedClipboard.dll" />
|
---|
284 | <?if $(env.VBOX_WITH_DRAG_AND_DROP)= "yes" ?>
|
---|
285 | <File Id="file_VBoxDragAndDropSvc.dll" Name="VBoxDragAndDropSvc.dll"
|
---|
286 | Source="$(env.PATH_OUT)\bin\VBoxDragAndDropSvc.dll" />
|
---|
287 | <?endif ?>
|
---|
288 | <?if $(env.VBOX_WITH_GUEST_PROPS) = "yes" ?>
|
---|
289 | <File Id="file_VBoxGuestPropSvc.dll" Name="VBoxGuestPropSvc.dll"
|
---|
290 | Source="$(env.PATH_OUT)\bin\VBoxGuestPropSvc.dll" />
|
---|
291 | <?endif ?>
|
---|
292 | <?if $(env.VBOX_WITH_GUEST_CONTROL) = "yes" ?>
|
---|
293 | <File Id="file_VBoxGuestControlSvc.dll" Name="VBoxGuestControlSvc.dll"
|
---|
294 | Source="$(env.PATH_OUT)\bin\VBoxGuestControlSvc.dll" />
|
---|
295 | <?endif ?>
|
---|
296 | <File Id="file_VBoxHostChannel.dll" Name="VBoxHostChannel.dll"
|
---|
297 | Source="$(env.PATH_OUT)\bin\VBoxHostChannel.dll" />
|
---|
298 | <File Id="file_VBoxAuth.dll" Name="VBoxAuth.dll"
|
---|
299 | Source="$(env.PATH_OUT)\bin\VBoxAuth.dll" />
|
---|
300 | <File Id="file_VBoxAuthSimple.dll" Name="VBoxAuthSimple.dll"
|
---|
301 | Source="$(env.PATH_OUT)\bin\VBoxAuthSimple.dll" />
|
---|
302 |
|
---|
303 | <!-- Include resource DLL (icons, ...) -->
|
---|
304 | <File Id="file_VBoxRes.dll" Name="VBoxRes.dll"
|
---|
305 | Source="$(env.PATH_OUT)\bin\VBoxRes.dll" />
|
---|
306 |
|
---|
307 | <?if $(env.VBOX_WITH_RAW_MODE) = "yes" ?>
|
---|
308 | <File Id="file_VMMRC.rc" Name="VMMRC.rc"
|
---|
309 | Source="$(env.PATH_OUT)\bin\VMMRC.rc" />
|
---|
310 | <File Id="file_VBoxDDRC.rc" Name="VBoxDDRC.rc"
|
---|
311 | Source="$(env.PATH_OUT)\bin\VBoxDDRC.rc" />
|
---|
312 | <?endif ?>
|
---|
313 |
|
---|
314 | <File Id="file_VMMR0.r0" Name="VMMR0.r0"
|
---|
315 | Source="$(env.PATH_OUT)\bin\VMMR0.r0" />
|
---|
316 | <File Id="file_VBoxDDR0.r0" Name="VBoxDDR0.r0"
|
---|
317 | Source="$(env.PATH_OUT)\bin\VBoxDDR0.r0" />
|
---|
318 |
|
---|
319 | <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
|
---|
320 | <!-- Qt frontend -->
|
---|
321 | <File Id="file_VirtualBox.exe" Name="VirtualBox.exe"
|
---|
322 | Source="$(env.PATH_OUT)\bin\VirtualBox.exe">
|
---|
323 | </File>
|
---|
324 | <File Id="file_VirtualBoxVM.exe" Name="VirtualBoxVM.exe"
|
---|
325 | Source="$(env.PATH_OUT)\bin\VirtualBoxVM.exe">
|
---|
326 | </File>
|
---|
327 | <File Id="file_UICommon.dll" Name="UICommon.dll"
|
---|
328 | Source="$(env.PATH_OUT)\bin\UICommon.dll">
|
---|
329 | </File>
|
---|
330 | <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
|
---|
331 | <File Id="file_VirtualBoxVM.dll" Name="VirtualBoxVM.dll"
|
---|
332 | Source="$(env.PATH_OUT)\bin\VirtualBoxVM.dll">
|
---|
333 | </File>
|
---|
334 | <?endif ?>
|
---|
335 | <File Id="file_Qt5Core$(var.VBOX_QT_INFIX).dll" Name="Qt5Core$(var.VBOX_QT_INFIX).dll"
|
---|
336 | Source="$(env.PATH_OUT)\bin\Qt5Core$(var.VBOX_QT_INFIX).dll" />
|
---|
337 | <File Id="file_Qt5Gui$(var.VBOX_QT_INFIX).dll" Name="Qt5Gui$(var.VBOX_QT_INFIX).dll"
|
---|
338 | Source="$(env.PATH_OUT)\bin\Qt5Gui$(var.VBOX_QT_INFIX).dll" />
|
---|
339 | <File Id="file_Qt5Widgets$(var.VBOX_QT_INFIX).dll" Name="Qt5Widgets$(var.VBOX_QT_INFIX).dll"
|
---|
340 | Source="$(env.PATH_OUT)\bin\Qt5Widgets$(var.VBOX_QT_INFIX).dll" />
|
---|
341 | <File Id="file_Qt5PrintSupport$(var.VBOX_QT_INFIX).dll" Name="Qt5PrintSupport$(var.VBOX_QT_INFIX).dll"
|
---|
342 | Source="$(env.PATH_OUT)\bin\Qt5PrintSupport$(var.VBOX_QT_INFIX).dll" />
|
---|
343 | <File Id="file_Qt5WinExtras$(var.VBOX_QT_INFIX).dll" Name="Qt5WinExtras$(var.VBOX_QT_INFIX).dll"
|
---|
344 | Source="$(env.PATH_OUT)\bin\Qt5WinExtras$(var.VBOX_QT_INFIX).dll" />
|
---|
345 | <File Id="file_VirtualBox.VisualElementsManifest.xml" Name="VirtualBox.VisualElementsManifest.xml"
|
---|
346 | Source="$(env.PATH_OUT)\bin\VirtualBox.VisualElementsManifest.xml" />
|
---|
347 | <File Id="file_VirtualBox_70px.png" Name="VirtualBox_70px.png"
|
---|
348 | Source="$(env.PATH_OUT)\bin\VirtualBox_70px.png" />
|
---|
349 | <File Id="file_VirtualBox_150px.png" Name="VirtualBox_150px.png"
|
---|
350 | Source="$(env.PATH_OUT)\bin\VirtualBox_150px.png" />
|
---|
351 |
|
---|
352 | <File Id="file_VBoxTestOGL.exe" Name="VBoxTestOGL.exe"
|
---|
353 | Source="$(env.PATH_OUT)\bin\VBoxTestOGL.exe" />
|
---|
354 | <?endif ?>
|
---|
355 | <?if $(env.VBOX_WITH_DEBUGGER_GUI) = "yes" ?>
|
---|
356 | <File Id="file_VBoxDbg.dll" Name="VBoxDbg.dll"
|
---|
357 | Source="$(env.PATH_OUT)\bin\VBoxDbg.dll" />
|
---|
358 | <File Id="file_DbgPlugInDiggers.dll" Name="DbgPlugInDiggers.dll"
|
---|
359 | Source="$(env.PATH_OUT)\bin\DbgPlugInDiggers.dll" />
|
---|
360 | <?endif ?>
|
---|
361 | <?if $(env.VBOX_GUI_USE_QGL) = "yes" ?>
|
---|
362 | <File Id="file_Qt5OpenGL$(var.VBOX_QT_INFIX).dll" Name="Qt5OpenGL$(var.VBOX_QT_INFIX).dll"
|
---|
363 | Source="$(env.PATH_OUT)\bin\Qt5OpenGL$(var.VBOX_QT_INFIX).dll" />
|
---|
364 | <?endif?>
|
---|
365 |
|
---|
366 | <!-- Include CRT Dlls (specific to the compiler). -->
|
---|
367 | <?include $(env.PATH_TARGET)\VBoxCrtDlls.wxi ?>
|
---|
368 |
|
---|
369 | <!-- EFI firmware -->
|
---|
370 | <?if $(env.VBOX_WITH_EFIFW_PACKING) = "yes" ?>
|
---|
371 | <File Id="file_VBoxEFI32.fd" Name="VBoxEFI32.fd" DiskId="$(var.Property_DiskIdCommon)"
|
---|
372 | Source="$(env.PATH_OUT)\bin\VBoxEFI32.fd" />
|
---|
373 | <File Id="file_VBoxEFI64.fd" Name="VBoxEFI64.fd" DiskId="$(var.Property_DiskIdCommon)"
|
---|
374 | Source="$(env.PATH_OUT)\bin\VBoxEFI64.fd" />
|
---|
375 | <?endif?>
|
---|
376 | <!-- VBox guest additions -->
|
---|
377 | <?if $(env.VBOX_WITH_ADDITIONS_PACKING) = "yes" ?>
|
---|
378 | <?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
|
---|
379 | <File Id="file_VBoxGuestAdditions.iso" Name="VBoxGuestAdditions.iso"
|
---|
380 | Source="$(env.PATH_MULTIARCH_GUEST_ADDITIONS_ISO)\VBoxGuestAdditions.iso"
|
---|
381 | DiskId="$(var.Property_DiskIdCommon)" />
|
---|
382 | <?else ?>
|
---|
383 | <File Id="file_VBoxGuestAdditions.iso" Name="VBoxGuestAdditions.iso"
|
---|
384 | Source="$(env.PATH_OUT)\bin\additions\VBoxGuestAdditions.iso" />
|
---|
385 | <?endif ?>
|
---|
386 | <?endif ?>
|
---|
387 | <!-- Include registry key for VBox version -->
|
---|
388 | <?include $(env.PATH_TARGET)\VBoxKey.wxi ?>
|
---|
389 |
|
---|
390 | </Component> <!-- MainBinaries -->
|
---|
391 |
|
---|
392 | <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
|
---|
393 | <!-- Qt platforms plugins -->
|
---|
394 | <Directory Id="dir_VBoxAppPlatforms" Name="platforms">
|
---|
395 | <Component Id="cp_QtPlatforms" Guid="842367ec-6094-4ddc-93d8-6ca70fc1ca24" Win64="$(var.Property_Win64)">
|
---|
396 | <File Id="file_qminimal.dll" Name="qminimal.dll"
|
---|
397 | Source="$(env.PATH_OUT)\bin\platforms\qminimal.dll" />
|
---|
398 | <File Id="file_qoffscreen.dll" Name="qoffscreen.dll"
|
---|
399 | Source="$(env.PATH_OUT)\bin\platforms\qoffscreen.dll" />
|
---|
400 | <File Id="file_qwindows.dll" Name="qwindows.dll"
|
---|
401 | Source="$(env.PATH_OUT)\bin\platforms\qwindows.dll" />
|
---|
402 | </Component>
|
---|
403 | </Directory>
|
---|
404 | <?endif ?>
|
---|
405 |
|
---|
406 | <?if $(env.VBOX_WITH_VBOXSDL) = "yes" ?>
|
---|
407 | <!-- SDL frontend -->
|
---|
408 | <Component Id="cp_VBoxSDLBinaries" Guid="F09D5FD9-E176-42B0-90A9-481BB18B0CB4"
|
---|
409 | Win64="$(var.Property_Win64)">
|
---|
410 | <File Id="file_VBoxSDL.exe" Name="VBoxSDL.exe"
|
---|
411 | Source="$(env.PATH_OUT)\bin\VBoxSDL.exe" />
|
---|
412 | <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
|
---|
413 | <File Id="file_VBoxSDL.dll" Name="VBoxSDL.dll"
|
---|
414 | Source="$(env.PATH_OUT)\bin\VBoxSDL.dll">
|
---|
415 | </File>
|
---|
416 | <?endif ?>
|
---|
417 | <File Id="file_SDL.dll" Name="SDL.dll"
|
---|
418 | Source="$(env.PATH_OUT)\bin\SDL.dll" />
|
---|
419 | <?if $(env.VBOX_WITH_SECURELABEL) = "yes" ?>
|
---|
420 | <File Id="file_SDL_ttf.dll" Name="SDL_ttf.dll"
|
---|
421 | Source="$(env.PATH_OUT)\bin\SDL_ttf.dll" />
|
---|
422 | <?endif?>
|
---|
423 | </Component> <!-- SDL frontend -->
|
---|
424 | <?endif ?>
|
---|
425 |
|
---|
426 | <?if $(env.VBOX_WITH_WEBSERVICES) = "yes" ?>
|
---|
427 | <!-- Webservice -->
|
---|
428 | <Component Id="cp_VBoxWebService" Guid="DD404F04-9874-43E9-AEE2-7762924D922E"
|
---|
429 | Win64="$(var.Property_Win64)">
|
---|
430 | <File Id="file_VBoxWebSrv.exe" Name="VBoxWebSrv.exe"
|
---|
431 | Source="$(env.PATH_OUT)\bin\vboxwebsrv.exe" />
|
---|
432 | </Component>
|
---|
433 | <?endif?>
|
---|
434 | <!-- C API (glue) bindings -->
|
---|
435 | <Component Id="cp_VBoxCAPI" Guid="097F7F53-7111-467F-8E0C-257D9926FDA0"
|
---|
436 | Win64="$(var.Property_Win64)">
|
---|
437 | <File Id="file_VBoxCAPI.dll" Name="VBoxCAPI.dll"
|
---|
438 | Source="$(env.PATH_OUT)\bin\VBoxCAPI.dll" />
|
---|
439 | </Component>
|
---|
440 |
|
---|
441 | <!-- Unattended installation template scripts if enabled -->
|
---|
442 | <?include $(env.PATH_TARGET)\VBoxUnattendedTemplateComponent.wxi ?>
|
---|
443 |
|
---|
444 | </Include>
|
---|