win-pvdrivers

annotate installer.wxs @ 607:c2aea3e060a7

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