Const DPINST_ERR = &H80000000\r
\r
\r
-Function dpinst_install(WshShell,sInstalldir,need_IPOIB,need_VNIC,need_SRP)\r
+Function dpinst_install(WshShell,sInstalldir,localSM,IPOIB,VNIC,SRP)\r
\r
Dim dpinst,dpinstNET,cmd,rc\r
\r
End if\r
\r
' Check/install IPoIB driver\r
- If need_IPOIB Then\r
+ If IPOIB Then\r
cmd = dpinstNET & "/S /F /SA /PATH """ & sInstalldir & "net""" & _\r
" /SE /SW"\r
rc = WshShell.Run (cmd,0,true)\r
End if\r
End If\r
\r
+ ' Start the Local OpenSM Subnet Manager service?\r
+ If localSM Then\r
+ OpenSM_StartMeUp WshShell,sInstalldir\r
+ End If\r
+\r
' IOU driver is installed (loaded into driver store) by default as the\r
' driver (ibiou.sys) is located in IBcore; side-effect of dpinst.exe.\r
\r
- If need_VNIC Then\r
+ If VNIC Then\r
rc = dpinst_Install_VNIC(WshShell,sInstalldir)\r
End If\r
\r
- If need_SRP Then\r
+ If SRP Then\r
rc = dpinst_Install_SRP(WshShell,sInstalldir)\r
End If\r
\r
End Function\r
\r
\r
-Function devman_install(WshShell,Installdir,have_mthca,have_mlx4,IPOIB,VNIC,SRP)\r
+Function devman_install(WshShell,Installdir,have_mthca,have_mlx4,localSM,IPOIB,VNIC,SRP)\r
\r
Dim devman,cmd,Return,rc\r
\r
Exit Function\r
End if\r
\r
+ ' Start a Local OpenSM Subnet Manager service?\r
+ If localSM Then\r
+ OpenSM_StartMeUp WshShell,sInstalldir\r
+ End If\r
+\r
' Check/install IPoIB driver\r
If IPOIB Then\r
devmanNET = "cmd.exe /c cd /d " & Installdir & _\r
Dim devman, devmanEXE\r
Dim rc, cmd, CheckMode, sInstalldir, fso\r
Dim DrvInstalled, idev, mlxdev, dev, dev_list\r
- Dim WLH,need_IPOIB,need_SRP,need_VNIC\r
+ Dim WLH,IPOIB,SRP,VNIC,localSM\r
\r
On Error Resume Next\r
\r
\r
have_mlx4 = instr(InstallThis,"hca_connectX")\r
have_mthca = instr(InstallThis,"hca_mthca")\r
- need_IPOIB = instr(InstallThis,"fIPoIB")\r
+ IPOIB = instr(InstallThis,"fIPoIB")\r
\r
- need_SRP = instr(InstallThis,"fSRP") _\r
+ localSM = instr(InstallThis,"fOSMS")\r
+ SRP = instr(InstallThis,"fSRP") _\r
AND fso.FileExists(sInstalldir & "SRP\ib_srp.inf")\r
\r
- need_VNIC = instr(InstallThis,"fVNIC") _\r
+ VNIC = instr(InstallThis,"fVNIC") _\r
AND fso.FileExists(sInstalldir & "qlgcvnic\netvnic.inf")\r
\r
' Flag Windows LongHorn Install (aka Vista | Server 2008)\r
' otherwise use devman.\r
\r
If WLH Then\r
- DriverInstall = dpinst_install(WshShell,sInstalldir,need_IPOIB,_\r
- need_VNIC,need_SRP)\r
+ DriverInstall = dpinst_install(WshShell,sInstalldir,localSM,IPOIB,_\r
+ VNIC,SRP)\r
Else\r
DriverInstall = devman_install(WshShell,sInstalldir,have_mthca,_\r
- have_mlx4,need_IPOIB,need_VNIC,need_SRP)\r
+ have_mlx4,localSM,IPOIB,VNIC,SRP)\r
End If\r
\r
End Function\r
\r
End Sub\r
\r
-Function Uninstall_IB_Devices(sInstalldir,VersionNT,sRemove)\r
+Function Uninstall_IB_Devices(WshShell,fso,sInstalldir,VersionNT,sRemove)\r
\r
- Dim WshShell, fso, devices, cmd, dpinst, devman, devmanRMAT, tool\r
+ Dim devices, cmd, dpinst, devman, devmanRMAT, tool\r
\r
devman = "cmd.exe /c cd /d " & sInstalldir & "IBcore & devman.exe "\r
\r
devmanRMAT = devman & "remove @"\r
devmanDAAT = devman & "disable @"\r
\r
- Set WshShell = CreateObject("WScript.Shell")\r
- Set fso = CreateObject("Scripting.FileSystemObject")\r
-\r
If (fso.FileExists(sInstalldir & "IBcore\dpinst.exe") = False) Then\r
Exit Function ' no reason to continue without the tool.\r
End if\r
Return = WshShell.Run ("cmd.exe /c sc.exe delete opensm", 0, true)\r
If Err Then ShowError\r
\r
- Uninstall_IB_Devices sInstalldir,sVersionNT,sRemove\r
+ Uninstall_IB_Devices WshShell,fso,sInstalldir,sVersionNT,sRemove\r
\r
' Remove Service entries from the registry\r
\r
End Function\r
\r
\r
-' Wix installer now handles this, no longer used although left as example.\r
-' Create OpenSM (Subnet Management) windows service disabled.\r
+' Convert the disabled OpenSM Windows service to an 'auto' startup on next boot.\r
+' OpenSM service was created by WIX installer directives - see WOF.wxs file.\r
+' Performs local service conversion and then starts the local OpenSM service.\r
+' Routine called from DriverInstall phase 'IF' a local OpenSM service was\r
+' requested. The point is to get a local OpenSM up and running prior to loading\r
+' the IOU and SRP/VNIC drivers. Server 2003 IOU driver load fails if OpenSM\r
+' has not yet registered the IOC?\r
\r
-Sub OpenSM_Install\r
- Dim sInstalldir,opensmPath,WshShell,fso,sc\r
+Sub OpenSM_StartMeUp(WshShell,sInstalldir)\r
+ Dim opensmPath\r
\r
- sInstalldir = Session.Property("INSTALLDIR")\r
opensmPath = sInstalldir & "opensm.exe"\r
\r
- Set fso = CreateObject("Scripting.FileSystemObject")\r
- Set WshShell = CreateObject("WScript.Shell")\r
- \r
- ' opensm.exe is required\r
- If Not fso.FileExists(opensmPath) Then\r
- Exit Sub\r
- End if\r
-\r
- sc = "sc.exe create opensm binPath= """ &opensmPath _\r
- & " -e --service"" DisplayName= ""InfiniBand Subnet Manager"" "\r
-\r
- ' Install OpeSM as a 'disabled' Service\r
- sc = sc & "start= disabled"\r
- Return = WshShell.Run ("cmd.exe /c " & sc, 0, true)\r
- sc = "sc.exe description opensm ""Configures and manage the InfiniBand Subnet"" "\r
- Return = WshShell.Run ("cmd.exe /c " & sc, 0, true)\r
- err.clear\r
-\r
-End Sub\r
-\r
-\r
-' CustomAction called by Wix installer to convert disabled OpenSM service to\r
-' to an 'auto' startup at boot. Performs conversion and then starts service.\r
-\r
-Sub OpenSM_StartMeUp\r
- Dim sInstalldir, opensmPath, WshShell, fso\r
-\r
- sInstalldir = Session.Property("INSTALLDIR")\r
- opensmPath = sInstalldir & "opensm.exe"\r
-\r
- Set fso = CreateObject("Scripting.FileSystemObject")\r
- Set WshShell = CreateObject("WScript.Shell")\r
- \r
- ' opensm.exe is required\r
- If Not fso.FileExists(opensmPath) Then\r
- Exit Sub\r
- End if\r
-\r
Return = WshShell.Run ("cmd.exe /c sc.exe config opensm start= auto",0,true)\r
Return = WshShell.Run ("cmd.exe /c sc.exe start opensm", 0, true)\r
Err.clear\r
End Sub\r
\r
\r
-' NOT USED - WIX now handles this\r
-' If not present, then create %SystemDrive%\DAT\dat.conf\r
-\r
-Function DAPL_setup()\r
- Dim sSysDrive, SrcFile, DstFile, WshShell, fso\r
-\r
- Set WshShell = CreateObject("WScript.Shell")\r
- Set fso = CreateObject("Scripting.FileSystemObject")\r
-\r
- DAPL_setup = 0\r
- Err.clear\r
-\r
- SrcFile = Session.Property("INSTALLDIR") & "dat.conf"\r
-\r
- If fso.FileExists(SrcFile) Then\r
- On Error Resume Next \r
- sSysDrive = Session.Property("WindowsVolume")\r
- ' sSysDrive = WshShell.ExpandEnvironmentStrings("%SystemDrive%") \r
- ' WindowsVolume includes root \, where %SystemDrive% does not.\r
- DstFile = sSysDrive & "DAT\dat.conf"\r
- If fso.FileExists(DstFile) Then\r
- ' Preserve existing %SystemDrive%\DAT\dat.conf\r
- Exit Function\r
- End if\r
- fso.CopyFile SrcFile, DstFile\r
- End if\r
-End Function\r
-\r
-\r
Sub ScheduleLocalReboot\r
\r
Set objWMILocator = CreateObject ("WbemScripting.SWbemLocator") \r
<Condition Level="201"> IPOIB_EXISTS </Condition> \r
</Feature>\r
-->\r
+\r
+ <Feature Id="fOSMS" Title="OpenSM Service Started" Level="5"\r
+ Description="Open Subnet Management started as a local Windows Service"\r
+ Display="expand" ConfigurableDirectory="INSTALLDIR"\r
+ AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
+ <ComponentRef Id="OpenSM_Service_enabled" />\r
+ </Feature>\r
+\r
<Feature Id="fDAPL" Title="DAPL" Description="DAT/DAPL over InfiniBand"\r
Display="collapse" Level="1" ConfigurableDirectory="INSTALLDIR"\r
AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
<ComponentRef Id="cSRP_driver_installed" />\r
</Feature>\r
\r
- <Feature Id="fOSMS" Title="OpenSM Service Started" Level="5"\r
- Description="Open Subnet Management started as a Windows Service"\r
- Display="expand" ConfigurableDirectory="INSTALLDIR"\r
- AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
- <ComponentRef Id="OpenSM_Service_enabled" />\r
- </Feature>\r
-\r
<Feature Id="fIBsdk" Title="InfiniBand SDK" Level="2"\r
Description="InfiniBand Software Development Kit (Headers + Libs)"\r
Display="expand" ConfigurableDirectory="INSTALLDIR"\r
<CustomAction Id='WSDStart' BinaryKey='CA'\r
VBScriptCall='WSDEnable' Return='check' />\r
\r
- <CustomAction Id="OpenSM_start" BinaryKey="CA"\r
- VBScriptCall="OpenSM_StartMeUp" Return="check" />\r
-\r
<CustomAction Id="ND_start" BinaryKey="CA"\r
VBScriptCall="ND_StartMeUp" Return="check" />\r
\r
<ScheduleReboot After='ChkPreviousInstall'>\r
REBOOT="FORCE"</ScheduleReboot>\r
\r
- <Custom Action="DriverInstall" After='PatchFiles'>\r
+ <Custom Action="DriverInstall" After='InstallServices'>\r
Not Installed AND Not NODRV </Custom>\r
\r
<Custom Action="WSDStart" After='InstallFinalize'>\r
Not Installed AND Not NODRV </Custom>\r
\r
- <Custom Action="OpenSM_start" After="WSDStart">\r
- ($OpenSM_Service_enabled = 3) AND Not Installed AND Not NODRV</Custom>\r
-\r
- <Custom Action="ND_start" After="OpenSM_start">\r
+ <Custom Action="ND_start" After="WSDStart">\r
($cNetworkDirect = 3) AND Not Installed AND Not NODRV </Custom>\r
\r
<Custom Action="BcastRegChanged" After="ND_start">\r
<Condition Level="201"> IPOIB_EXISTS </Condition>\r
</Feature>\r
\r
+ <Feature Id="fOSMS" Title="OpenSM Service Started" Level="5"\r
+ Description="Open Subnet Management started as a local Windows Service"\r
+ Display="expand" ConfigurableDirectory="INSTALLDIR"\r
+ AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
+ <ComponentRef Id="OpenSM_Service_enabled" />\r
+ </Feature>\r
+\r
<Feature Id="fDAPL" Title="DAPL" Description="DAT+DAPL over InfiniBand"\r
Display="collapse" Level="1" ConfigurableDirectory="INSTALLDIR"\r
AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
<ComponentRef Id="cSRP_driver_installed" />\r
</Feature>\r
\r
- <Feature Id="fOSMS" Title="OpenSM Service Started" Level="5"\r
- Description="Open Subnet Management started as a Windows Service"\r
- Display="expand" ConfigurableDirectory="INSTALLDIR"\r
- AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
- <ComponentRef Id="OpenSM_Service_enabled" />\r
- </Feature>\r
-\r
<Feature Id="fIBsdk" Title="InfiniBand SDK" Level="2"\r
Description="InfiniBand Software Development Kit (Headers + Libs)"\r
Display="expand" ConfigurableDirectory="INSTALLDIR"\r
<CustomAction Id='WSDStart' BinaryKey='CA'\r
VBScriptCall='WSDEnable' Return='check' />\r
\r
- <CustomAction Id="OpenSM_start" BinaryKey="CA"\r
- VBScriptCall="OpenSM_StartMeUp" Return="check" />\r
- \r
<CustomAction Id="ND_start" BinaryKey="CA"\r
VBScriptCall="ND_StartMeUp" Return="check" />\r
\r
<ScheduleReboot After='ChkPreviousInstall'>\r
REBOOT="FORCE"</ScheduleReboot>\r
\r
- <Custom Action="DriverInstall" After='PatchFiles'>\r
+ <Custom Action="DriverInstall" After='InstallServices'>\r
Not Installed AND Not NODRV </Custom>\r
\r
<Custom Action="WSDStart" After='InstallFinalize'>\r
Not Installed AND Not NODRV </Custom>\r
\r
- <Custom Action="OpenSM_start" After="WSDStart">\r
- ($OpenSM_Service_enabled = 3) AND Not Installed AND Not NODRV</Custom>\r
-\r
- <Custom Action="ND_start" After="OpenSM_start">\r
+ <Custom Action="ND_start" After="WSDStart">\r
($cNetworkDirect = 3) AND Not Installed AND Not NODRV </Custom>\r
\r
<Custom Action="BcastRegChanged" After="ND_start">\r
<ComponentRef Id="cNetworkDirect" />\r
</Feature>\r
\r
+ <Feature Id="fOSMS" Title="OpenSM Service Started" Level="5"\r
+ Description="Open Subnet Management started as a local Windows Service"\r
+ Display="expand" ConfigurableDirectory="INSTALLDIR" AllowAdvertise="no"\r
+ InstallDefault="local" Absent="allow">\r
+ <ComponentRef Id="OpenSM_Service_enabled" />\r
+ </Feature>\r
+\r
<Feature Id="fDAPL" Title="DAPL" Description="DAT/DAPL over InfiniBand"\r
Display="collapse" Level="1" ConfigurableDirectory="INSTALLDIR"\r
AllowAdvertise="no" InstallDefault="local" Absent="allow">\r
<ComponentRef Id="cSRP_driver_installed" />\r
</Feature>\r
\r
- <Feature Id="fOSMS" Title="OpenSM Service Started" Level="5"\r
- Description="Open Subnet Management started as a Windows Service"\r
- Display="expand" ConfigurableDirectory="INSTALLDIR" AllowAdvertise="no"\r
- InstallDefault="local" Absent="allow">\r
- <ComponentRef Id="OpenSM_Service_enabled" />\r
- </Feature>\r
-\r
<Feature Id="fIBskd" Title="InfiniBand SDK" Level="2"\r
Description="InfiniBand Software Development Kit (Headers + Libs)"\r
Display="expand" ConfigurableDirectory="INSTALLDIR"\r
<CustomAction Id="WSDStart" BinaryKey="CA"\r
VBScriptCall="WSDEnable" Return="check" />\r
\r
- <CustomAction Id="OpenSM_start" BinaryKey="CA"\r
- VBScriptCall="OpenSM_StartMeUp" Return="check" />\r
-\r
<CustomAction Id="ND_start" BinaryKey="CA"\r
VBScriptCall="ND_StartMeUp" Return="check" />\r
\r
<ScheduleReboot After="ChkPreviousInstall">\r
REBOOT="FORCE"</ScheduleReboot>\r
\r
- <Custom Action="DriverInstall" After="PatchFiles">\r
+ <Custom Action="DriverInstall" After="InstallServices">\r
Not Installed AND Not NODRV </Custom>\r
\r
<Custom Action="WSDStart" After="InstallFinalize">\r
Not Installed AND Not NODRV </Custom>\r
\r
- <Custom Action="OpenSM_start" After="WSDStart">\r
- ($OpenSM_Service_enabled = 3) AND Not Installed AND Not NODRV</Custom>\r
-\r
- <Custom Action="ND_start" After="OpenSM_start">\r
+ <Custom Action="ND_start" After="WSDStart">\r
($cNetworkDirect = 3) AND Not Installed AND Not NODRV </Custom>\r
\r
<Custom Action="BcastRegChanged" After="ND_start">\r
<ComponentRef Id="cNetworkDirect" />\r
</Feature>\r
-->\r
+ <Feature Id="fOSMS" Title="OpenSM Service Started" Level="5"\r
+ Description="Open Subnet Management started as a local Windows Service"\r
+ Display="expand" ConfigurableDirectory="INSTALLDIR"\r
+ AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
+ <ComponentRef Id="OpenSM_Service_enabled" />\r
+ </Feature>\r
+\r
<Feature Id="fDAPL" Title="DAPL" Description="DAT/DAPL over InfiniBand"\r
Display="collapse" Level="1" ConfigurableDirectory="INSTALLDIR"\r
AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
<ComponentRef Id="cSRP_driver_installed" />\r
</Feature>\r
\r
- <Feature Id="fOSMS" Title="OpenSM Service Started" Level="5"\r
- Description="Open Subnet Management started as a Windows Service"\r
- Display="expand" ConfigurableDirectory="INSTALLDIR"\r
- AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
- <ComponentRef Id="OpenSM_Service_enabled" />\r
- </Feature>\r
-\r
<Feature Id="fIBsdk" Title="InfiniBand SDK" Level="2"\r
Description="InfiniBand Software Development Kit (Headers + Libs)"\r
Display="expand" ConfigurableDirectory="INSTALLDIR"\r
<CustomAction Id='WSDStart' BinaryKey='CA'\r
VBScriptCall='WSDEnable' Return='check' />\r
\r
- <CustomAction Id="OpenSM_start" BinaryKey="CA"\r
- VBScriptCall="OpenSM_StartMeUp" Return="check" />\r
-\r
<CustomAction Id="ND_start" BinaryKey="CA"\r
VBScriptCall="ND_StartMeUp" Return="check" />\r
\r
<ScheduleReboot After='ChkPreviousInstall'>\r
REBOOT="FORCE"</ScheduleReboot>\r
\r
- <Custom Action="DriverInstall" After='PatchFiles'>\r
+ <Custom Action="DriverInstall" After='InstallServices'>\r
Not Installed AND Not NODRV </Custom>\r
\r
<Custom Action="WSDStart" After='InstallFinalize'>\r
Not Installed AND Not NODRV </Custom>\r
\r
- <Custom Action="OpenSM_start" After="WSDStart">\r
- ($OpenSM_Service_enabled = 3) AND Not Installed AND Not NODRV</Custom>\r
-\r
- <Custom Action="ND_start" After="OpenSM_start">\r
+ <Custom Action="ND_start" After="WSDStart">\r
($cNetworkDirect = 3) AND Not Installed AND Not NODRV </Custom>\r
\r
<Custom Action="BcastRegChanged" After="ND_start">\r
<ComponentRef Id="cNetworkDirect" />\r
</Feature>\r
\r
+ <Feature Id="fOSMS" Title="OpenSM Service Started" Level="5"\r
+ Description="Open Subnet Management started as a local Windows Service"\r
+ Display="expand" ConfigurableDirectory="INSTALLDIR"\r
+ AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
+ <ComponentRef Id="OpenSM_Service_enabled" />\r
+ </Feature>\r
+\r
<Feature Id="fDAPL" Title="DAPL" Description="DAT+DAPL over InfiniBand"\r
Display="collapse" Level="1" ConfigurableDirectory="INSTALLDIR"\r
AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
<ComponentRef Id="cSRP_driver_installed" />\r
</Feature>\r
\r
- <Feature Id="fOSMS" Title="OpenSM Service Started" Level="5"\r
- Description="Open Subnet Management started as a Windows Service"\r
- Display="expand" ConfigurableDirectory="INSTALLDIR"\r
- AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
- <ComponentRef Id="OpenSM_Service_enabled" />\r
- </Feature>\r
-\r
<Feature Id="fIBsdk" Title="InfiniBand SDK" Level="2"\r
Description="InfiniBand Software Development Kit (Headers + Libs)"\r
Display="expand" ConfigurableDirectory="INSTALLDIR"\r
<CustomAction Id='WSDStart' BinaryKey='CA'\r
VBScriptCall='WSDEnable' Return='check' />\r
\r
- <CustomAction Id="OpenSM_start" BinaryKey="CA"\r
- VBScriptCall="OpenSM_StartMeUp" Return="check" />\r
- \r
<CustomAction Id="ND_start" BinaryKey="CA"\r
VBScriptCall="ND_StartMeUp" Return="check" />\r
\r
<ScheduleReboot After='ChkPreviousInstall'>\r
REBOOT="FORCE"</ScheduleReboot>\r
\r
- <Custom Action="DriverInstall" After='PatchFiles'>\r
+ <Custom Action="DriverInstall" After='InstallServices'>\r
Not Installed AND Not NODRV </Custom>\r
\r
<Custom Action="WSDStart" After='InstallFinalize'>\r
Not Installed AND Not NODRV </Custom>\r
\r
- <Custom Action="OpenSM_start" After="WSDStart">\r
- ($OpenSM_Service_enabled = 3) AND Not Installed AND Not NODRV</Custom>\r
-\r
- <Custom Action="ND_start" After="OpenSM_start">\r
+ <Custom Action="ND_start" After="WSDStart">\r
($cNetworkDirect = 3) AND Not Installed AND Not NODRV </Custom>\r
\r
<Custom Action="BcastRegChanged" After="ND_start">\r
<ComponentRef Id="cNetworkDirect" />\r
</Feature>\r
\r
+ <Feature Id="fOSMS" Title="OpenSM Service Started" Level="5"\r
+ Description="Open Subnet Management started as a local Windows Service"\r
+ Display="expand" ConfigurableDirectory="INSTALLDIR" AllowAdvertise="no"\r
+ InstallDefault="local" Absent="allow">\r
+ <ComponentRef Id="OpenSM_Service_enabled" />\r
+ </Feature>\r
+\r
<Feature Id="fDAPL" Title="DAPL" Description="DAT/DAPL over InfiniBand"\r
Display="collapse" Level="1" ConfigurableDirectory="INSTALLDIR"\r
AllowAdvertise="no" InstallDefault="local" Absent="allow">\r
<ComponentRef Id="cSRP_driver_installed" />\r
</Feature>\r
\r
- <Feature Id="fOSMS" Title="OpenSM Service Started" Level="5"\r
- Description="Open Subnet Management started as a Windows Service"\r
- Display="expand" ConfigurableDirectory="INSTALLDIR" AllowAdvertise="no"\r
- InstallDefault="local" Absent="allow">\r
- <ComponentRef Id="OpenSM_Service_enabled" />\r
- </Feature>\r
-\r
<Feature Id="fIBskd" Title="InfiniBand SDK" Level="2"\r
Description="InfiniBand Software Development Kit (Headers + Libs)"\r
Display="expand" ConfigurableDirectory="INSTALLDIR"\r
<CustomAction Id="WSDStart" BinaryKey="CA"\r
VBScriptCall="WSDEnable" Return="check" />\r
\r
- <CustomAction Id="OpenSM_start" BinaryKey="CA"\r
- VBScriptCall="OpenSM_StartMeUp" Return="check" />\r
-\r
<CustomAction Id="ND_start" BinaryKey="CA"\r
VBScriptCall="ND_StartMeUp" Return="check" />\r
\r
<ScheduleReboot After="ChkPreviousInstall">\r
REBOOT="FORCE"</ScheduleReboot>\r
\r
- <Custom Action="DriverInstall" After="PatchFiles">\r
+ <Custom Action="DriverInstall" After="InstallServices">\r
Not Installed AND Not NODRV </Custom>\r
\r
<Custom Action="WSDStart" After="InstallFinalize">\r
Not Installed AND Not NODRV </Custom>\r
\r
- <Custom Action="OpenSM_start" After="WSDStart">\r
- ($OpenSM_Service_enabled = 3) AND Not Installed AND Not NODRV</Custom>\r
-\r
- <Custom Action="ND_start" After="OpenSM_start">\r
+ <Custom Action="ND_start" After="WSDStart">\r
($cNetworkDirect = 3) AND Not Installed AND Not NODRV </Custom>\r
\r
<Custom Action="BcastRegChanged" After="ND_start">\r
<ComponentRef Id="cNetworkDirect" />\r
</Feature>\r
\r
+ <Feature Id="fOSMS" Title="OpenSM Service Started" Level="5"\r
+ Description="Open Subnet Management started as a local Windows Service"\r
+ Display="expand" ConfigurableDirectory="INSTALLDIR" AllowAdvertise="no"\r
+ InstallDefault="local" Absent="allow">\r
+ <ComponentRef Id="OpenSM_Service_enabled" />\r
+ </Feature>\r
+\r
<Feature Id="fDAPL" Title="DAPL" Description="DAT/DAPL over InfiniBand"\r
Display="collapse" Level="1" ConfigurableDirectory="INSTALLDIR"\r
AllowAdvertise="no" InstallDefault="local" Absent="allow">\r
</Feature>\r
-->\r
\r
- <Feature Id="fOSMS" Title="OpenSM Service Started" Level="5"\r
- Description="Open Subnet Management started as a Windows Service"\r
- Display="expand" ConfigurableDirectory="INSTALLDIR" AllowAdvertise="no"\r
- InstallDefault="local" Absent="allow">\r
- <ComponentRef Id="OpenSM_Service_enabled" />\r
- </Feature>\r
-\r
<Feature Id="fIBskd" Title="InfiniBand SDK" Level="2"\r
Description="InfiniBand Software Development Kit (Headers + Libs)"\r
Display="expand" ConfigurableDirectory="INSTALLDIR"\r
<CustomAction Id="WSDStart" BinaryKey="CA"\r
VBScriptCall="WSDEnable" Return="check" />\r
\r
- <CustomAction Id="OpenSM_start" BinaryKey="CA"\r
- VBScriptCall="OpenSM_StartMeUp" Return="check" />\r
-\r
<CustomAction Id="ND_start" BinaryKey="CA"\r
VBScriptCall="ND_StartMeUp" Return="check" />\r
\r
<ScheduleReboot After="ChkPreviousInstall">\r
REBOOT="FORCE"</ScheduleReboot>\r
\r
- <Custom Action="DriverInstall" After="PatchFiles">\r
+ <Custom Action="DriverInstall" After="InstallServices">\r
Not Installed AND Not NODRV </Custom>\r
\r
<Custom Action="WSDStart" After="InstallFinalize">\r
Not Installed AND Not NODRV </Custom>\r
\r
- <Custom Action="OpenSM_start" After="WSDStart">\r
- ($OpenSM_Service_enabled = 3) AND Not Installed AND Not NODRV</Custom>\r
-\r
- <Custom Action="ND_start" After="OpenSM_start">\r
+ <Custom Action="ND_start" After="WSDStart">\r
($cNetworkDirect = 3) AND Not Installed AND Not NODRV </Custom>\r
\r
<Custom Action="BcastRegChanged" After="ND_start">\r