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