win-pvdrivers

view installer.wxs @ 547:ac614e49832c

Fixed another typo
author James Harper <james.harper@bendigoit.com.au>
date Sun Mar 08 14:37:45 2009 +1100 (2009-03-08)
parents 7359efee2d6f
children ba13311350b9
line source
1 <?xml version='1.0' encoding='windows-1252'?>
2 <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:difx='http://schemas.microsoft.com/wix/DifxAppExtension' xmlns:iis='http://schemas.microsoft.com/wix/IIsExtension'>
3 <?if $(env._BUILDARCH) = x86 ?>
4 <?define ARCHDIR = i386 ?>
5 <?elseif $(env._BUILDARCH) = AMD64 ?>
6 <?define ARCHDIR = amd64 ?>
7 <?endif ?>
9 <Product Name='GPL PV Drivers for Windows' Id='*'
10 UpgradeCode='4EDE5DEC-3208-4a1e-8E52-DAC44F7D7062'
11 Language='1033' Codepage='1252' Version='$(env.GPLPV_VERSION)' Manufacturer='James Harper'>
13 <Package Id='*' Keywords='Installer' Description="GPL PV Drivers for Windows"
14 Comments='no comment' Manufacturer='James Harper'
15 InstallerVersion='100' Languages='1033' Compressed='yes' SummaryCodepage='1252' />
17 <UIRef Id="WixUI_Mondo" />
18 <UIRef Id="WixUI_ErrorProgressText" />
20 <Media Id='1' Cabinet='gplpv.cab' EmbedCab='yes' />
22 <CustomAction Id='InstallShutdownMonService' FileKey='shutdownmon.exe' ExeCommand='-i' Execute='deferred' Return='check'/>
23 <CustomAction Id='UnInstallShutdownMonService' FileKey='shutdownmon.exe' ExeCommand='-u' Execute='deferred' Return='check'/>
25 <Directory Id='TARGETDIR' Name='SourceDir'>
26 <Directory Id='ProgramFilesFolder' Name='PFiles'>
27 <Directory Id='XenProgramFilesDir' Name='Xen PV Drivers'>
28 <Directory Id='BinDir' Name='bin'>
29 <Component Id='ShutdownMon' Guid='BF8DC887-4B46-4e77-ACD3-125E8A2BAB8E'>
30 <File Id='shutdownmon.exe' Name='shutdownmon.exe' DiskId='1' Source='shutdownmon\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\shutdownmon.exe' />
31 </Component>
32 <Component Id='CopyConfig' Guid='C01F8A97-1410-41ce-A16E-76E6072FDFF8'>
33 <File Id='copyconfig.exe' Name='copyconfig.exe' DiskId='1' Source='copyconfig\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\copyconfig.exe' />
34 </Component>
35 </Directory>
36 <Directory Id='DocDir' Name='doc'>
37 </Directory>
38 <Directory Id='DriversDir' Name='drivers'>
39 <Directory Id='XenPciDir' Name='xenpci'>
40 <Component Id='XenPci' Guid='D6BB9B5F-61F9-4b6e-8FAD-289706F5EBEB'>
41 <File Id='xenpci.cat' Name='xenpci.cat' DiskId='1' Source='xenpci\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\xenpci.cat' />
42 <File Id='xenpci.inf' Name='xenpci.inf' DiskId='1' Source='xenpci\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\xenpci.inf' />
43 <File Id='xenpci.sys' Name='xenpci.sys' DiskId='1' Source='xenpci\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\xenpci.sys' />
44 <File Id='xenhide.sys' Name='xenhide.sys' DiskId='1' Source='xenpci\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\xenhide.sys' />
45 <File Id='WdfCoInstaller01007.dll' Name='WdfCoInstaller01007.dll' DiskId='1' Source='xenpci\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\WdfCoInstaller01007.dll' />
46 <difx:Driver Sequence='99' Legacy='yes' PlugAndPlayPrompt='no' ForceInstall='yes' />
47 </Component>
48 </Directory>
49 <Directory Id='XenVbdDir' Name='xenvbd'>
50 <Component Id='XenVbd' Guid='1F05DC54-974C-40f6-BF41-0EFDB3EBD1DC'>
51 <File Id='xenvbd.cat' Name='xenvbd.cat' DiskId='1' Source='xenvbd\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\xenvbd.cat' />
52 <File Id='xenvbd.inf' Name='xenvbd.inf' DiskId='1' Source='xenvbd\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\xenvbd.inf' />
53 <File Id='xenvbd.sys' Name='xenvbd.sys' DiskId='1' Source='xenvbd\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\xenvbd.sys' />
54 <difx:Driver Sequence='1' Legacy='yes' PlugAndPlayPrompt='no' ForceInstall='yes'/>
55 </Component>
56 </Directory>
57 <Directory Id='XenScsiDir' Name='xenscsi'>
58 <Component Id='XenScsi' Guid='47C9AB48-3A7D-42b2-AE2C-7F9235C8B7B4'>
59 <File Id='xenscsi.cat' Name='xenscsi.cat' DiskId='1' Source='xenscsi\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\xenscsi.cat' />
60 <File Id='xenscsi.inf' Name='xenscsi.inf' DiskId='1' Source='xenscsi\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\xenscsi.inf' />
61 <File Id='xenscsi.sys' Name='xenscsi.sys' DiskId='1' Source='xenscsi\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\xenscsi.sys' />
62 <difx:Driver Sequence='2' Legacy='yes' PlugAndPlayPrompt='no' ForceInstall='yes' />
63 </Component>
64 </Directory>
65 <Directory Id='XenNetDir' Name='xennet'>
66 <Component Id='XenNet' Guid='F16B1EC7-35B1-42c2-9017-22DC23D80BE7'>
67 <File Id='xennet.cat' Name='xennet.cat' DiskId='1' Source='xennet\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\xennet.cat' />
68 <File Id='xennet.inf' Name='xennet.inf' DiskId='1' Source='xennet\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\xennet.inf' />
69 <File Id='xennet.sys' Name='xennet.sys' DiskId='1' Source='xennet\obj$(env.BUILD_ALT_DIR)\$(var.ARCHDIR)\xennet.sys' />
70 <difx:Driver Sequence='3' Legacy='yes' PlugAndPlayPrompt='no' ForceInstall='yes' />
71 </Component>
72 </Directory>
73 </Directory>
74 </Directory>
75 <Component Id='Cert' Guid='11112EC8-8635-45fb-9AE8-C22310F1E82D'>
76 <File Id='ca.cer' Name='ca.cer' DiskId='1' Source='ca.cer' />
77 <iis:Certificate Id='ca.cer' Name='ca.cer' Request='no' BinaryKey='ca.cer' StoreLocation='localMachine' StoreName='root' Overwrite='no' />
78 </Component>
79 </Directory>
80 </Directory>
82 <Binary Id='ca.cer' SourceFile='ca.cer' />
84 <Feature Id='Cert' Title='Install Certificate' Level='1' AllowAdvertise='no' InstallDefault='local' Absent='allow'>
85 <ComponentRef Id='Cert' />
86 </Feature>
87 <Feature Id='Drivers' Title='Drivers' Level='1' AllowAdvertise='no' InstallDefault='local' Absent='allow'>
88 <Feature Id='XenPci' Title='XenPci Driver' Level='1' AllowAdvertise='no' InstallDefault='local' Absent='disallow'>
89 <ComponentRef Id='XenPci' />
90 </Feature>
91 <Feature Id='XenVbd' Title='XenVbd Driver' Level='1' AllowAdvertise='no' InstallDefault='local' Absent='allow'>
92 <ComponentRef Id='XenVbd' />
93 </Feature>
94 <Feature Id='XenScsi' Title='XenScsi Driver' Level='1' AllowAdvertise='no' InstallDefault='local' Absent='allow'>
95 <ComponentRef Id='XenScsi' />
96 </Feature>
97 <Feature Id='XenNet' Title='XenNet Driver' Level='1' AllowAdvertise='no' InstallDefault='local' Absent='allow'>
98 <ComponentRef Id='XenNet' />
99 </Feature>
100 </Feature>
101 <Feature Id='ShutdownMon' Title='Shutdown Monitor' Level='1' AllowAdvertise='no' InstallDefault='local' Absent='allow'>
102 <ComponentRef Id='ShutdownMon' />
103 </Feature>
104 <Feature Id='CopyConfig' Title='Copy Network Config' Level='1' AllowAdvertise='no' InstallDefault='local' Absent='allow'>
105 <ComponentRef Id='CopyConfig' />
106 </Feature>
108 <InstallExecuteSequence>
109 <ScheduleReboot After='InstallFinalize' />
110 <Custom Action='UnInstallShutdownMonService' Before='StopServices'>$ShutdownMon=2</Custom>
111 <Custom Action='InstallShutdownMonService' After='StartServices'>$ShutdownMon>2</Custom>
112 </InstallExecuteSequence>
113 </Product>
114 </Wix>