win-pvdrivers

view wix.bat @ 947:a05b13795cb2

storport calls StartIo even when the adapter fails to initialise. Make sure this doesn't crash.
author James Harper <james.harper@bendigoit.com.au>
date Mon Aug 22 23:14:01 2011 +1000 (2011-08-22)
parents d538e0141114
children 3f3cc40cb3ae
line source
1 @ECHO OFF
3 IF "%_BUILDARCH%"=="x86" (SET DIFXLIB=%WIX%bin\difxapp_x86.wixlib) ELSE (SET DIFXLIB=%WIX%bin\difxapp_x64.wixlib)
5 IF "%_BUILDARCH%"=="x86" (SET MSIARCH=x32) ELSE (SET MSIARCH=x64)
7 IF "%DDKBUILDENV%"=="chk" (SET MSIBUILD=_debug) ELSE (SET MSIBUILD=)
9 SET MSIOS=%DDK_TARGET_OS%
10 IF "%DDK_TARGET_OS%"=="Win2K" (SET MSIOS=2000)
11 IF "%DDK_TARGET_OS%"=="Win2K" (SET MSIARCH=)
12 IF "%DDK_TARGET_OS%"=="WinXP" (SET MSIOS=XP)
13 IF "%DDK_TARGET_OS%"=="WinXP" (SET MSIARCH=)
14 IF "%DDK_TARGET_OS%"=="WinNET" (SET MSIOS=2003)
15 IF "%DDK_TARGET_OS%"=="WinLH" (SET MSIOS=Vista2008)
17 SET MSINAME=gplpv_%MSIOS%%MSIARCH%_%GPLPV_VERSION%%MSIBUILD%.msi
19 for /F %%x in ('DIR /B %BASEDIR%\redist\wdf\%_BUILDARCH%\WdfCoInstaller?????.dll') do set WDFFILENAME=%%x
21 "%WIX%\bin\candle" installer.wxs -ext "%WIX%\bin\WixUIExtension.dll" -ext "%WIX%\bin\WixDifxAppExtension.dll" -ext "%WIX%\bin\WixIIsExtension.dll"
22 "%WIX%\bin\light.exe" -o %MSINAME% installer.wixobj "%DIFXLIB%" -ext "%WIX%\bin\WixUIExtension.dll" -ext "%WIX%\bin\WixDifxAppExtension.dll" -ext "%WIX%\bin\WixIIsExtension.dll"
24 %SIGNTOOL% sign /v /s PrivateCertStore /n %CERT_NAME% /t http://timestamp.verisign.com/scripts/timestamp.dll %MSINAME%