\r
' rescan system buses\r
Return = WshShell.Run (devman & "rescan", 0, true)\r
- ' Display error number and description if applicable\r
- If Err Then ShowError\r
- If Return <> 0 Then\r
- msgbox "Driver Install - failed device rescan? " & Return & " Err "_\r
- & Err\r
- DriverInstall=ERROR_INSTALL_FAILURE\r
- Exit Function\r
- End if\r
\r
' Install HCA (Host Channel Adapter) Driver(s)\r
-\r
DrvInstalled = false\r
\r
' what HCAs are selected to install?\r
rem Build WIX installers (.msi) for 'all' architectures & Operating environments\r
rem\r
rem usage:\r
-rem %0 cmd Signing-Certificate-FileName CertPassword {dest-path-for-msi-files}\r
+rem %0 cmd Signing-Certificate-FileName CertSubjectName {dest-path-for-msi-files}\r
rem cmd - if 'msi' then assume drivers already signed, only sign .msi\r
rem otherwise sign all drivers and installers (.msi files)\r
rem CertFilename is indeed a filename only, we prefix ...\WIX before\r
+rem CertName - see /n switch\r
rem passing it down.\r
\r
rem *** REQUIRES nmake, common invocation from Visual C or WDK command window\r
rem *** Assumes current folder is WIX\\r
\r
-set USE=usage %0 all/msi Certificate-FileName CertPassword {dest-path-for-msi-files}\r
+set USE=usage %0 all/msi Certificate-FileName CertSubjName[see signtool /n] {dest-path-for-msi-files}\r
\r
if "%1" == "" (\r
echo %0: %USE%\r
exit /B 1\r
)\r
\r
-rem need a password\r
-if "%3" == "" (\r
+rem need a Cert subject name string - name is passed in quoted!\r
+if %3 == "" (\r
echo %0: %USE%\r
exit /B 1\r
)\r
if exist %DST%\WOF_%%o_%%a.msi (\r
\r
echo Signing installer %DST%\WOF_%%o_%%a.msi\r
- signtool sign /a /f %CD%\%2 /p %3 %TS% %DST%\WOF_%%o_%%a.msi\r
+ signtool sign /ac %CD%\%2 /n %3 %TS% %DST%\WOF_%%o_%%a.msi\r
if ERRORLEVEL 1 (\r
echo %0 signtool sign %DST%\WOF_%%o_%%a.msi failed?\r
exit /B 1\r
rem\r
rem Digitally sign all drivers for all OSes & architectures.\r
rem\r
-rem example - sign-all-drivers CertFilename CertPassword {noTimeStamp}\r
+rem example - sign-all-drivers CertFilename CertSubjName {noTimeStamp}\r
rem see TS below.\r
rem\r
\r
exit /B 1\r
)\r
\r
-if "%2" == "" (\r
- echo %0 - Missing Cert Password?\r
+if %2 == "" (\r
+ echo %0 - Missing Cert Subject name?\r
exit /B 1\r
)\r
\r
WinOF (Windows OpenFabrics) for IA64/IPF Itanium on Windows Server 2008\r
-->\r
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">\r
- <Product Name="Windows Open Fabrics InfiniBand v2.0 (RC0) ia64"\r
+ <Product Name="Windows Open Fabrics InfiniBand v2.0 (RC1) ia64"\r
Id="3A6A276E-A636-48e8-8624-9A0DE3F2A15E"\r
UpgradeCode='E38964D6-359D-4E38-9BBF-8C79D84DF6CF' \r
Version="2.0.0"\r
\r
<Component Id="Tools" Guid="1B89230E-5D8D-41a5-BD1F-A3E308FEE026">\r
<Environment Id='UpdatePath' Name='PATH' Action='create'\r
- System='yes' Part='last' Value='[INSTALLDIR]' /> \r
- <File Id="vstat" Name="vstat.exe" Compressed="yes" DiskId="1"\r
- Source="..\bin\tools\ia64\release\vstat.exe" Vital="yes" />\r
+ System='yes' Part='last' Value='[INSTALLDIR]' /> \r
+\r
+ <File Id="part_man" Name="part_man.exe"\r
+ Compressed="yes" DiskId="1" Vital="yes"\r
+ Source="..\bin\tools\ia64\release\part_man.exe" />\r
+ <File Id="vstat" Name="vstat.exe"\r
+ Compressed="yes" DiskId="1" Vital="yes"\r
+ Source="..\bin\tools\ia64\release\vstat.exe" />\r
<File Id="ttcp.exe" LongName="ttcp.exe" Compressed="yes"\r
- DiskId="1" Name="TTCP.EXE"\r
- Source="..\bin\tools\ia64\release\ttcp.exe" />\r
+ DiskId="1" Name="TTCP.EXE"\r
+ Source="..\bin\tools\ia64\release\ttcp.exe" />\r
<File Id="cmtest.exe" LongName="cmtest.exe" Compressed="yes"\r
- DiskId="1" Name="CMTEST.EXE"\r
- Source="..\bin\tools\ia64\release\cmtest.exe" />\r
+ DiskId="1" Name="CMTEST.EXE"\r
+ Source="..\bin\tools\ia64\release\cmtest.exe" />\r
<File Id="ib_limits.exe" Compressed="yes" DiskId="1"\r
- LongName="ib_limits.exe" Name="IB_LIMI.EXE"\r
- Source="..\bin\tools\ia64\release\ib_limits.exe" />\r
+ LongName="ib_limits.exe" Name="IB_LIMI.EXE"\r
+ Source="..\bin\tools\ia64\release\ib_limits.exe" />\r
<File Id="ib_read_bw.exe" Compressed="yes" DiskId="1"\r
- LongName="ib_read_bw.exe" Name="IB_READ.EXE"\r
- Source="..\bin\tools\ia64\release\ib_read_bw.exe" />\r
+ LongName="ib_read_bw.exe" Name="IB_READ.EXE"\r
+ Source="..\bin\tools\ia64\release\ib_read_bw.exe" />\r
<File Id="ib_read_lat.exe" Compressed="yes" DiskId="1"\r
- LongName="ib_read_lat.exe" Name="IB_READ1.EXE"\r
- Source="..\bin\tools\ia64\release\ib_read_lat.exe" />\r
+ LongName="ib_read_lat.exe" Name="IB_READ1.EXE"\r
+ Source="..\bin\tools\ia64\release\ib_read_lat.exe" />\r
<File Id="ib_send_bw.exe" Compressed="yes" DiskId="1"\r
- LongName="ib_send_bw.exe" Name="IB_SEND.EXE"\r
- Source="..\bin\tools\ia64\release\ib_send_bw.exe" />\r
+ LongName="ib_send_bw.exe" Name="IB_SEND.EXE"\r
+ Source="..\bin\tools\ia64\release\ib_send_bw.exe" />\r
<File Id="ib_send_lat.exe" Compressed="yes" DiskId="1"\r
- LongName="ib_send_lat.exe" Name="IB_SEND1.EXE"\r
- Source="..\bin\tools\ia64\release\ib_send_lat.exe" />\r
+ LongName="ib_send_lat.exe" Name="IB_SEND1.EXE"\r
+ Source="..\bin\tools\ia64\release\ib_send_lat.exe" />\r
<File Id="ib_write_bw.exe" Compressed="yes" DiskId="1"\r
- LongName="ib_write_bw.exe" Name="IB_WRIT.EXE"\r
- Source="..\bin\tools\ia64\release\ib_write_bw.exe" />\r
+ LongName="ib_write_bw.exe" Name="IB_WRIT.EXE"\r
+ Source="..\bin\tools\ia64\release\ib_write_bw.exe" />\r
<File Id="ib_write_lat.exe" Compressed="yes" DiskId="1"\r
- LongName="ib_write_lat.exe" Name="IB_WRIT1.EXE"\r
- Source="..\bin\tools\ia64\release\ib_write_lat.exe" />\r
+ LongName="ib_write_lat.exe" Name="IB_WRIT1.EXE"\r
+ Source="..\bin\tools\ia64\release\ib_write_lat.exe" />\r
<File Id="ibtrapgen.exe" Compressed="yes" DiskId="1"\r
- LongName="ibtrapgen.exe" Name="IBTRAPG.EXE"\r
- Source="..\bin\tools\ia64\release\ibtrapgen.exe" />\r
+ LongName="ibtrapgen.exe" Name="IBTRAPG.EXE"\r
+ Source="..\bin\tools\ia64\release\ibtrapgen.exe" />\r
<File Id="osmtest.exe" Compressed="yes" DiskId="1"\r
- LongName="osmtest.exe" Name="OSMTEST.EXE"\r
- Source="..\bin\tools\ia64\release\osmtest.exe" />\r
+ LongName="osmtest.exe" Name="OSMTEST.EXE"\r
+ Source="..\bin\tools\ia64\release\osmtest.exe" />\r
<File Id="PrintIP.exe" Compressed="yes" DiskId="1"\r
- LongName="PrintIP.exe" Name="PRINTIP.EXE"\r
- Source="..\bin\tools\ia64\release\PrintIP.exe" />\r
+ LongName="PrintIP.exe" Name="PRINTIP.EXE"\r
+ Source="..\bin\tools\ia64\release\PrintIP.exe" />\r
<File Id="nsc" Name="nsc.exe" Compressed="yes" DiskId="1"\r
Vital="yes" Source="..\bin\tools\ia64\release\nsc.exe" />\r
</Component>\r
<File Id="IbInstaller.dll" Compressed="yes" DiskId="1"\r
LongName="IbInstaller.dll" Name="IBINSTA.DLL"\r
Source="..\bin\HCA\ia64\IbInstaller.dll" />\r
--->\r
<File Id="ib_bus.cat" Compressed="yes" DiskId="1"\r
LongName="ib_bus.cat" Name="IB_BUS.cat"\r
Source="..\bin\HCA\ia64\ib_bus.cat" />\r
+-->\r
<File Id="ibal32.dll" Compressed="yes" DiskId="1"\r
LongName="ibal32.dll" Name="IBAL32.DLL"\r
Source="..\bin\HCA\ia64\ibal32.dll" />\r
\r
<File Id="chk2" Name="ibbus.sys" DiskId="1" Compressed="yes"\r
Source="..\bin\Chk\HCA\ia64\ibbus.sys" />\r
- <File Id="cat2" Name="ib_bus.cat" DiskId="1" Compressed="yes"\r
- Source="..\bin\Chk\HCA\ia64\ib_bus.cat" />\r
<File Id="sym2" Name="ibbus.pdb" DiskId="1" Compressed="yes"\r
Source="..\bin\Chk\HCA\ia64\ibbus.pdb" />\r
\r
Source="..\bin\bin\user\objchk_wlh_ia64\ia64\opensm.exe" />\r
<File Id="file115" Name="vstat.exe" DiskId="1" Compressed="yes"\r
Source="..\bin\bin\user\objchk_wlh_ia64\ia64\vstat.exe" />\r
+ <File Id="file116" Name="part_man.exe"\r
+ DiskId="1" Compressed="yes"\r
+ Source="..\bin\bin\user\objchk_wlh_ia64\ia64\part_man.exe" />\r
</Component>\r
</Directory>\r
</Directory>\r
\r
rem Sign device drivers for architectures specified\r
\r
-rem usage: signDrivers CertFilename password path-2-drivers {noTimeStamp}\r
+rem usage: signDrivers CertFilename CertSubjectName path-2-drivers {noTimeStamp}\r
\r
-rem example: signDirvers cse1CStore bin\hca\r
+rem example: signDirvers cse1CStore TestCert bin\hca\r
\r
\r
rem cmd.exe /V:on (delayed environment variable expansion) is required!\r
set Usage='usage: signDrivers CertFilename password path-2-drivers {noTimeStamp}'\r
\r
if "%1" == "" (\r
- echo %0 - missing CertName file?\r
+ echo %0 - missing CertFileName?\r
echo %0 - %Usage%\r
exit /B 1\r
)\r
exit /B 1\r
)\r
\r
-if "%2" == "" (\r
- echo %0 - missing Cert FileName password?\r
+rem %2 is already quoted.\r
+if %2 == "" (\r
+ echo %0 - missing Cert Subject Name?\r
echo %0 - %Usage%\r
exit /B 1\r
)\r
\r
-if "%2" == "nopassword" (\r
- set PWD=\r
-) else (\r
- set PWD=/p %2\r
-)\r
-\r
if "%3" == "" (\r
echo %0 - missing path-2-driver files?\r
echo %0 - %Usage%\r
if "%%d" == "x86" set OEA=%OE%_X86,Vista_X86\r
if "%%d" == "ia64" set OEA=%OE%_IA64\r
\r
- echo %0 - Signing %%d .sys driver files for !OEA!\r
-\r
- for %%f in ( *.sys ) do (\r
- echo %0 - Signing %%d\%%f\r
- signtool sign /a /f %1 %PWD% %TS% %DU% %%f\r
- if ERRORLEVEL 1 (\r
- echo %0 signtool sign %%f failed?\r
- echo %0 file %CD%\%%f\r
- exit /B 1\r
- )\r
- signtool verify /kp %%f\r
- if ERRORLEVEL 1 (\r
- echo %0 signtool verify %%f failed?\r
- echo %0 file %CD%\%%f\r
- exit /B 1\r
- )\r
- )\r
-\r
echo %0 - Generating %%d .cat files for !OEA!\r
inf2cat /driver:%CD%\%%d /os:!OEA!\r
if ERRORLEVEL 1 (\r
echo %0 - Signing %%d .cat files\r
for %%f in ( *.cat ) do (\r
echo %0 - Signing %%d\%%f\r
- signtool sign /a /f %1 %PWD% %TS% %DU% %%f\r
+ signtool sign /ac %1 /n %2 %TS% %DU% %%f\r
if ERRORLEVEL 1 (\r
echo %0 signtool sign %%f failed?\r
echo %0 file %CD%\%%f\r
echo %0 file %CD%\%%f\r
exit /B 1\r
)\r
-rem echo %0 - Successfully Signed %%d\%%f\r
)\r
popd\r
)\r
WinOF (Windows OpenFabrics) for x64 Windows Server 2008 or Vista\r
-->\r
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">\r
- <Product Name="Windows Open Fabrics InfiniBand v2.0 (RC0) x64"\r
+ <Product Name="Windows Open Fabrics InfiniBand v2.0 (RC1) x64"\r
Id="3A6A276E-A636-48e8-8624-9A0DE3F2A15E"\r
UpgradeCode='E38964D6-359D-4E38-9BBF-8C79D84DF6CF' \r
Version="2.0.0"\r
<Component Id="Tools" Guid="1B89230E-5D8D-41a5-BD1F-A3E308FEE026">\r
<Environment Id='UpdatePath' Name='PATH' Action='create'\r
System='yes' Part='last' Value='[INSTALLDIR]' /> \r
- <File Id="vstat" Name="vstat.exe" Compressed="yes" DiskId="1"\r
- Source="..\bin\tools\amd64\release\vstat.exe" Vital="yes" />\r
+\r
+ <File Id="part_man" Name="part_man.exe"\r
+ Compressed="yes" DiskId="1" Vital="yes"\r
+ Source="..\bin\tools\amd64\release\part_man.exe" />\r
+ <File Id="vstat" Name="vstat.exe"\r
+ Compressed="yes" DiskId="1" Vital="yes"\r
+ Source="..\bin\tools\amd64\release\vstat.exe" />\r
<File Id="ttcp.exe" LongName="ttcp.exe" Compressed="yes"\r
DiskId="1" Name="TTCP.EXE"\r
Source="..\bin\tools\amd64\release\ttcp.exe" />\r
<File Id="IbInstaller.dll" Compressed="yes" DiskId="1"\r
LongName="IbInstaller.dll" Name="IBINSTA.DLL"\r
Source="..\bin\HCA\amd64\IbInstaller.dll" />\r
--->\r
<File Id="ib_bus.cat" Compressed="yes" DiskId="1"\r
LongName="ib_bus.cat" Name="IB_BUS.cat"\r
Source="..\bin\HCA\amd64\ib_bus.cat" />\r
+-->\r
<File Id="ibbus.sys" Compressed="yes" DiskId="1"\r
LongName="ibbus.sys" Name="IBBUS.SYS"\r
Source="..\bin\HCA\amd64\ibbus.sys" />\r
\r
<File Id="chk2" Name="ibbus.sys" DiskId="1" Compressed="yes"\r
Source="..\bin\Chk\HCA\amd64\ibbus.sys" />\r
- <File Id="cat2" Name="ib_bus.cat" DiskId="1" Compressed="yes"\r
- Source="..\bin\Chk\HCA\amd64\ib_bus.cat" />\r
<File Id="sym2" Name="ibbus.pdb" DiskId="1" Compressed="yes"\r
Source="..\bin\Chk\HCA\amd64\ibbus.pdb" />\r
\r
<File Id="file174" Name="vstat.exe"\r
DiskId="1" Compressed="yes"\r
Source="..\bin\bin\user\objchk_wlh_amd64\amd64\vstat.exe" />\r
+ <File Id="file175" Name="part_man.exe"\r
+ DiskId="1" Compressed="yes"\r
+ Source="..\bin\bin\user\objchk_wlh_amd64\amd64\part_man.exe" />\r
</Component>\r
</Directory>\r
</Directory>\r
-->\r
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">\r
\r
- <Product Name="Windows OpenFabrics InfiniBand v2.0 (RC0) x86"\r
+ <Product Name="Windows OpenFabrics InfiniBand v2.0 (RC1) x86"\r
Id="3A6A276E-A636-48e8-8624-9A0DE3F2A15E"\r
UpgradeCode='E38964D6-359D-4E38-9BBF-8C79D84DF6CF'\r
Version="2.0.0"\r
\r
<Component Id="Tools"\r
Guid="1B89230E-5D8D-41a5-BD1F-A3E308FEE026">\r
-\r
<Environment Id='UpdatePath' Name='PATH' Action='create'\r
System='yes' Part='last' Value='[INSTALLDIR]' />\r
\r
- <File Id="vstat" Name="vstat.exe" Compressed="yes"\r
- DiskId="1" Source="..\bin\tools\x86\release\vstat.exe"\r
- Vital="yes" />\r
+ <File Id="part_man" Name="part_man.exe"\r
+ Compressed="yes" DiskId="1" Vital="yes"\r
+ Source="..\bin\tools\x86\release\part_man.exe" />\r
+ <File Id="vstat" Name="vstat.exe"\r
+ Compressed="yes" Vital="yes" DiskId="1"\r
+ Source="..\bin\tools\x86\release\vstat.exe" />\r
<File Id="ttcp.exe" LongName="ttcp.exe" Compressed="yes"\r
DiskId="1" Name="TTCP.EXE"\r
Source="..\bin\tools\x86\release\ttcp.exe" />\r
<File Id="IbInstaller.dll" Compressed="yes" DiskId="1"\r
LongName="IbInstaller.dll" Name="IBINSTA.DLL"\r
Source="..\bin\HCA\x86\IbInstaller.dll" />\r
--->\r
<File Id="ib_bus.cat" Compressed="yes" DiskId="1"\r
LongName="ib_bus.cat" Name="IB_BUS.cat"\r
Source="..\bin\HCA\x86\ib_bus.cat" />\r
+-->\r
<File Id="ibbus.sys" Compressed="yes" DiskId="1"\r
LongName="ibbus.sys" Name="IBBUS.SYS"\r
Source="..\bin\HCA\x86\ibbus.sys" />\r
\r
<File Id="chk2" Name="ibbus.sys" DiskId="1" Compressed="yes"\r
Source="..\bin\Chk\HCA\x86\ibbus.sys" />\r
- <File Id="cat2" Name="ib_bus.cat" DiskId="1" Compressed="yes"\r
- Source="..\bin\Chk\HCA\x86\ib_bus.cat" />\r
<File Id="sym2" Name="ibbus.pdb" DiskId="1" Compressed="yes"\r
Source="..\bin\Chk\HCA\x86\ibbus.pdb" />\r
\r
<File Id="file151" Name="vstat.exe"\r
DiskId="1" Compressed="yes"\r
Source="..\bin\bin\user\objchk_wlh_x86\i386\vstat.exe" />\r
+ <File Id="file152" Name="part_man.exe"\r
+ DiskId="1" Compressed="yes"\r
+ Source="..\bin\bin\user\objchk_wlh_x86\i386\part_man.exe" />\r
</Component>\r
</Directory>\r
</Directory>\r
WinOF for IA64/IPF Itanium on Windown Server 2003\r
-->\r
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">\r
- <Product Name="Windows Open Fabrics InfiniBand v2.0 (RC0) ia64"\r
+ <Product Name="Windows Open Fabrics InfiniBand v2.0 (RC1) ia64"\r
Id="3A6A276E-A636-48e8-8624-9A0DE3F2A15E"\r
UpgradeCode='E38964D6-359D-4E38-9BBF-8C79D84DF6CF' \r
Version="2.0.0"\r
<Component Id="Tools" Guid="1B89230E-5D8D-41a5-BD1F-A3E308FEE026">\r
<Environment Id='UpdatePath' Name='PATH' Action='create'\r
System='yes' Part='last' Value='[INSTALLDIR]' /> \r
- <File Id="vstat" Name="vstat.exe" Compressed="yes" DiskId="1"\r
- Source="..\bin\tools\ia64\release\vstat.exe" Vital="yes" />\r
+\r
+ <File Id="part_man" Name="part_man.exe"\r
+ Compressed="yes" DiskId="1" Vital="yes"\r
+ Source="..\bin\tools\ia64\release\part_man.exe" />\r
+ <File Id="vstat" Name="vstat.exe"\r
+ Compressed="yes" DiskId="1" Vital="yes"\r
+ Source="..\bin\tools\ia64\release\vstat.exe" />\r
<File Id="ttcp.exe" LongName="ttcp.exe" Compressed="yes"\r
DiskId="1" Name="TTCP.EXE"\r
Source="..\bin\tools\ia64\release\ttcp.exe" />\r
<File Id="IbInstaller.dll" Compressed="yes" DiskId="1"\r
LongName="IbInstaller.dll" Name="IBINSTA.DLL"\r
Source="..\bin\HCA\ia64\IbInstaller.dll" />\r
--->\r
<File Id="ib_bus.cat" Compressed="yes" DiskId="1"\r
LongName="ib_bus.cat" Name="IB_BUS.cat"\r
Source="..\bin\HCA\ia64\ib_bus.cat" />\r
+-->\r
<File Id="ibbus.sys" Compressed="yes" DiskId="1"\r
LongName="ibbus.sys" Name="IBBUS.SYS"\r
Source="..\bin\HCA\ia64\ibbus.sys" />\r
\r
<File Id="chk2" Name="ibbus.sys" DiskId="1" Compressed="yes"\r
Source="..\bin\Chk\HCA\ia64\ibbus.sys" />\r
- <File Id="cat2" Name="ib_bus.cat" DiskId="1" Compressed="yes"\r
- Source="..\bin\Chk\HCA\ia64\ib_bus.cat" />\r
<File Id="sym2" Name="ibbus.pdb" DiskId="1" Compressed="yes"\r
Source="..\bin\Chk\HCA\ia64\ibbus.pdb" />\r
\r
Source="..\bin\bin\user\objchk_wnet_ia64\ia64\opensm.exe" />\r
<File Id="file115" Name="vstat.exe" DiskId="1" Compressed="yes"\r
Source="..\bin\bin\user\objchk_wnet_ia64\ia64\vstat.exe" />\r
+ <File Id="file116" Name="part_man.exe"\r
+ DiskId="1" Compressed="yes"\r
+ Source="..\bin\bin\user\objchk_wnet_ia64\ia64\part_man.exe" />\r
</Component>\r
</Directory>\r
</Directory>\r
\r
rem Sign device drivers for architectures specified\r
\r
-rem usage: signDrivers CertFilename password path-2-drivers {noTimeStamp}\r
+rem usage: signDrivers CertFilename CertSubjectName path-2-drivers {noTimeStamp}\r
\r
-rem example: signDirvers cse1CStore bin\hca\r
+rem example: signDirvers cse1CStore TestCert bin\hca\r
\r
\r
rem cmd.exe /V:on (delayed environment variable expansion) is required!\r
set Usage='usage: signDrivers CertFilename password path-2-drivers {noTimeStamp}'\r
\r
if "%1" == "" (\r
- echo %0 - missing CertName file?\r
+ echo %0 - missing CertFileName?\r
echo %0 - %Usage%\r
exit /B 1\r
)\r
exit /B 1\r
)\r
\r
-if "%2" == "" (\r
- echo %0 - missing Cert FileName password?\r
+rem %2 is already quoted\r
+if %2 == "" (\r
+ echo %0 - missing Cert Subject Name?\r
echo %0 - %Usage%\r
exit /B 1\r
)\r
\r
-if "%2" == "nopassword" (\r
- set PWD=\r
-) else (\r
- set PWD=/p %2\r
-)\r
-\r
if "%3" == "" (\r
echo %0 - missing path-2-driver files?\r
echo %0 - %Usage%\r
if "%%d" == "x86" set OEA=%OE%_X86\r
if "%%d" == "ia64" set OEA=%OE%_IA64\r
\r
- echo %0 - Signing %%d .sys driver files for !OEA!\r
-\r
- for %%f in ( *.sys ) do (\r
- echo %0 - Signing %%d\%%f\r
- signtool sign /a /f %1 %PWD% %TS% %DU% %%f\r
- if ERRORLEVEL 1 (\r
- echo %0 signtool sign %%f failed?\r
- echo %0 file %CD%\%%f\r
- exit /B 1\r
- )\r
- signtool verify /kp %%f\r
- if ERRORLEVEL 1 (\r
- echo %0 signtool verify %%f failed?\r
- echo %0 file %CD%\%%f\r
- exit /B 1\r
- )\r
- )\r
-\r
echo %0 - Generating %%d .cat files for !OEA!\r
inf2cat /driver:%CD%\%%d /os:!OEA!\r
if ERRORLEVEL 1 (\r
echo %0 - Signing %%d .cat files\r
for %%f in ( *.cat ) do (\r
echo %0 - Signing %%d\%%f\r
- signtool sign /a /f %1 %PWD% %TS% %DU% %%f\r
+ signtool sign /ac %1 /n %2 %TS% %DU% %%f\r
if ERRORLEVEL 1 (\r
echo %0 signtool sign %%f failed?\r
echo %0 file %CD%\%%f\r
echo %0 file %CD%\%%f\r
exit /B 1\r
)\r
-rem echo %0 - Successfully Signed %%d\%%f\r
)\r
popd\r
)\r
WinOF for x64 Windows Server 2003 or XP64\r
-->\r
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">\r
- <Product Name="Windows Open Fabrics InfiniBand v2.0 (RC0) x64"\r
+ <Product Name="Windows Open Fabrics InfiniBand v2.0 (RC1) x64"\r
Id="3A6A276E-A636-48e8-8624-9A0DE3F2A15E"\r
UpgradeCode='E38964D6-359D-4E38-9BBF-8C79D84DF6CF' \r
Version="2.0.0"\r
<Component Id="Tools" Guid="1B89230E-5D8D-41a5-BD1F-A3E308FEE026">\r
<Environment Id='UpdatePath' Name='PATH' Action='create'\r
System='yes' Part='last' Value='[INSTALLDIR]' /> \r
- <File Id="vstat" Name="vstat.exe" Compressed="yes" DiskId="1"\r
- Source="..\bin\tools\amd64\release\vstat.exe" Vital="yes" />\r
+\r
+ <File Id="part_man" Name="part_man.exe"\r
+ Compressed="yes" DiskId="1" Vital="yes"\r
+ Source="..\bin\tools\amd64\release\part_man.exe" />\r
+ <File Id="vstat" Name="vstat.exe"\r
+ Compressed="yes" DiskId="1" Vital="yes"\r
+ Source="..\bin\tools\amd64\release\vstat.exe" />\r
<File Id="ttcp.exe" LongName="ttcp.exe" Compressed="yes"\r
DiskId="1" Name="TTCP.EXE"\r
Source="..\bin\tools\amd64\release\ttcp.exe" />\r
<File Id="IbInstaller.dll" Compressed="yes" DiskId="1"\r
LongName="IbInstaller.dll" Name="IBINSTA.DLL"\r
Source="..\bin\HCA\amd64\IbInstaller.dll" />\r
--->\r
<File Id="ib_bus.cat" Compressed="yes" DiskId="1"\r
LongName="ib_bus.cat" Name="IB_BUS.cat"\r
Source="..\bin\HCA\amd64\ib_bus.cat" />\r
+-->\r
<File Id="ibbus.sys" Compressed="yes" DiskId="1"\r
LongName="ibbus.sys" Name="IBBUS.SYS"\r
Source="..\bin\HCA\amd64\ibbus.sys" />\r
\r
<File Id="chk2" Name="ibbus.sys" DiskId="1" Compressed="yes"\r
Source="..\bin\Chk\HCA\amd64\ibbus.sys" />\r
- <File Id="cat2" Name="ib_bus.cat" DiskId="1" Compressed="yes"\r
- Source="..\bin\Chk\HCA\amd64\ib_bus.cat" />\r
<File Id="sym2" Name="ibbus.pdb" DiskId="1" Compressed="yes"\r
Source="..\bin\Chk\HCA\amd64\ibbus.pdb" />\r
\r
<File Id="file174" Name="vstat.exe"\r
DiskId="1" Compressed="yes"\r
Source="..\bin\bin\user\objchk_wnet_amd64\amd64\vstat.exe" />\r
+ <File Id="file175" Name="part_man.exe"\r
+ DiskId="1" Compressed="yes"\r
+ Source="..\bin\bin\user\objchk_wnet_amd64\amd64\part_man.exe" />\r
</Component>\r
</Directory>\r
</Directory>\r
-->\r
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">\r
\r
- <Product Name="Windows OpenFabrics InfiniBand v2.0 (RC0) x86"\r
+ <Product Name="Windows OpenFabrics InfiniBand v2.0 (RC1) x86"\r
Id="3A6A276E-A636-48e8-8624-9A0DE3F2A15E"\r
UpgradeCode='E38964D6-359D-4E38-9BBF-8C79D84DF6CF'\r
Version="2.0.0"\r
\r
<Component Id="Tools"\r
Guid="1B89230E-5D8D-41a5-BD1F-A3E308FEE026">\r
-\r
<Environment Id='UpdatePath' Name='PATH' Action='create'\r
System='yes' Part='last' Value='[INSTALLDIR]' />\r
\r
- <File Id="vstat" Name="vstat.exe" Compressed="yes"\r
- DiskId="1" Source="..\bin\tools\x86\release\vstat.exe"\r
- Vital="yes" />\r
+ <File Id="part_man" Name="part_man.exe"\r
+ Compressed="yes" DiskId="1" Vital="yes"\r
+ Source="..\bin\tools\x86\release\part_man.exe" />\r
+ <File Id="vstat" Name="vstat.exe"\r
+ Compressed="yes" DiskId="1" Vital="yes"\r
+ Source="..\bin\tools\x86\release\vstat.exe" />\r
<File Id="ttcp.exe" LongName="ttcp.exe" Compressed="yes"\r
DiskId="1" Name="TTCP.EXE"\r
Source="..\bin\tools\x86\release\ttcp.exe" />\r
<File Id="ibbus.pdb" Compressed="yes" DiskId="1"\r
Name="ibbus.pdb"\r
Source="..\bin\HCA\x86\ibbus.pdb" />\r
+<!--\r
<File Id="ib_bus.cat" Compressed="yes" DiskId="1"\r
LongName="ib_bus.cat" Name="IB_BUS.cat"\r
Source="..\bin\HCA\x86\ib_bus.cat" />\r
-<!--\r
<File Id="IbInstaller.dll" Compressed="yes" DiskId="1"\r
LongName="IbInstaller.dll" Name="IBINSTA.DLL"\r
Source="..\bin\HCA\x86\IbInstaller.dll" />\r
\r
<File Id="chk2" Name="ibbus.sys" DiskId="1" Compressed="yes"\r
Source="..\bin\Chk\HCA\x86\ibbus.sys" />\r
- <File Id="cat2" Name="ib_bus.cat" DiskId="1" Compressed="yes"\r
- Source="..\bin\Chk\HCA\x86\ib_bus.cat" />\r
<File Id="sym2" Name="ibbus.pdb" DiskId="1" Compressed="yes"\r
Source="..\bin\Chk\HCA\x86\ibbus.pdb" />\r
\r
<File Id="file151" Name="vstat.exe"\r
DiskId="1" Compressed="yes"\r
Source="..\bin\bin\user\objchk_wnet_x86\i386\vstat.exe" />\r
+ <File Id="file152" Name="part_man.exe"\r
+ DiskId="1" Compressed="yes"\r
+ Source="..\bin\bin\user\objchk_wnet_x86\i386\part_man.exe" />\r
</Component>\r
</Directory>\r
</Directory>\r
\r
rem Sign device drivers for architectures specified\r
\r
-rem usage: signDrivers CertFilename password path-2-drivers {noTimeStamp}\r
+rem usage: signDrivers CertFilename CertSubjectName path-2-drivers {noTimeStamp}\r
\r
-rem example: signDirvers cse1CStore bin\hca\r
+rem example: signDirvers cse1CStore TestCert bin\hca\r
\r
\r
rem cmd.exe /V:on (delayed environment variable expansion) is required!\r
set Usage='usage: signDrivers CertFilename password path-2-drivers {noTimeStamp}'\r
\r
if "%1" == "" (\r
- echo %0 - missing CertName file?\r
+ echo %0 - missing CertFileName?\r
echo %0 - %Usage%\r
exit /B 1\r
)\r
exit /B 1\r
)\r
\r
-if "%2" == "" (\r
- echo %0 - missing Cert FileName password?\r
+rem %2 already quoted\r
+if %2 == "" (\r
+ echo %0 - missing Cert Subject Name?\r
echo %0 - %Usage%\r
exit /B 1\r
)\r
\r
-if "%2" == "nopassword" (\r
- set PWD=\r
-) else (\r
- set PWD=/p %2\r
-)\r
-\r
if "%3" == "" (\r
echo %0 - missing path-2-driver files?\r
echo %0 - %Usage%\r
rem if "%%d" == "amd64" set OEA=%OE%_X64\r
rem if "%%d" == "ia64" set OEA=%OE%_IA64\r
\r
- echo %0 - Signing %%d .sys driver files for !OEA!\r
-\r
- for %%f in ( *.sys ) do (\r
- echo %0 - Signing %%d\%%f\r
- signtool sign /a /f %1 %PWD% %TS% %DU% %%f\r
- if ERRORLEVEL 1 (\r
- echo %0 signtool sign %%f failed?\r
- echo %0 file %CD%\%%f\r
- exit /B 1\r
- )\r
- signtool verify /kp %%f\r
- if ERRORLEVEL 1 (\r
- echo %0 signtool verify %%f failed?\r
- echo %0 file %CD%\%%f\r
- exit /B 1\r
- )\r
- )\r
-\r
echo %0 - Generating %%d .cat files for !OEA!\r
inf2cat /driver:%CD%\%%d /os:!OEA!\r
if ERRORLEVEL 1 (\r
echo %0 - Signing %%d .cat files\r
for %%f in ( *.cat ) do (\r
echo %0 - Signing %%d\%%f\r
- signtool sign /a /f %1 %PWD% %TS% %DU% %%f\r
+ signtool sign /ac %1 /n %2 %TS% %DU% %%f\r
if ERRORLEVEL 1 (\r
echo %0 signtool sign %%f failed?\r
echo %0 file %CD%\%%f\r
echo %0 file %CD%\%%f\r
exit /B 1\r
)\r
-rem echo %0 - Successfully Signed %%d\%%f\r
)\r
popd\r
)\r
-->\r
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">\r
\r
- <Product Name="Windows OpenFabrics InfiniBand v2.0 (RC0) x86 XP"\r
+ <Product Name="Windows OpenFabrics InfiniBand v2.0 (RC1) x86 XP"\r
Id="3A6A276E-A636-48e8-8624-9A0DE3F2A15E"\r
UpgradeCode='E38964D6-359D-4E38-9BBF-8C79D84DF6CF'\r
Version="2.0.0"\r
\r
<Component Id="Tools"\r
Guid="1B89230E-5D8D-41a5-BD1F-A3E308FEE026">\r
-\r
<Environment Id='UpdatePath' Name='PATH' Action='create'\r
System='yes' Part='last' Value='[INSTALLDIR]' />\r
\r
- <File Id="vstat" Name="vstat.exe" Compressed="yes"\r
- DiskId="1" Source="..\bin\tools\x86\release\vstat.exe"\r
- Vital="yes" />\r
+ <File Id="part_man" Name="part_man.exe"\r
+ Compressed="yes" DiskId="1" Vital="yes"\r
+ Source="..\bin\tools\x86\release\part_man.exe" />\r
+ <File Id="vstat" Name="vstat.exe"\r
+ Compressed="yes" DiskId="1" Vital="yes"\r
+ Source="..\bin\tools\x86\release\vstat.exe" />\r
<File Id="ttcp.exe" LongName="ttcp.exe" Compressed="yes"\r
DiskId="1" Name="TTCP.EXE"\r
Source="..\bin\tools\x86\release\ttcp.exe" />\r
<File Id="IbInstaller.dll" Compressed="yes" DiskId="1"\r
LongName="IbInstaller.dll" Name="IBINSTA.DLL"\r
Source="..\bin\HCA\x86\IbInstaller.dll" />\r
--->\r
<File Id="ib_bus.cat" Compressed="yes" DiskId="1"\r
LongName="ib_bus.cat" Name="IB_BUS.cat"\r
Source="..\bin\HCA\x86\ib_bus.cat" />\r
+-->\r
<File Id="ibal.dll" Compressed="yes" DiskId="1"\r
LongName="ibal.dll" Name="IBAL.DLL"\r
Source="..\bin\HCA\x86\ibal.dll" />\r
\r
<File Id="chk2" Name="ibbus.sys" DiskId="1" Compressed="yes"\r
Source="..\bin\Chk\HCA\x86\ibbus.sys" />\r
- <File Id="cat2" Name="ib_bus.cat" DiskId="1" Compressed="yes"\r
- Source="..\bin\Chk\HCA\x86\ib_bus.cat" />\r
<File Id="sym2" Name="ibbus.pdb" DiskId="1" Compressed="yes"\r
Source="..\bin\Chk\HCA\x86\ibbus.pdb" />\r
\r
<File Id="file151" Name="vstat.exe"\r
DiskId="1" Compressed="yes"\r
Source="..\bin\bin\user\objchk_wxp_x86\i386\vstat.exe" />\r
+ <File Id="file152" Name="part_man.exe"\r
+ DiskId="1" Compressed="yes"\r
+ Source="..\bin\bin\user\objchk_wxp_x86\i386\part_man.exe" />\r
</Component>\r
</Directory>\r
</Directory>\r
exit /B 0\r
)\r
\r
-rem Driver Signing Certificate filename, assumes %WIX%\%CERTNAME% is valid.\r
-rem set CERTNAME=noCert\r
-set CERTNAME=WinOF_Software_Pub.pfx\r
-set CERTPWD=WinOF\r
+rem Driver Signing Certificate filename, assumes %WIX%\%CERTFILE% is valid.\r
+rem set CERTFILE=noCert\r
+set CERTFILE=MSCV-VSClass3.cer\r
+set CERTSNAME="OpenFabrics Alliance"\r
\r
rem A Digital driver signing certificate store name may be required.\r
if "%1" == "all" (\r
- if "%CERTNAME%" == "noCert" set /P CERTNAME=[Enter Certificate FileName] \r
- if "%CERTNAME%" == "" (\r
+ if "%CERTFILE%" == "noCert" set /P CERTFILE=[Enter Certificate FileName] \r
+ if "%CERTFILE%" == "" (\r
echo %0\r
echo %0: Err - driver signing certificate filename required.\r
echo %0: see certmgr.exe\r
)\r
\r
if "%1" == "msi" (\r
- if "%CERTNAME%" == "noCert" set /P CERTNAME=[Enter Certificate FileName] \r
- if "%CERTNAME%" == "" (\r
+ if "%CERTFILE%" == "noCert" set /P CERTFILE=[Enter Certificate FileName] \r
+ if "%CERTFILE%" == "" (\r
echo %0\r
echo %0: Err - driver signing certificate filename required.\r
echo %0: see certmgr.exe\r
rem Special override case for WinOF 2.0 release.\r
rem setup value for OPENIB_REV assignment.\r
\r
-set SVN=1535\r
+set SVN=1554\r
set LBL=_R2.0\r
\r
rem assumes %CD% == '...\gen1\trunk'\r
\r
echo %0 - Building with WDK @ %_DDK%\r
echo Building for OPENIB_REV %SVN%, installer files @ %IDIR%\r
-echo Drivers signed using Certificate '%CERTNAME%'\r
+echo Drivers signed using Certificate '%CERTFILE%'\r
\r
rem pause thoughtfully.\r
if exist %windir%\system32\timeout.exe (\r
\r
:mk_msi\r
\r
-echo %0 - Drivers Signed with %CERTNAME%\r
+echo %0 - Drivers Signed with %CERTFILE%\r
echo Binary releases created in\r
echo %RBIN_WLH%\r
echo %RBIN_WNET%\r
\r
rem build WIX installers --> see ..\branches\WinOF\WIX\r
\r
-%COMSPEC% /V:on /E:on /C "%_DDK%\bin\setenv.bat %_DDK% fre X64 WNET & cd /D %WIX% & build-all-MSI %MSI_CMD% %CERTNAME% %CERTPWD% %IDIR%"\r
+%COMSPEC% /V:on /E:on /C "%_DDK%\bin\setenv.bat %_DDK% fre X64 WNET & cd /D %WIX% & build-all-MSI %MSI_CMD% %CERTFILE% %CERTSNAME% %IDIR%"\r
\r
\r
:finito\r