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