Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

893 lines
58 KiB

  1. @REM =================================================================
  2. @REM ==
  3. @REM == regress.bat -- ISPU regression tests
  4. @REM ==
  5. @REM == called from ISPU/REGRESS.BAT
  6. @REM ==
  7. @REM == parameters if called from main regress:
  8. @REM == 1 = -!
  9. @REM == 2 = ispu base directory (eg: \nt\private\ispunt)
  10. @REM == 3 = parameters passed in to original regress.bat
  11. @REM == ...
  12. @REM ==
  13. @REM =================================================================
  14. @echo off
  15. @SETLOCAL ENABLEEXTENSIONS
  16. @set THISDIR=pkitrust\tests
  17. @set BASEDIR=%_ispudir%
  18. @set LOGFILE=%BASEDIR%\%THISDIR%\regress.out
  19. @set BASEDIRTHISDIR=%BASEDIR%\%THISDIR%
  20. @set __CalledFromMain=FALSE
  21. @set _CDB_=
  22. @set DEBUG_MASK=
  23. @set DEBUG_PRINT_MASK=
  24. @REM =====================================================
  25. :PrsCmdLine
  26. @REM =====================================================
  27. @if /i "%1" == "-!" @goto Param_!
  28. @if /i "%1" == "-?" @goto NeedHelp
  29. @if /i "%1" == "-d" @goto Param_d
  30. @if /i "%1" == "-v" @goto Param_v
  31. @if /i "%1" == "-l" @goto Param_l
  32. @if /i "%1" == "-r" @goto Param_r
  33. @if /i "%1" == "" @goto PrsCmdDone
  34. @shift
  35. @goto PrsCmdLine
  36. @REM =====================================================
  37. :NeedHelp
  38. @REM =====================================================
  39. @echo Usage: regress [switches]
  40. @echo -d enable all debug_print_masks
  41. @echo -v verbose (don't suppress echo)
  42. @echo -l check for memory leaks (default=no)
  43. @goto ExitRegress
  44. @REM =====================================================
  45. :Param_!
  46. @REM =====================================================
  47. @shift
  48. @if "%1" == "" @goto NeedHelp
  49. @set __CalledFromMain=TRUE
  50. @set BASEDIR=%1
  51. @set LOGFILE=%BASEDIRTHISDIR%\regress.out
  52. @shift
  53. @goto PrsCmdLine
  54. @REM =====================================================
  55. :Param_v
  56. @REM =====================================================
  57. @echo on
  58. @shift
  59. @goto PrsCmdLine
  60. @REM =====================================================
  61. :Param_d
  62. @REM =====================================================
  63. @set DEBUG_PRINT_MASK=0xFFFFFFFF
  64. @shift
  65. @goto PrsCmdLine
  66. @REM =====================================================
  67. :Param_l
  68. @REM =====================================================
  69. @set _CDB_=cdb -g -G
  70. @set DEBUG_MASK=0x20
  71. @shift
  72. @goto PrsCmdLine
  73. @REM =====================================================
  74. :Param_r
  75. @REM =====================================================
  76. @set BASEDIRTHISDIR=%2
  77. @set LOGFILE=%BASEDIRTHISDIR%\trstrgrs.out
  78. @shift
  79. @goto PrsCmdLine
  80. @REM =====================================================
  81. :PrsCmdDone
  82. @REM =====================================================
  83. @if NOT "%__CalledFromMain%" == "TRUE" @if exist %LOGFILE% del %LOGFILE%
  84. @goto StartTests
  85. @REM =====================================================
  86. :StartTests
  87. @REM =====================================================
  88. @echo ======= START PKITRUST REGRESSIONS ======= >> %LOGFILE%
  89. @echo ------- SETREG Regressions ------- >> %LOGFILE%
  90. cd %BASEDIRTHISDIR%
  91. %_CDB_% setreg -q 1 true 2 true 3 false 4 false >> %LOGFILE%
  92. @rem on 7-Aug-00, set 5 to false, offline revocation OK (commercial)
  93. %_CDB_% setreg -q 5 false 6 false 7 true 8 false >> %LOGFILE%
  94. %_CDB_% setreg -q 9 false 10 false >> %LOGFILE%
  95. %_CDB_% setreg >> %LOGFILE%
  96. @echo ------- CHKTRUST Regressions ------- >> %LOGFILE%
  97. @echo ------- CHKTRUST (signing bad) -------- >> %LOGFILE%
  98. @cd signing
  99. @cd bad
  100. @rem --- cert signature
  101. %_CDB_% chktrust -q -h0x80096004 bcrtsng.cla >> %LOGFILE%
  102. %_CDB_% chktrust -q -h0x80096004 bs_name.exe >> %LOGFILE%
  103. %_CDB_% chktrust -q -h0x80096004 btmcrtsg.cla >> %LOGFILE%
  104. %_CDB_% chktrust -q -h0x80096004 cert_pcb.exe >> %LOGFILE%
  105. %_CDB_% chktrust -q -h0x80096004 cert_pcb.cab >> %LOGFILE%
  106. %_CDB_% chktrust -q -h0x80096004 cert_pcb.cat >> %LOGFILE%
  107. @rem %_CDB_% chktrust -q -h0x80096004 cert_pcb.doc >> %LOGFILE%
  108. @rem --- counter (timestamp) cert signature
  109. %_CDB_% chktrust -q -h0x80096003 tscert.exe >> %LOGFILE%
  110. %_CDB_% chktrust -q -h0x80096003 tscert.cat >> %LOGFILE%
  111. %_CDB_% chktrust -q -h0x80096003 tscert.cab >> %LOGFILE%
  112. @rem %_CDB_% chktrust -q -h0x80096003 tscert.doc >> %LOGFILE%
  113. @rem --- bad object digest
  114. %_CDB_% chktrust -q -h0x80096010 b_dig.ocx >> %LOGFILE%
  115. %_CDB_% chktrust -q -h0x80096010 b_dig.cab >> %LOGFILE%
  116. %_CDB_% chktrust -q -h0x80096010 b_dig.cla >> %LOGFILE%
  117. %_CDB_% chktrust -q -h0x80096010 b_dig.dll >> %LOGFILE%
  118. %_CDB_% chktrust -q -h0x80096010 b_dig.exe >> %LOGFILE%
  119. %_CDB_% chktrust -q -h0x80096010 sig_pcb.exe >> %LOGFILE%
  120. %_CDB_% chktrust -q -h0x80096010 sig2_pcb.exe >> %LOGFILE%
  121. %_CDB_% chktrust -q -h0x80096010 sig3_pcb.exe >> %LOGFILE%
  122. %_CDB_% chktrust -q -h0x80096010 sig_pcb.cab >> %LOGFILE%
  123. @rem %_CDB_% chktrust -q -h0x80096010 sig_pcb.doc >> %LOGFILE%
  124. @rem --- bad signature hash
  125. %_CDB_% chktrust -q -h0x800b0100 sig_pcb.cat >> %LOGFILE%
  126. %_CDB_% chktrust -q -h0x800b0100 bad_sign.ocx >> %LOGFILE%
  127. %_CDB_% chktrust -q -h0x800b0100 bad_sign.dll >> %LOGFILE%
  128. @rem --- bad internal content
  129. %_CDB_% chktrust -q -h0x800b0100 badintct.exe >> %LOGFILE%
  130. @rem --- commercial cert with bad financial criteria
  131. @rem ------ check taken out of softpub!
  132. %_CDB_% chktrust -q -h0x0 bfincrit.cab >> %LOGFILE%
  133. %_CDB_% chktrust -q -h0x0 fincrit.exe >> %LOGFILE%
  134. @rem --- revoked certificate (expired)
  135. %_CDB_% setreg -q 3 TRUE >> %LOGFILE%
  136. %_CDB_% chktrust -q -h0x800b0101 revoked.exe >> %LOGFILE%
  137. %_CDB_% setreg -q 3 FALSE >> %LOGFILE%
  138. @echo ------- CHKTRUST (signing good) -------- >> %LOGFILE%
  139. @cd ..
  140. @cd good
  141. %_CDB_% setreg -q 3 FALSE >> %LOGFILE%
  142. @rem --- Executables
  143. %_CDB_% chktrust -q -h0x0 good_pcb.exe >> %LOGFILE%
  144. @rem --- Catalogs
  145. %_CDB_% chktrust -q -h0x0 good_pcb.cat >> %LOGFILE%
  146. @rem --- CABs
  147. %_CDB_% chktrust -q -h0x0 good_pcb.cab >> %LOGFILE%
  148. @rem --- Structured Storage
  149. @rem %_CDB_% chktrust -q -h0x0 b_ok.doc >> %LOGFILE%
  150. @rem %_CDB_% chktrust -q -h0x0 b_ok.xls >> %LOGFILE%
  151. @rem %_CDB_% chktrust -q -h0x0 b_ok.ppt >> %LOGFILE%
  152. @rem --- v1 signed files
  153. %_CDB_% setreg -q 8 TRUE >> %LOGFILE%
  154. %_CDB_% chktrust -q -h0x80092026 b_ok.exe >> %LOGFILE%
  155. %_CDB_% setreg -q 8 FALSE >> %LOGFILE%
  156. @rem --- signed using test root
  157. %_CDB_% setreg -q 1 FALSE >> %LOGFILE%
  158. %_CDB_% chktrust -q -h0x800b010d good.cab >> %LOGFILE%
  159. %_CDB_% setreg -q 1 TRUE >> %LOGFILE%
  160. @rem --- TimeStamped
  161. %_CDB_% chktrust -q -h0x0 timstamp.cab >> %LOGFILE%
  162. @echo ------- CHKTRUST (unsigned) -------- >> %LOGFILE%
  163. @cd ..
  164. @cd unsigned
  165. @rem --- 16 bit dll -- no sip
  166. %_CDB_% chktrust -q -h0x800b0003 ctl3d.dll >> %LOGFILE%
  167. @rem --- unsigned supported
  168. %_CDB_% chktrust -q -h0x800b0100 unsign.cab >> %LOGFILE%
  169. @echo ------- CHKTRUST (catalogs) -------- >> %LOGFILE%
  170. @cd %BASEDIRTHISDIR%
  171. @cd catalogs
  172. @rem --- the testrev.exe has been signed with a revoked cert,
  173. %_CDB_% setreg -q 3 TRUE >> %LOGFILE%
  174. %_CDB_% chktrust -q -h0x800b010e -c test.p7s -t TestSignedEXE testrev.exe >> %LOGFILE%
  175. %_CDB_% setreg -q 3 FALSE >> %LOGFILE%
  176. %_CDB_% chktrust -q -h0x0 -c test.p7s -t TestSignedEXENoAttr test2.exe >> %LOGFILE%
  177. %_CDB_% chktrust -q -h0x0 -c test.p7s -t TestUnsignedCAB nosntest.cab >> %LOGFILE%
  178. %_CDB_% chktrust -q -h0x0 -c test.p7s -t TestSignedCAB signtest.cab >> %LOGFILE%
  179. %_CDB_% chktrust -q -h0x0 -c test.p7s -t TestFlat create.bat >> %LOGFILE%
  180. @rem --- not found
  181. %_CDB_% chktrust -q -h0x800b0100 -c test.p7s -t NotThere create.bat >> %LOGFILE%
  182. %_CDB_% chktrust -q -h0x800b0100 -c test.p7s -t NotThere nosntest.cab >> %LOGFILE%
  183. @echo ------- CHKTRUST (catalogs DB) -------- >> %LOGFILE%
  184. @rem --- create the catalogs
  185. %_CDB_% makecat -h0x0 regress.cdf >> %LOGFILE%
  186. %_CDB_% makecat -h0x0 regress2.cdf >> %LOGFILE%
  187. %_CDB_% makecat -h0x0 catdb1.cdf >> %LOGFILE%
  188. @rem --- sign them
  189. %_CDB_% signcode -spc publish.spc -v publish.pvk -n "Peter's Catalog DB Test" -i "www.microsoft.com" -$ individual regress.cat >> %LOGFILE%
  190. %_CDB_% signcode -spc publish.spc -v publish.pvk -n "Peter's Catalog DB Test" -i "www.microsoft.com" -$ individual regress2.cat >> %LOGFILE%
  191. %_CDB_% signcode -spc publish.spc -v publish.pvk -n "Peter's Catalog DB Test" -i "www.microsoft.com" -$ individual catdb1.cat >> %LOGFILE%
  192. @rem --- add the catalogs to the db
  193. %_CDB_% chktrust -acl regress.cat >> %LOGFILE%
  194. %_CDB_% chktrust -acl regress2.cat >> %LOGFILE%
  195. %_CDB_% chktrust -acl catdb1.cat >> %LOGFILE%
  196. @rem --- use the db to verify
  197. %_CDB_% chktrust -ucl -q -h 0x0 testrev.exe >> %LOGFILE%
  198. %_CDB_% chktrust -ucl -q -h 0x0 create.bat >> %LOGFILE%
  199. %_CDB_% chktrust -ucl -q -h 0x0 signtest.cab >> %LOGFILE%
  200. %_CDB_% chktrust -ucl -q -h 0x0 test2.exe >> %LOGFILE%
  201. @echo ------- CHKTRUST (driver signing) -------- >> %LOGFILE%
  202. %_CDB_% setreg -q 1 true >> %LOGFILE%
  203. @rem
  204. @rem driver signing provider guid
  205. @rem
  206. @set __g={F750E6C3-38EE-11d1-85E5-00C04FC295EE}
  207. @set __u=1.3.6.1.4.1.311.10.3.5
  208. @set __p=-n "Microsoft TEST" -i "http://pberkman2"
  209. @cd %BASEDIRTHISDIR%
  210. @cd catalogs
  211. %_CDB_% makecat -h0x0 drvsign.cdf >> %LOGFILE%
  212. %_CDB_% makecert -eku %__u% -sv drv.pvk -n "CN=Microsoft TEST Driver Signing" drv.cer >> %LOGFILE%
  213. %_CDB_% cert2spc drv.cer drv.spc >> %LOGFILE%
  214. %_CDB_% signcode -v drv.pvk -$ individual -spc drv.spc %__p% drvsign.CAT >> %LOGFILE%
  215. @rem -- the driver provider does not allow test roots...
  216. @rem -- on 4/28/98 keithv gave orders to allow trusting test roots
  217. @rem -- on 8/7/00 philh removed trusting test roots
  218. %_CDB_% chktrust -h 0x800b010d -g %__g% -c drvsign.cat -t testrev.exe testrev.exe >> %LOGFILE%
  219. @rem %_CDB_% chktrust -h 0x0 -g %__g% -c drvsign.cat -t testrev.exe testrev.exe >> %LOGFILE%
  220. @rem -- "OSAttr" attribute overridden at the item level -- should fail os version
  221. %_CDB_% chktrust -q -h 0x47F -g %__g% -c drvsign.cat -t signtest.cab signtest.cab >> %LOGFILE%
  222. @cd drvsign
  223. @rem ---- check catalog (good)
  224. %_CDB_% chktrust -q -h 0x0 -g %__g% win98drv.cat >> %LOGFILE%
  225. @rem ---- bad digest....
  226. %_CDB_% chktrust -q -h 0x80096010 -g %__g% -c win98drv.cat -t msports.inf msports.inf >> %LOGFILE%
  227. %_CDB_% chktrust -q -h 0x80096010 -g %__g% -c win98drv.cat -t serialui.dll serialui.dll >> %LOGFILE%
  228. @set __g=
  229. @set __p=
  230. @echo ------- MAKECAT Regressions ------- >> %LOGFILE%
  231. @cd %BASEDIRTHISDIR%
  232. @cd catalogs
  233. %_CDB_% makecat -h0x0 regress.cdf >> %LOGFILE%
  234. %_CDB_% makecat -h0x0 regress2.cdf >> %LOGFILE%
  235. %_CDB_% signcode -spc publish.spc -$ individual -v publish.pvk -n "Peter's Catalog Test" -i "www.microsoft.com" regress.cat >> %LOGFILE%
  236. %_CDB_% chktrust -q -h0x0 -c regress.cat -t TestSignedEXE testrev.exe >> %LOGFILE%
  237. %_CDB_% chktrust -q -h0x0 -c regress.cat -t TestSignedEXENoAttr test2.exe >> %LOGFILE%
  238. %_CDB_% chktrust -q -h0x0 -c regress.cat -t TestUnsignedCAB nosntest.cab >> %LOGFILE%
  239. %_CDB_% chktrust -q -h0x0 -c regress.cat -t TestSignedCAB signtest.cab >> %LOGFILE%
  240. %_CDB_% chktrust -q -h0x0 -c regress.cat -t TestFlat create.bat >> %LOGFILE%
  241. @echo ------- TRSTPROV Regressions ------- >> %LOGFILE%
  242. @cd %BASEDIRTHISDIR%
  243. @echo ------- trstprov (varying struct sizes) -------- >> %LOGFILE%
  244. @set __g={684D31F8-DDBA-11d0-8CCB-00C04FC295EE}
  245. @regsvr32 /s TProv1.DLL
  246. @cd signing
  247. @cd good
  248. @rem --- cert expired
  249. %_CDB_% chktrust -q -h0x800b0101 -g %__g% brill.cab >> %LOGFILE%
  250. %_CDB_% chktrust -q -h0x800b0101 -g %__g% b_ok.exe >> %LOGFILE%
  251. %_CDB_% chktrust -q -h0x800b0101 -g %__g% good.cab >> %LOGFILE%
  252. %_CDB_% chktrust -q -h0x0 -g %__g% timstamp.cab >> %LOGFILE%
  253. @set __g=
  254. @echo ------- SIGNING (SIP) Regressions ------- >> %LOGFILE%
  255. @cd %BASEDIRTHISDIR%\signing\unsigned
  256. copy /b unsigned.cat test.cat
  257. %_CDB_% signcode -$ individual -spc ..\..\publish.spc -v ..\..\publish.pvk -n "SIP" -i "www.microsoft.com" test.cat >> %LOGFILE%
  258. %_CDB_% chktrust -q -h0x0 test.cat >> %LOGFILE%
  259. del test.cat
  260. copy /b unsigned.exe test.exe
  261. %_CDB_% signcode -$ individual -spc ..\..\publish.spc -v ..\..\publish.pvk -n "SIP" -i "www.microsoft.com" test.exe >> %LOGFILE%
  262. %_CDB_% chktrust -q -h0x0 test.exe >> %LOGFILE%
  263. del test.exe
  264. copy /b unsigned.cab test.cab
  265. %_CDB_% signcode -$ individual -spc ..\..\publish.spc -v ..\..\publish.pvk -n "SIP" -i "www.microsoft.com" test.cab >> %LOGFILE%
  266. %_CDB_% chktrust -q -h0x0 test.cab >> %LOGFILE%
  267. del test.cab
  268. @echo ------- New CatDB Regressions ------- >> %LOGFILE%
  269. @cd %BASEDIRTHISDIR%\catdbtst
  270. %_CDB_% chktrust -acl -r -catdb {11111111-1111-1111-1111-111111111111} testcat1.cat >> %LOGFILE%
  271. %_CDB_% chckhash -r 1 -catdb {11111111-1111-1111-1111-111111111111} a.dll >> %LOGFILE%
  272. %_CDB_% chckhash -r 1 -catdb {11111111-1111-1111-1111-111111111111} b.dll >> %LOGFILE%
  273. %_CDB_% chckhash -r 1 -catdb {11111111-1111-1111-1111-111111111111} c.dll >> %LOGFILE%
  274. %_CDB_% chckhash -r 0 -catdb {11111111-1111-1111-1111-111111111111} d.dll >> %LOGFILE%
  275. %_CDB_% chktrust -acl -r -catdb {11111111-1111-1111-1111-111111111111} testcat2.cat >> %LOGFILE%
  276. %_CDB_% chckhash -r 1 -catdb {11111111-1111-1111-1111-111111111111} d.dll >> %LOGFILE%
  277. %_CDB_% chktrust -acl -r -catdb {11111111-1111-1111-1111-111111111111} testcat3.cat >> %LOGFILE%
  278. %_CDB_% chktrust -acl -r -catdb {11111111-1111-1111-1111-111111111111} testcat4.cat >> %LOGFILE%
  279. %_CDB_% chktrust -acl -r -catdb {11111111-1111-1111-1111-111111111111} testcat5.cat >> %LOGFILE%
  280. %_CDB_% chktrust -acl -r -catdb {11111111-1111-1111-1111-111111111111} testcat6.cat >> %LOGFILE%
  281. %_CDB_% chckhash -r 1 -catdb {11111111-1111-1111-1111-111111111111} h.dll >> %LOGFILE%
  282. %_CDB_% chktrust -del -catdb {11111111-1111-1111-1111-111111111111} testcat6.cat >> %LOGFILE%
  283. %_CDB_% chckhash -r 0 -catdb {11111111-1111-1111-1111-111111111111} h.dll >> %LOGFILE%
  284. %_CDB_% chktrust -acl -r -catdb {11111111-1111-1111-1111-111111111111} testcat6.cat >> %LOGFILE%
  285. %_CDB_% chktrust -acl -catdb {11111111-1111-1111-1111-111111111111} testcat6.cat >> %LOGFILE%
  286. %_CDB_% chckhash -r 1 -catdb {11111111-1111-1111-1111-111111111111} h.dll >> %LOGFILE%
  287. %_CDB_% chktrust -acl -r -catdb {11111111-1111-1111-1111-111111111111} testcat6.cat >> %LOGFILE%
  288. %_CDB_% chckhash -r 1 -catdb {11111111-1111-1111-1111-111111111111} h.dll >> %LOGFILE%
  289. %_CDB_% chckhash -r 1 -l -catdb {11111111-1111-1111-1111-111111111111} a.dll-g.dll-h.dll-d.dll >> %LOGFILE%
  290. %_CDB_% chckhash -r 1 -l -catdb {11111111-1111-1111-1111-111111111111} e.dll-f.dll >> %LOGFILE%
  291. %_CDB_% chktrust -del -catdb {11111111-1111-1111-1111-111111111111} testcat1.cat >> %LOGFILE%
  292. %_CDB_% chckhash -r 1 -catdb {11111111-1111-1111-1111-111111111111} a.dll >> %LOGFILE%
  293. %_CDB_% chktrust -acl -r -catdb {11111111-1111-1111-1111-111111111111} testcat1.cat >> %LOGFILE%
  294. %_CDB_% chktrust -acl -catdb {11111111-1111-1111-1111-111111111111} testcat1.cat >> %LOGFILE%
  295. %_CDB_% chktrust -del -catdb {11111111-1111-1111-1111-111111111111} testcat1.cat >> %LOGFILE%
  296. %_CDB_% chktrust -del -catdb {11111111-1111-1111-1111-111111111111} testcat2.cat >> %LOGFILE%
  297. %_CDB_% chckhash -r 1 -l -catdb {11111111-1111-1111-1111-111111111111} a.dll-d.dll >> %LOGFILE%
  298. %_CDB_% chktrust -del -catdb {11111111-1111-1111-1111-111111111111} testcat5.cat >> %LOGFILE%
  299. %_CDB_% chckhash -r 0 -catdb {11111111-1111-1111-1111-111111111111} d.dll >> %LOGFILE%
  300. %_CDB_% chckhash -r 1 -catdb {11111111-1111-1111-1111-111111111111} e.dll >> %LOGFILE%
  301. @echo ------- Catalog Version Regressions ------- >> %LOGFILE%
  302. @cd %BASEDIRTHISDIR%\catver
  303. tstore -amsbroot.cer -s lm:Root >> %LOGFILE%
  304. call cleancat.bat %LOGFILE%
  305. %_CDB_% chktrust -win2k -acl -r 2!4!2-2!4!90.cat >> %LOGFILE%
  306. %_CDB_% chktrust -win2k -osverl "2:5.0" -h 0x0000047f hashapp.exe >> %LOGFILE%
  307. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" -h 0x0000047f hashapp.exe >> %LOGFILE%
  308. %_CDB_% chktrust -win2k -osverl "2:4.50" hashapp.exe >> %LOGFILE%
  309. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" hashapp.exe >> %LOGFILE%
  310. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:4.75" hashapp.exe >> %LOGFILE%
  311. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:4.75" hashapp.exe >> %LOGFILE%
  312. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:4.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  313. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:4.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  314. %_CDB_% chktrust -win2k -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  315. %_CDB_% chktrust -win2k -osverl "2:4.2.2079" hashapp.exe >> %LOGFILE%
  316. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.2.2079" hashapp.exe >> %LOGFILE%
  317. %_CDB_% chktrust -win2k -osverl "2:4.2.2070" -osverh "2:4.90.2080" hashapp.exe >> %LOGFILE%
  318. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.2.2070" -osverh "2:4.90.2080" hashapp.exe >> %LOGFILE%
  319. %_CDB_% chktrust -win2k -osverl "2:4.2.2078" -osverh "2:4.100.2080" -h 0x0000047f hashapp.exe >> %LOGFILE%
  320. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.2.2078" -osverh "2:4.100.2080" -h 0x0000047f hashapp.exe >> %LOGFILE%
  321. @cd ..
  322. copy catver\empty.cat .\2!4!2-2!4!90.cat >> %LOGFILE%
  323. %_CDB_% chktrust -win2k -acl -r 2!4!2-2!4!90.cat >> %LOGFILE%
  324. del 2!4!2-2!4!90.cat >> %LOGFILE%
  325. @cd catver
  326. %_CDB_% chktrust -win2k -acl -r 2!4!x-2!5!x.cat >> %LOGFILE%
  327. %_CDB_% chktrust -win2k -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  328. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  329. %_CDB_% chktrust -win2k -osverl "2:4.50" hashapp.exe >> %LOGFILE%
  330. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" hashapp.exe >> %LOGFILE%
  331. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:4.75" hashapp.exe >> %LOGFILE%
  332. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:4.75" hashapp.exe >> %LOGFILE%
  333. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  334. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  335. %_CDB_% chktrust -win2k -osverl "2:5.50" -osverh "2:6.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  336. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.50" -osverh "2:6.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  337. %_CDB_% chktrust -win2k -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  338. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  339. %_CDB_% chktrust -win2k -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  340. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  341. %_CDB_% chktrust -win2k -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  342. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  343. %_CDB_% chktrust -win2k -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  344. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  345. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  346. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  347. %_CDB_% chktrust -win2k -osverl "2:4.0.2078" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  348. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.0.2078" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  349. cd ..
  350. copy catver\empty.cat .\2!4!x-2!5!x.cat >> %LOGFILE%
  351. %_CDB_% chktrust -win2k -acl -r 2!4!x-2!5!x.cat >> %LOGFILE%
  352. del 2!4!x-2!5!x.cat >> %LOGFILE%
  353. cd catver
  354. %_CDB_% chktrust -win2k -acl -r 2!5!0!2077-2!5!0!2127.cat >> %LOGFILE%
  355. %_CDB_% chktrust -win2k -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  356. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  357. %_CDB_% chktrust -win2k -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  358. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  359. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  360. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  361. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:5.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  362. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:5.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  363. %_CDB_% chktrust -win2k -osverl "2:5.50" -osverh "2:6.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  364. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.50" -osverh "2:6.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  365. %_CDB_% chktrust -win2k -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  366. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  367. %_CDB_% chktrust -win2k -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  368. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  369. %_CDB_% chktrust -win2k -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  370. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  371. %_CDB_% chktrust -win2k -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  372. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  373. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -h 0x0000047f hashapp.exe >> %LOGFILE%
  374. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" hashapp.exe >> %LOGFILE%
  375. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -osverh "2:5.0.2080" -h 0x0000047f hashapp.exe >> %LOGFILE%
  376. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  377. %_CDB_% chktrust -win2k -osverl "2:5.0.2078" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  378. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2078" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  379. cd ..
  380. copy catver\empty.cat .\2!5!0!2077-2!5!0!2127.cat >> %LOGFILE%
  381. %_CDB_% chktrust -win2k -acl -r 2!5!0!2077-2!5!0!2127.cat >> %LOGFILE%
  382. del 2!5!0!2077-2!5!0!2127.cat >> %LOGFILE%
  383. cd catver
  384. %_CDB_% chktrust -win2k -acl -r 2!5!0!2128.cat >> %LOGFILE%
  385. %_CDB_% chktrust -win2k -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  386. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  387. %_CDB_% chktrust -win2k -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  388. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  389. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  390. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  391. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  392. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  393. %_CDB_% chktrust -win2k -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  394. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  395. %_CDB_% chktrust -win2k -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  396. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  397. %_CDB_% chktrust -win2k -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  398. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  399. %_CDB_% chktrust -win2k -osverl "2:5.0.2079" -h 0x0000047f hashapp.exe >> %LOGFILE%
  400. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  401. %_CDB_% chktrust -win2k -osverl "2:5.0.2128" hashapp.exe >> %LOGFILE%
  402. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2128" hashapp.exe >> %LOGFILE%
  403. %_CDB_% chktrust -win2k -osverl "2:5.0.2128" -osverh "2:5.0.2129" hashapp.exe >> %LOGFILE%
  404. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2128" -osverh "2:5.0.2129" hashapp.exe >> %LOGFILE%
  405. cd ..
  406. copy catver\empty.cat .\2!5!0!2128.cat >> %LOGFILE%
  407. %_CDB_% chktrust -win2k -acl -r 2!5!0!2128.cat >> %LOGFILE%
  408. del 2!5!0!2128.cat >> %LOGFILE%
  409. cd catver
  410. chktrust -win2k -acl -r 2!5!0!gt.cat >> %LOGFILE%
  411. %_CDB_% chktrust -win2k -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  412. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  413. %_CDB_% chktrust -win2k -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  414. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  415. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  416. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  417. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  418. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  419. %_CDB_% chktrust -win2k -osverl "2:5.50" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  420. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.50" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  421. %_CDB_% chktrust -win2k -osverl "2:6.50" hashapp.exe >> %LOGFILE%
  422. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50" hashapp.exe >> %LOGFILE%
  423. %_CDB_% chktrust -win2k -osverl "2:6.50.2120" hashapp.exe >> %LOGFILE%
  424. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50.2120" hashapp.exe >> %LOGFILE%
  425. %_CDB_% chktrust -win2k -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  426. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  427. %_CDB_% chktrust -win2k -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  428. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  429. %_CDB_% chktrust -win2k -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  430. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  431. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  432. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  433. cd ..
  434. copy catver\empty.cat .\2!5!0!gt.cat >> %LOGFILE%
  435. %_CDB_% chktrust -win2k -acl -r 2!5!0!gt.cat >> %LOGFILE%
  436. del 2!5!0!gt.cat >> %LOGFILE%
  437. cd catver
  438. %_CDB_% chktrust -win2k -acl -r 2!5!0!lt.cat >> %LOGFILE%
  439. %_CDB_% chktrust -win2k -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  440. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  441. %_CDB_% chktrust -win2k -osverl "2:4.50" hashapp.exe >> %LOGFILE%
  442. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" hashapp.exe >> %LOGFILE%
  443. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:4.75" hashapp.exe >> %LOGFILE%
  444. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:4.75" hashapp.exe >> %LOGFILE%
  445. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  446. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  447. %_CDB_% chktrust -win2k -osverl "2:5.0" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  448. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  449. %_CDB_% chktrust -win2k -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  450. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  451. %_CDB_% chktrust -win2k -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  452. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  453. %_CDB_% chktrust -win2k -osverl "2:4.50.2120" hashapp.exe >> %LOGFILE%
  454. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50.2120" hashapp.exe >> %LOGFILE%
  455. %_CDB_% chktrust -win2k -osverl "2:3.51" hashapp.exe >> %LOGFILE%
  456. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:3.51" hashapp.exe >> %LOGFILE%
  457. %_CDB_% chktrust -win2k -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  458. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  459. %_CDB_% chktrust -win2k -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  460. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  461. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  462. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  463. cd ..
  464. copy catver\empty.cat .\2!5!0!lt.cat >> %LOGFILE%
  465. %_CDB_% chktrust -win2k -acl -r 2!5!0!lt.cat >> %LOGFILE%
  466. del 2!5!0!lt.cat >> %LOGFILE%
  467. cd catver
  468. %_CDB_% chktrust -win2k -acl -r 2!5!0!x.cat >> %LOGFILE%
  469. %_CDB_% chktrust -win2k -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  470. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  471. %_CDB_% chktrust -win2k -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  472. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  473. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  474. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  475. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  476. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  477. %_CDB_% chktrust -win2k -osverl "2:5.0" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  478. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  479. %_CDB_% chktrust -win2k -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  480. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  481. %_CDB_% chktrust -win2k -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  482. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  483. %_CDB_% chktrust -win2k -osverl "2:4.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  484. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  485. %_CDB_% chktrust -win2k -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  486. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  487. %_CDB_% chktrust -win2k -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  488. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  489. %_CDB_% chktrust -win2k -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  490. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  491. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  492. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  493. cd ..
  494. copy catver\empty.cat .\2!5!0!x.cat >> %LOGFILE%
  495. %_CDB_% chktrust -win2k -acl -r 2!5!0!x.cat >> %LOGFILE%
  496. del 2!5!0!x.cat >> %LOGFILE%
  497. cd catver
  498. %_CDB_% chktrust -win2k -acl -r 2!5!0.cat >> %LOGFILE%
  499. %_CDB_% chktrust -win2k -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  500. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  501. %_CDB_% chktrust -win2k -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  502. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  503. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  504. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  505. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  506. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  507. %_CDB_% chktrust -win2k -osverl "2:5.0" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  508. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  509. %_CDB_% chktrust -win2k -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  510. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  511. %_CDB_% chktrust -win2k -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  512. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  513. %_CDB_% chktrust -win2k -osverl "2:4.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  514. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  515. %_CDB_% chktrust -win2k -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  516. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  517. %_CDB_% chktrust -win2k -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  518. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  519. %_CDB_% chktrust -win2k -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  520. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  521. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  522. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  523. cd ..
  524. copy catver\empty.cat .\2!5!0.cat >> %LOGFILE%
  525. %_CDB_% chktrust -win2k -acl -r 2!5!0.cat >> %LOGFILE%
  526. del 2!5!0.cat >> %LOGFILE%
  527. cd catver
  528. %_CDB_% chktrust -win2k -acl -r 2!5!gt.cat >> %LOGFILE%
  529. %_CDB_% chktrust -win2k -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  530. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  531. %_CDB_% chktrust -win2k -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  532. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  533. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  534. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  535. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  536. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  537. %_CDB_% chktrust -win2k -osverl "2:5.0" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  538. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  539. %_CDB_% chktrust -win2k -osverl "2:6.50" hashapp.exe >> %LOGFILE%
  540. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50" hashapp.exe >> %LOGFILE%
  541. %_CDB_% chktrust -win2k -osverl "2:6.50.2120" hashapp.exe >> %LOGFILE%
  542. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50.2120" hashapp.exe >> %LOGFILE%
  543. %_CDB_% chktrust -win2k -osverl "2:4.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  544. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  545. %_CDB_% chktrust -win2k -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  546. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  547. %_CDB_% chktrust -win2k -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  548. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  549. %_CDB_% chktrust -win2k -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  550. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  551. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  552. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  553. cd ..
  554. copy catver\empty.cat .\2!5!gt.cat >> %LOGFILE%
  555. %_CDB_% chktrust -win2k -acl -r 2!5!gt.cat >> %LOGFILE%
  556. del 2!5!gt.cat >> %LOGFILE%
  557. cd catver
  558. %_CDB_% chktrust -win2k -acl -r 2!5!lt.cat >> %LOGFILE%
  559. %_CDB_% chktrust -win2k -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  560. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  561. %_CDB_% chktrust -win2k -osverl "2:4.50" hashapp.exe >> %LOGFILE%
  562. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" hashapp.exe >> %LOGFILE%
  563. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:4.75" hashapp.exe >> %LOGFILE%
  564. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:4.75" hashapp.exe >> %LOGFILE%
  565. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  566. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  567. %_CDB_% chktrust -win2k -osverl "2:5.0" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  568. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  569. %_CDB_% chktrust -win2k -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  570. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  571. %_CDB_% chktrust -win2k -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  572. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  573. %_CDB_% chktrust -win2k -osverl "2:4.50.2120" hashapp.exe >> %LOGFILE%
  574. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50.2120" hashapp.exe >> %LOGFILE%
  575. %_CDB_% chktrust -win2k -osverl "2:3.51" hashapp.exe >> %LOGFILE%
  576. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:3.51" hashapp.exe >> %LOGFILE%
  577. %_CDB_% chktrust -win2k -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  578. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  579. %_CDB_% chktrust -win2k -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  580. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  581. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  582. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  583. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -osverh "2:5.10.2080" hashapp.exe >> %LOGFILE%
  584. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" -osverh "2:5.10.2080" hashapp.exe >> %LOGFILE%
  585. cd ..
  586. copy catver\empty.cat .\2!5!lt.cat >> %LOGFILE%
  587. %_CDB_% chktrust -win2k -acl -r 2!5!lt.cat >> %LOGFILE%
  588. del 2!5!lt.cat >> %LOGFILE%
  589. cd catver
  590. %_CDB_% chktrust -win2k -acl -r 2!5!x.cat >> %LOGFILE%
  591. %_CDB_% chktrust -win2k -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  592. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  593. %_CDB_% chktrust -win2k -osverl "2:5.5" hashapp.exe >> %LOGFILE%
  594. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.5" hashapp.exe >> %LOGFILE%
  595. %_CDB_% chktrust -win2k -osverl "2:5.5.2323" hashapp.exe >> %LOGFILE%
  596. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.5.2323" hashapp.exe >> %LOGFILE%
  597. %_CDB_% chktrust -win2k -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  598. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  599. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  600. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  601. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  602. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  603. %_CDB_% chktrust -win2k -osverl "2:5.0" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  604. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  605. %_CDB_% chktrust -win2k -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  606. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  607. %_CDB_% chktrust -win2k -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  608. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  609. %_CDB_% chktrust -win2k -osverl "2:4.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  610. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  611. %_CDB_% chktrust -win2k -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  612. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  613. %_CDB_% chktrust -win2k -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  614. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  615. %_CDB_% chktrust -win2k -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  616. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  617. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  618. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  619. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -osverh "2:5.10.2080" hashapp.exe >> %LOGFILE%
  620. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" -osverh "2:5.10.2080" hashapp.exe >> %LOGFILE%
  621. cd ..
  622. copy catver\empty.cat .\2!5!x.cat >> %LOGFILE%
  623. %_CDB_% chktrust -win2k -acl -r 2!5!x.cat >> %LOGFILE%
  624. del 2!5!x.cat >> %LOGFILE%
  625. cd catver
  626. %_CDB_% chktrust -win2k -acl -r 2!5!0!2129.cat >> %LOGFILE%
  627. %_CDB_% chktrust -win2k -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  628. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  629. %_CDB_% chktrust -win2k -osverl "2:5.0.2129" hashapp.exe >> %LOGFILE%
  630. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2129" hashapp.exe >> %LOGFILE%
  631. %_CDB_% chktrust -win2k -osverl "2:5.0.2130" -h 0x0000047f hashapp.exe >> %LOGFILE%
  632. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2130" hashapp.exe >> %LOGFILE%
  633. %_CDB_% chktrust -win2k -osverl "2:5.5" -h 0x0000047f hashapp.exe >> %LOGFILE%
  634. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.5" -h 0x0000047f hashapp.exe >> %LOGFILE%
  635. %_CDB_% chktrust -win2k -osverl "2:5.5.2323" -h 0x0000047f hashapp.exe >> %LOGFILE%
  636. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.5.2323" -h 0x0000047f hashapp.exe >> %LOGFILE%
  637. %_CDB_% chktrust -win2k -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  638. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  639. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  640. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:4.75" -h 0x0000047f hashapp.exe >> %LOGFILE%
  641. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  642. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:5.95" hashapp.exe >> %LOGFILE%
  643. %_CDB_% chktrust -win2k -osverl "2:5.0" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  644. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" -osverh "2:6.95" hashapp.exe >> %LOGFILE%
  645. %_CDB_% chktrust -win2k -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  646. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  647. %_CDB_% chktrust -win2k -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  648. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  649. %_CDB_% chktrust -win2k -osverl "2:4.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  650. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  651. %_CDB_% chktrust -win2k -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  652. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  653. %_CDB_% chktrust -win2k -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  654. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  655. %_CDB_% chktrust -win2k -osverl "2:5.0.2079" -h 0x0000047f hashapp.exe >> %LOGFILE%
  656. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  657. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -osverh "2:5.0.2080" -h 0x0000047f hashapp.exe >> %LOGFILE%
  658. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  659. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -osverh "2:5.10.2080" hashapp.exe >> %LOGFILE%
  660. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" -osverh "2:5.10.2080" hashapp.exe >> %LOGFILE%
  661. cd ..
  662. copy catver\empty.cat .\2!5!0!2129.cat >> %LOGFILE%
  663. %_CDB_% chktrust -win2k -acl -r 2!5!0!2129.cat >> %LOGFILE%
  664. del 2!5!0!2129.cat >> %LOGFILE%
  665. cd catver
  666. %_CDB_% chktrust -win2k -acl -r 2!4!0!gt-2!4!90!lt.cat >> %LOGFILE%
  667. %_CDB_% chktrust -win2k -osverl "2:5.0" -h 0x0000047f hashapp.exe >> %LOGFILE%
  668. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" -h 0x0000047f hashapp.exe >> %LOGFILE%
  669. %_CDB_% chktrust -win2k -osverl "2:5.0.2129" -h 0x0000047f hashapp.exe >> %LOGFILE%
  670. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2129" -h 0x0000047f hashapp.exe >> %LOGFILE%
  671. %_CDB_% chktrust -win2k -osverl "2:5.5" -h 0x0000047f hashapp.exe >> %LOGFILE%
  672. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.5" -h 0x0000047f hashapp.exe >> %LOGFILE%
  673. %_CDB_% chktrust -win2k -osverl "2:5.5.2323" -h 0x0000047f hashapp.exe >> %LOGFILE%
  674. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.5.2323" -h 0x0000047f hashapp.exe >> %LOGFILE%
  675. %_CDB_% chktrust -win2k -osverl "2:4.50" hashapp.exe >> %LOGFILE%
  676. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" hashapp.exe >> %LOGFILE%
  677. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:4.75" hashapp.exe >> %LOGFILE%
  678. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:4.75" hashapp.exe >> %LOGFILE%
  679. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:5.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  680. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:5.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  681. %_CDB_% chktrust -win2k -osverl "2:5.0" -osverh "2:6.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  682. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" -osverh "2:6.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  683. %_CDB_% chktrust -win2k -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  684. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  685. %_CDB_% chktrust -win2k -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  686. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  687. %_CDB_% chktrust -win2k -osverl "2:4.50.2120" hashapp.exe >> %LOGFILE%
  688. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50.2120" hashapp.exe >> %LOGFILE%
  689. %_CDB_% chktrust -win2k -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  690. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  691. %_CDB_% chktrust -win2k -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  692. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  693. %_CDB_% chktrust -win2k -osverl "2:5.0.2079" -h 0x0000047f hashapp.exe >> %LOGFILE%
  694. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2079" -h 0x0000047f hashapp.exe >> %LOGFILE%
  695. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -osverh "2:5.0.2080" -h 0x0000047f hashapp.exe >> %LOGFILE%
  696. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" -osverh "2:5.0.2080" -h 0x0000047f hashapp.exe >> %LOGFILE%
  697. %_CDB_% chktrust -win2k -osverl "2:4.10" -osverh "2:4.90" hashapp.exe >> %LOGFILE%
  698. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.10" -osverh "2:4.90" hashapp.exe >> %LOGFILE%
  699. %_CDB_% chktrust -win2k -osverl "2:4.10" -osverh "2:4.91" -h 0x0000047f hashapp.exe >> %LOGFILE%
  700. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.10" -osverh "2:4.91" -h 0x0000047f hashapp.exe >> %LOGFILE%
  701. %_CDB_% chktrust -win2k -osverl "2:4.10.2121" -osverh "2:4.90.2121" hashapp.exe >> %LOGFILE%
  702. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.10.2121" -osverh "2:4.90.2121" hashapp.exe >> %LOGFILE%
  703. %_CDB_% chktrust -win2k -osverl "2:4.10.2121" -osverh "2:4.91.2121" -h 0x0000047f hashapp.exe >> %LOGFILE%
  704. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.10.2121" -osverh "2:4.91.2121" -h 0x0000047f hashapp.exe >> %LOGFILE%
  705. cd ..
  706. copy catver\empty.cat .\2!4!0!gt-2!4!90!lt.cat >> %LOGFILE%
  707. %_CDB_% chktrust -win2k -acl -r 2!4!0!gt-2!4!90!lt.cat >> %LOGFILE%
  708. del 2!4!0!gt-2!4!90!lt.cat >> %LOGFILE%
  709. cd catver
  710. %_CDB_% chktrust -win2k -acl -r 2!4!0!gt-2!5!90!lt.cat >> %LOGFILE%
  711. %_CDB_% chktrust -win2k -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  712. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" hashapp.exe >> %LOGFILE%
  713. %_CDB_% chktrust -win2k -osverl "2:5.0.2129" hashapp.exe >> %LOGFILE%
  714. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2129" hashapp.exe >> %LOGFILE%
  715. %_CDB_% chktrust -win2k -osverl "2:5.5" hashapp.exe >> %LOGFILE%
  716. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.5" hashapp.exe >> %LOGFILE%
  717. %_CDB_% chktrust -win2k -osverl "2:5.5.2323" hashapp.exe >> %LOGFILE%
  718. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.5.2323" hashapp.exe >> %LOGFILE%
  719. %_CDB_% chktrust -win2k -osverl "2:4.50" hashapp.exe >> %LOGFILE%
  720. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" hashapp.exe >> %LOGFILE%
  721. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:4.75" hashapp.exe >> %LOGFILE%
  722. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:4.75" hashapp.exe >> %LOGFILE%
  723. %_CDB_% chktrust -win2k -osverl "2:4.50" -osverh "2:5.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  724. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50" -osverh "2:5.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  725. %_CDB_% chktrust -win2k -osverl "2:5.0" -osverh "2:6.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  726. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0" -osverh "2:6.95" -h 0x0000047f hashapp.exe >> %LOGFILE%
  727. %_CDB_% chktrust -win2k -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  728. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50" -h 0x0000047f hashapp.exe >> %LOGFILE%
  729. %_CDB_% chktrust -win2k -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  730. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:6.50.2120" -h 0x0000047f hashapp.exe >> %LOGFILE%
  731. %_CDB_% chktrust -win2k -osverl "2:4.50.2120" hashapp.exe >> %LOGFILE%
  732. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.50.2120" hashapp.exe >> %LOGFILE%
  733. %_CDB_% chktrust -win2k -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  734. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:3.51" -h 0x0000047f hashapp.exe >> %LOGFILE%
  735. %_CDB_% chktrust -win2k -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  736. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "1:4.90" -h 0x0000047f hashapp.exe >> %LOGFILE%
  737. %_CDB_% chktrust -win2k -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  738. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2079" hashapp.exe >> %LOGFILE%
  739. %_CDB_% chktrust -win2k -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  740. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:5.0.2070" -osverh "2:5.0.2080" hashapp.exe >> %LOGFILE%
  741. %_CDB_% chktrust -win2k -osverl "2:4.10" -osverh "2:4.90" hashapp.exe >> %LOGFILE%
  742. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.10" -osverh "2:4.90" hashapp.exe >> %LOGFILE%
  743. %_CDB_% chktrust -win2k -osverl "2:4.10.2121" -osverh "2:4.90.2121" hashapp.exe >> %LOGFILE%
  744. %_CDB_% chktrust -win2k -UseOldDriverVerInfoStruct -osverl "2:4.10.2121" -osverh "2:4.90.2121" hashapp.exe >> %LOGFILE%
  745. cd ..
  746. copy catver\empty.cat .\2!4!0!gt-2!5!90!lt.cat >> %LOGFILE%
  747. %_CDB_% chktrust -win2k -acl -r 2!4!0!gt-2!5!90!lt.cat >> %LOGFILE%
  748. del 2!4!0!gt-2!5!90!lt.cat >> %LOGFILE%
  749. cd catver
  750. @goto ExitRegress
  751. @REM =====================================================
  752. :ExitRegress
  753. @REM =====================================================
  754. @echo ======= END PKITRUST REGRESSIONS ======= >> %LOGFILE%
  755. @cd %BASEDIRTHISDIR%
  756. @if "%__CalledFromMain%" == "TRUE" @goto EndGrep
  757. @call grepout.bat %LOGFILE%
  758. :EndGrep
  759. @ENDLOCAL
  760. @goto :EOF