win-pvdrivers

annotate wix.bat @ 763:9866a1812579

Fix a network bug where trailing bytes on the ethernet frame caused bad checksums on the RX path
author James Harper <james.harper@bendigoit.com.au>
date Sun Jan 17 15:08:23 2010 +1100 (2010-01-17)
parents fc6e317ad8c8
children d538e0141114
rev   line source
james@541 1 @ECHO OFF
james@689 2
james@541 3 IF "%_BUILDARCH%"=="x86" (SET DIFXLIB=%WIX%bin\difxapp_x86.wixlib) ELSE (SET DIFXLIB=%WIX%bin\difxapp_x64.wixlib)
james@689 4
james@689 5 IF "%_BUILDARCH%"=="x86" (SET MSIARCH=x32) ELSE (SET MSIARCH=x64)
james@689 6
james@689 7 IF "%DDKBUILDENV%"=="chk" (SET MSIBUILD=_debug) ELSE (SET MSIBUILD=)
james@689 8
james@689 9 SET MSIOS=%DDK_TARGET_OS%
james@689 10 IF "%DDK_TARGET_OS%"=="WinXP" (SET MSIOS=XP)
james@689 11 IF "%DDK_TARGET_OS%"=="WinXP" (SET MSIARCH=)
james@689 12 IF "%DDK_TARGET_OS%"=="WinNET" (SET MSIOS=2003)
james@689 13 IF "%DDK_TARGET_OS%"=="WinLH" (SET MSIOS=Vista2008)
james@689 14
james@689 15 SET MSINAME=gplpv_%MSIOS%%MSIARCH%_%GPLPV_VERSION%%MSIBUILD%.msi
james@689 16
james@716 17 for /F %%x in ('DIR /B %BASEDIR%\redist\wdf\%_BUILDARCH%\WdfCoInstaller?????.dll') do set WDFFILENAME=%%x
james@716 18
james@541 19 "%WIX%\bin\candle" installer.wxs -ext "%WIX%\bin\WixUIExtension.dll" -ext "%WIX%\bin\WixDifxAppExtension.dll" -ext "%WIX%\bin\WixIIsExtension.dll"
james@689 20 "%WIX%\bin\light.exe" -o %MSINAME% installer.wixobj "%DIFXLIB%" -ext "%WIX%\bin\WixUIExtension.dll" -ext "%WIX%\bin\WixDifxAppExtension.dll" -ext "%WIX%\bin\WixIIsExtension.dll"
james@730 21
james@730 22 %SIGNTOOL% sign /v /s PrivateCertStore /n %CERT_NAME% /t http://timestamp.verisign.com/scripts/timestamp.dll %MSINAME%