win-pvdrivers

changeset 730:fc6e317ad8c8

Sign the installer too. Shuffle some things around to make this work.
author James Harper <james.harper@bendigoit.com.au>
date Sat Jan 02 10:21:10 2010 +1100 (2010-01-02)
parents 7f984f45dfe4
children 3b46c7474a82
files makedist.bat sign.bat wix.bat
line diff
     1.1 --- a/makedist.bat	Sat Jan 02 10:17:19 2010 +1100
     1.2 +++ b/makedist.bat	Sat Jan 02 10:21:10 2010 +1100
     1.3 @@ -16,12 +16,27 @@ CALL set_ddk_path.bat
     1.4  
     1.5  SET PV_DIR=%CD%
     1.6  
     1.7 -ECHO PV_DIR=%PV_DIR%
     1.8 +SET SIGNTOOL=%DDK_PATH%\bin\x86\signtool.exe
     1.9 +IF NOT EXIST %SIGNTOOL% SET SIGNTOOL=%DDK_PATH%\bin\selfsign\signtool.exe
    1.10 +SET CERT_NAME=GPLPV_Test_Cert
    1.11 +
    1.12 +REM IF NOT EXIST SIGN_CONFIG.BAT GOTO DONT_SIGN
    1.13 +REM CALL SIGN_CONFIG.BAT
    1.14  
    1.15  IF NOT EXIST gplpv.cer "%DDK_PATH%"\bin\selfsign\makecert -r -pe -ss PrivateCertStore -n "CN=GPLPV_Test_Cert" gplpv.cer
    1.16  
    1.17  mkdir symbols\%GPLPV_VERSION%
    1.18  
    1.19 +cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk WXP && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call archive.bat && call wix.bat"
    1.20 +
    1.21 +cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk WNET && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call archive.bat && call wix.bat"
    1.22 +
    1.23 +cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk x64 WNET && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call archive.bat && call wix.bat"
    1.24 +
    1.25 +cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk WLH && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call archive.bat && call wix.bat"
    1.26 +
    1.27 +cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk x64 WLH && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call archive.bat && call wix.bat"
    1.28 +
    1.29  cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ fre WXP && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call wix.bat"
    1.30  
    1.31  cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ fre WNET && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call wix.bat"
    1.32 @@ -32,16 +47,6 @@ cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_P
    1.33  
    1.34  cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ fre x64 WLH && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call wix.bat"
    1.35  
    1.36 -cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk WXP && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call archive.bat && call wix.bat"
    1.37 -
    1.38 -cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk WNET && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call archive.bat && call wix.bat"
    1.39 -
    1.40 -cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk x64 WNET && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call archive.bat && call wix.bat"
    1.41 -
    1.42 -cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk WLH && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call archive.bat && call wix.bat"
    1.43 -
    1.44 -cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk x64 WLH && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call archive.bat && call wix.bat"
    1.45 -
    1.46  IF NOT EXIST TAG_HG GOTO DONT_TAG
    1.47  IF EXIST BUILD*.WRN GOTO DONT_TAG
    1.48  IF EXIST BUILD*.ERR GOTO DONT_TAG
     2.1 --- a/sign.bat	Sat Jan 02 10:17:19 2010 +1100
     2.2 +++ b/sign.bat	Sat Jan 02 10:21:10 2010 +1100
     2.3 @@ -18,14 +18,6 @@ for /F %%x in ('DIR /B %BASEDIR%\redist\
     2.4  xcopy /D %BASEDIR%\redist\wdf\%_BUILDARCH%\%WDFFILENAME% xenpci\%BUILDDIR%
     2.5  xcopy /D %BASEDIR%\redist\wdf\%_BUILDARCH%\%WDFFILENAME% xenusb\%BUILDDIR%
     2.6  
     2.7 -REM IF NOT EXIST SIGN_CONFIG.BAT GOTO DONT_SIGN
     2.8 -REM CALL SIGN_CONFIG.BAT
     2.9 -
    2.10 -SET CERT_NAME=GPLPV_Test_Cert
    2.11 -
    2.12 -SET SIGNTOOL=%DDK_PATH%\bin\x86\signtool.exe
    2.13 -IF NOT EXIST %SIGNTOOL% SET SIGNTOOL=%DDK_PATH%\bin\selfsign\signtool.exe
    2.14 -
    2.15  %SIGNTOOL% sign /v /s PrivateCertStore /n %CERT_NAME% /t http://timestamp.verisign.com/scripts/timestamp.dll xenpci\%BUILDDIR%\xenpci.sys
    2.16  %DDK_PATH%\bin\selfsign\inf2cat /driver:xenpci\%BUILDDIR% /os:%SIGN_OS%
    2.17  %SIGNTOOL% sign /v /s PrivateCertStore /n %CERT_NAME% /t http://timestamp.verisign.com/scripts/timestamp.dll xenpci\%BUILDDIR%\xenpci.cat
     3.1 --- a/wix.bat	Sat Jan 02 10:17:19 2010 +1100
     3.2 +++ b/wix.bat	Sat Jan 02 10:21:10 2010 +1100
     3.3 @@ -18,3 +18,5 @@ for /F %%x in ('DIR /B %BASEDIR%\redist\
     3.4  
     3.5  "%WIX%\bin\candle" installer.wxs -ext "%WIX%\bin\WixUIExtension.dll" -ext "%WIX%\bin\WixDifxAppExtension.dll" -ext "%WIX%\bin\WixIIsExtension.dll"
     3.6  "%WIX%\bin\light.exe" -o %MSINAME% installer.wixobj "%DIFXLIB%" -ext "%WIX%\bin\WixUIExtension.dll" -ext "%WIX%\bin\WixDifxAppExtension.dll" -ext "%WIX%\bin\WixIIsExtension.dll"
     3.7 +
     3.8 +%SIGNTOOL% sign /v /s PrivateCertStore /n %CERT_NAME% /t http://timestamp.verisign.com/scripts/timestamp.dll %MSINAME%