VirtualBox

source: vbox/trunk/src/VBox/Installer/win/VBoxMergeUSB.wxs@ 51009

Last change on this file since 51009 was 51009, checked in by vboxsync, 11 years ago

Windows host installer: Added merge module (msm) support.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.5 KB
Line 
1<?xml version="1.0"?>
2<!--
3 VirtualBox Windows Installation Script (WiX)
4
5 Copyright (C) 2006-2014 Oracle Corporation
6
7 This file is part of VirtualBox Open Source Edition (OSE), as
8 available from http://www.virtualbox.org. This file is free software;
9 you can redistribute it and/or modify it under the terms of the GNU
10 General Public License (GPL) as published by the Free Software
11 Foundation, in version 2 as it comes in the "COPYING" file of the
12 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
13 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
14-->
15
16<?include Properties.wxi ?>
17
18<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
19 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
20
21 <!-- Note: GUIDs in WiX *must* be uppercase! -->
22 <!-- Always include an upgrade ID or otherwise upgrade installation will not be possible. When doing
23 a major upgrade (more than just fixing a few files) change the product GUID. We always do a major
24 upgrade even for minor VBox updates. For that only change the product ID and the product version.
25 The upgrade code *never* must be changed! -->
26
27 <!-- Update / Upgrade policies:
28 Update Type Package Code Product Version Product Code Upgrade Code
29 Small update change don't change don't change don't change
30 Minor update change change don't change don't change
31 Major upgrade change change change don't change -->
32
33 <!-- Old product ID: <Product Id="B59FE77B-738F-4f1c-AB48-3104895AF676"
34 Old upgrade code of innotek: UpgradeCode="F5FFAEBF-97AE-4038-8F91-4DE719456127" -->
35
36 <Module Id="msm_VBoxUSB"
37 Language="!(loc.LANG)"
38 Version="$(var.Property_Version)">
39
40 <Package Id="b8f1b6f4-2e92-40a6-b819-782e523b20ab"
41 Keywords="Installer, Setup"
42 Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) USB drivers installation package"
43 Comments="$(env.VBOX_PRODUCT) USB drivers installation package"
44 Manufacturer="$(env.VBOX_VENDOR)"
45 InstallerVersion="200"
46 AdminImage="yes"
47 InstallPrivileges="elevated"
48 Platform="$(var.Property_Platform)"
49 SummaryCodepage="1252"/>
50
51 <!-- Here comes the file/directory list -->
52 <Directory Id="TARGETDIR" Name="SourceDir">
53 <Directory Id="MergeRedirectFolder" FileSource=".">
54
55 <Directory Id="dir_USBFilter" Name="filter">
56 <Component Id="cp_USBFilterDriver" Guid="B7D782D2-96DF-4775-A0E1-A76CF7B04B65" Win64="$(var.Property_Win64)">
57 <difxapp:Driver AddRemovePrograms="no" ForceInstall="yes"
58 Legacy="$(var.Property_DriverLegacy)" Sequence="0" PlugAndPlayPrompt="no"/>
59 <File Id="file_VBoxUSBMon.sys" Name="VBoxUSBMon.sys"
60 Source="$(env.PATH_OUT)\bin\VBoxUSBMon.sys" />
61 <File Id="file_VBoxUSBMon.inf" Name="VBoxUSBMon.inf"
62 Source="$(env.PATH_OUT)\bin\VBoxUSBMon.inf" />
63<?if $(env.VBOX_SIGNING_MODE) != none ?>
64 <File Id="file_VBoxUSBMon.cat" Name="VBoxUSBMon.cat"
65 Source="$(env.PATH_OUT)\bin\VBoxUSBMon.cat" />
66<?endif ?>
67 </Component>
68 </Directory>
69
70 <Directory Id="dir_USBDevice" Name="device">
71 <Component Id="cp_USBDeviceDriver" Guid="010FE46A-E358-43E2-8BDC-38BC8BEC82E0" Win64="$(var.Property_Win64)">
72 <!-- <difxapp:Driver AddRemovePrograms="no" ForceInstall="yes"
73 Legacy="$(var.Property_DriverLegacy)" Sequence="0" PlugAndPlayPrompt="no"/> -->
74 <File Id="file_VBoxUSB.sys" Name="VBoxUSB.sys"
75 Source="$(env.PATH_OUT)\bin\VBoxUSB.sys" />
76 <File Id="file_VBoxUSB.inf" Name="VBoxUSB.inf"
77 Source="$(env.PATH_OUT)\bin\VBoxUSB.inf" />
78<?if $(env.VBOX_SIGNING_MODE) != none ?>
79 <File Id="file_VBoxUSB.cat" Name="VBoxUSB.cat"
80 Source="$(env.PATH_OUT)\bin\VBoxUSB.cat" />
81<?endif ?>
82 </Component>
83 </Directory>
84
85 </Directory> <!-- MergeRedirectFolder -->
86 </Directory> <!-- TARGETDIR -->
87
88 </Module>
89</Wix>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette