--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<!--\r
+ WinOF 1.0 for x64 Win2K3 or XP\r
+-->\r
+<!--\r
+ # This comment is generated by WixEdit, the specific commandline\r
+ # arguments for the WiX Toolset are stored here.\r
+\r
+ candleArgs: \r
+ lightArgs: "<projectname>.wixobj" -out "<projectname>.msi" <extensions>\r
+-->\r
+<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">\r
+ <Product Name="Windows Open Fabrics Infiniband stack" Id="3A6A276E-A636-48e8-8624-9A0DE3F2A15E" Language="1033" Codepage="1252" Version="1.0.0" Manufacturer="Open Fabrics Alliance Windows">\r
+\r
+ <Package Id="????????-????-????-????-????????????" Keywords="Installer, InfiniBand" Description="WinOF Installer" Comments="Open Fabrics Alliance Windows InfiniBand stack" Manufacturer="Open Fabrics Alliance Windows" InstallerVersion="100" Languages="1033" Compressed="yes" SummaryCodepage="1252" />\r
+\r
+ <Condition Message="Administrator required to install [ProductName].">\r
+ Privileged\r
+ </Condition>\r
+\r
+ <Condition Message="[ProductName] requires that your computer is running Windows XP or Windows 2003 Server">\r
+ <![CDATA[(Not Version9X=400) And (Not Version9X=410) And\r
+ (Not Version9X=490) And (Not VersionNT=400) And (Not VersionNT=500)]]>\r
+ </Condition>\r
+\r
+ <Condition Message="This package can be installed on x64 systems only">\r
+ <![CDATA[VersionNT64]]>\r
+ </Condition>\r
+\r
+ <!-- Requires files sc.exe & reg.exe -->\r
+ <Property Id="REG_EXISTS">\r
+ <DirectorySearch Id="RegFileDir" Path="[WindowsFolder]" Depth="1">\r
+ <FileSearch Id="RegFile" Name="reg.exe" />\r
+ </DirectorySearch>\r
+ </Property>\r
+\r
+ <Property Id="SC_EXISTS">\r
+ <DirectorySearch Id="ScFileDir" Path="[WindowsFolder]" Depth="1">\r
+ <FileSearch Id="ScFile" Name="sc.exe" />\r
+ </DirectorySearch>\r
+ </Property>\r
+\r
+ <Property Id="IPOIB_EXISTS">\r
+ <DirectorySearch Id="ipoibFileDir" Path="[INSTALLDIR]\net" Depth="0">\r
+ <FileSearch Id="ipoibFile" Name="netipoib.inf" />\r
+ </DirectorySearch>\r
+ </Property>\r
+\r
+ <Condition Message="[ProductName] requires system file reg.exe">\r
+ REG_EXISTS\r
+ </Condition>\r
+\r
+ <Condition Message="[ProductName] requires system file sc.exe">\r
+ SC_EXISTS\r
+ </Condition>\r
+\r
+ <Media Id="1" Cabinet="Sample.cab" EmbedCab="yes" DiskPrompt="CD-ROM #1" />\r
+ <Property Id="DiskPrompt" Value="WinOF 1.0 Installation [1]" />\r
+\r
+ <Directory Id="TARGETDIR" Name="SourceDir">\r
+ <Directory Id="ProgramFilesFolder" Name="PFiles">\r
+ <Directory Id="INSTALLDIR" Name="WinOF">\r
+ <Component Id="Docs" Guid="931C58EF-3759-4cf4-89CC-276C017305BB">\r
+\r
+ <File Id="OFAlogo" Compressed="yes" DiskId="1"\r
+ LongName="openfabrics.gif" Name="ofa.gif"\r
+ Source="..\openfabrics.gif" />\r
+\r
+ <File Id="manual.htm" Compressed="yes" DiskId="1" Name="Manual.htm"\r
+ LongName="Manual.htm" Source="..\Manual.htm" Vital="yes" />\r
+\r
+ <Shortcut Id="Manual.htm" Directory="ProgramMenuDir"\r
+ Name="Manual.htm" LongName="Manual"\r
+ Target="[INSTALLDIR]\Manual.htm" Show="normal"\r
+ WorkingDirectory="INSTALLDIR" Icon="openfabrics"\r
+ IconIndex="0" />\r
+\r
+ <File Id="dRelnotes" Compressed="yes" DiskId="1"\r
+ LongName="Release_notes.htm" Name="RELEASE_.HTM"\r
+ Source="..\Release_notes.htm" />\r
+\r
+ <Shortcut Id="RelNotes" Directory="ProgramMenuDir" Name="RelNotes"\r
+ LongName="Release Notes"\r
+ Target="[INSTALLDIR]\Release_notes.htm" Show="normal"\r
+ WorkingDirectory="INSTALLDIR" Icon="openfabrics"\r
+ IconIndex="0" />\r
+\r
+ <File Id="command_window" Name="COMMAND.LNK"\r
+ LongName="Command Window.lnk" Compressed="yes" DiskId="1"\r
+ Source="Command Window.lnk" Vital="yes" />\r
+\r
+ <Shortcut Id="Command_Window.lnk" Directory="ProgramMenuDir"\r
+ Name="COMMAND.LNK" LongName="Command Window.lnk"\r
+ Target="[INSTALLDIR]\Command Window.lnk" Icon="openfabrics"\r
+ IconIndex="0" Show="normal" WorkingDirectory="INSTALLDIR" />\r
+\r
+ <Shortcut Id="UninstallProduct" Name="UnMyApp"\r
+ LongName="Uninstall WinOF"\r
+ Target="[System64Folder]msiexec.exe"\r
+ Arguments="/X [ProductCode]"\r
+ Directory="ProgramMenuDir"\r
+ Description="Uninstalls OpenFabrics InfiniBand stack" />\r
+ <RemoveFolder Id="RemoveShorcutFolder" On="uninstall" />\r
+ </Component>\r
+\r
+ <Component Id="Tools" Guid="1B89230E-5D8D-41a5-BD1F-A3E308FEE026">\r
+ <File Id="vstat" Name="vstat.exe" Compressed="yes" DiskId="1"\r
+ Source="..\bin\tools\amd64\release\vstat.exe" Vital="yes" />\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="cmtest.exe" LongName="cmtest.exe" Compressed="yes"\r
+ DiskId="1" Name="CMTEST.EXE"\r
+ Source="..\bin\tools\amd64\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\amd64\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\amd64\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\amd64\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\amd64\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\amd64\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\amd64\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\amd64\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\amd64\release\ibtrapgen.exe" />\r
+ <File Id="opensm.exe" Compressed="yes" DiskId="1"\r
+ LongName="opensm.exe" Name="OPENSM.EXE"\r
+ Source="..\bin\tools\amd64\release\opensm.exe" />\r
+ <File Id="osmtest.exe" Compressed="yes" DiskId="1"\r
+ LongName="osmtest.exe" Name="OSMTEST.EXE"\r
+ Source="..\bin\tools\amd64\release\osmtest.exe" />\r
+ <File Id="PrintIP.exe" Compressed="yes" DiskId="1"\r
+ LongName="PrintIP.exe" Name="PRINTIP.EXE"\r
+ Source="..\bin\tools\amd64\release\PrintIP.exe" />\r
+ </Component>\r
+ <Directory Id="hcaDir" Name="IBcore">\r
+ <Component Id="HcaDriver" Guid="4B4EA649-65ED-4B0D-8717-D60481412211">\r
+ <CreateFolder />\r
+ <File Id="devman.exe" Compressed="yes" DiskId="1"\r
+ LongName="devman.exe" Name="devman.exe"\r
+ Source="devman.exe" />\r
+ <File Id="cl32.dll" Compressed="yes" DiskId="1"\r
+ LongName="cl32.dll" Name="CL32.DLL"\r
+ Source="..\bin\HCA\amd64\cl32.dll" />\r
+ <CopyFile Id="dup_cl32" FileId="cl32.dll"\r
+ DestinationName="complib.dll"\r
+ DestinationProperty="SystemFolder" />\r
+ <File Id="cl32d.dll" Compressed="yes" DiskId="1"\r
+ LongName="cl32d.dll" Name="CL32D.DLL"\r
+ Source="..\bin\HCA\amd64\cl32d.dll" />\r
+ <CopyFile Id="dup_cl32d" FileId="cl32d.dll"\r
+ DestinationName="complibd.dll"\r
+ DestinationProperty="SystemFolder" />\r
+ <File Id="complib.dll" Compressed="yes" DiskId="1"\r
+ LongName="complib.dll" Name="COMPLIB.DLL"\r
+ Source="..\bin\HCA\amd64\complib.dll" />\r
+ <File Id="complibd.dll" Compressed="yes" DiskId="1"\r
+ LongName="complibd.dll" Name="COMPLIB1.DLL"\r
+ Source="..\bin\HCA\amd64\complibd.dll" />\r
+ <File Id="ib_bus.inf" Compressed="yes" DiskId="1"\r
+ LongName="ib_bus.inf" Name="IB_BUS.INF"\r
+ Source="..\bin\HCA\amd64\ib_bus.inf" />\r
+ <File Id="ibal32.dll" Compressed="yes" DiskId="1"\r
+ LongName="ibal32.dll" Name="IBAL32.DLL"\r
+ Source="..\bin\HCA\amd64\ibal32.dll" />\r
+ <CopyFile Id="dup_ibal32" FileId="ibal32.dll"\r
+ DestinationName="ibal.dll"\r
+ DestinationProperty="SystemFolder" />\r
+ <File Id="ibal32d.dll" Compressed="yes" DiskId="1"\r
+ LongName="ibal32d.dll" Name="IBAL32D.DLL"\r
+ Source="..\bin\HCA\amd64\ibal32d.dll" />\r
+ <CopyFile Id="dup_ibal32d" FileId="ibal32d.dll"\r
+ DestinationName="ibald.dll"\r
+ DestinationProperty="SystemFolder" />\r
+ <File Id="ibal.dll" Compressed="yes" DiskId="1"\r
+ LongName="ibal.dll" Name="IBAL.DLL"\r
+ Source="..\bin\HCA\amd64\ibal.dll" />\r
+ <File Id="ibald.dll" Compressed="yes" DiskId="1"\r
+ LongName="ibald.dll" Name="IBALD.DLL"\r
+ Source="..\bin\HCA\amd64\ibald.dll" />\r
+ <File Id="ibbus.sys" Compressed="yes" DiskId="1"\r
+ LongName="ibbus.sys" Name="IBBUS.SYS"\r
+ Source="..\bin\HCA\amd64\ibbus.sys" />\r
+ <File Id="IbInstaller.dll" Compressed="yes" DiskId="1"\r
+ LongName="IbInstaller.dll" Name="IBINSTA.DLL"\r
+ Source="..\bin\HCA\amd64\IbInstaller.dll" />\r
+ <File Id="ibiou.sys" Compressed="yes" DiskId="1"\r
+ LongName="ibiou.sys" Name="IBIOU.SYS"\r
+ Source="..\bin\HCA\amd64\ibiou.sys" />\r
+ <File Id="mthca32.dll" Compressed="yes" DiskId="1"\r
+ LongName="mthca32.dll" Name="MTHCA32.DLL"\r
+ Source="..\bin\HCA\amd64\mthca32.dll" />\r
+ <File Id="mthca32d.dll" Compressed="yes" DiskId="1"\r
+ LongName="mthca32d.dll" Name="MTHCA321.DLL"\r
+ Source="..\bin\HCA\amd64\mthca32d.dll" />\r
+ <File Id="mthca.inf" Compressed="yes" DiskId="1"\r
+ LongName="mthca.inf" Name="MTHCA.INF"\r
+ Source="..\bin\HCA\amd64\mthca.inf" />\r
+ <File Id="mthca.sys" Compressed="yes" DiskId="1"\r
+ LongName="mthca.sys" Name="MTHCA.SYS"\r
+ Source="..\bin\HCA\amd64\mthca.sys" />\r
+ <File Id="mthcau.dll" Compressed="yes" DiskId="1"\r
+ LongName="mthcau.dll" Name="MTHCAU.DLL"\r
+ Source="..\bin\HCA\amd64\mthcau.dll" />\r
+ <File Id="mthcaud.dll" Compressed="yes" DiskId="1"\r
+ LongName="mthcaud.dll" Name="MTHCAUD.DLL"\r
+ Source="..\bin\HCA\amd64\mthcaud.dll" />\r
+ <File Id="mtuvp32.dll" Compressed="yes" DiskId="1"\r
+ LongName="mtuvp32.dll" Name="MTUVP321.DLL"\r
+ Source="..\bin\HCA\amd64\mtuvp32.dll" />\r
+ <CopyFile Id="dup_mtuvp32" FileId="mtuvp32.dll"\r
+ DestinationName="mthcau.dll"\r
+ DestinationProperty="SystemFolder" />\r
+ <File Id="mtuvp32d.dll" Compressed="yes" DiskId="1"\r
+ LongName="mtuvp32d.dll" Name="MTUVP32.DLL"\r
+ Source="..\bin\HCA\amd64\mtuvp32d.dll" />\r
+ <CopyFile Id="dup_mtuvp32d" FileId="mtuvp32d.dll"\r
+ DestinationName="mthcaud.dll"\r
+ DestinationProperty="SystemFolder" />\r
+ </Component>\r
+ </Directory>\r
+ <Directory Id="ipoibDir" Name="net">\r
+ <Component Id="IPoIB" Guid="18CC13CC-0D29-4B88-8F03-854CE0C6AF94">\r
+ <CreateFolder />\r
+ <File Id="netipoib_inf" Compressed="yes" DiskId="1"\r
+ LongName="netipoib.inf" Name="NETIPOI.INF"\r
+ Source="..\bin\net\amd64\netipoib.inf" />\r
+ <File Id="ibwsd32.dll" Compressed="yes" DiskId="1"\r
+ LongName="ibwsd32.dll" Name="IBWSD32.DLL"\r
+ Source="..\bin\net\amd64\ibwsd32.dll" />\r
+ <CopyFile Id="dup_ibwsd32" FileId="ibwsd32.dll"\r
+ DestinationName="ibwsd.dll"\r
+ DestinationProperty="SystemFolder" />\r
+ <File Id="ibwsd.dll" Compressed="yes" DiskId="1"\r
+ LongName="ibwsd.dll" Name="IBWSD.DLL"\r
+ Source="..\bin\net\amd64\ibwsd.dll" />\r
+ <File Id="ipoib.sys" Compressed="yes" DiskId="1"\r
+ LongName="ipoib.sys" Name="IPOIB.SYS"\r
+ Source="..\bin\net\amd64\ipoib.sys" />\r
+ </Component>\r
+ </Directory>\r
+\r
+ <Component Id="WinsockDirect"\r
+ Guid="516A61B4-EBC2-41CE-8D18-81BADA4649D4">\r
+ <File Id="installsp.exe" Compressed="yes" DiskId="1"\r
+ LongName="installsp.exe" Name="INSTALL.EXE"\r
+ Source="..\bin\tools\amd64\release\installsp.exe" />\r
+ </Component>\r
+\r
+ <Component Id="cDAPL" Guid="A49F1ECC-14E4-4310-9F37-BEB7B00243A9">\r
+ <File Id="dapl32.dll" Compressed="yes" DiskId="1"\r
+ LongName="dapl32.dll" Name="DAPL32.DLL"\r
+ Source="..\bin\DAPL\amd64\dapl32.dll" />\r
+ <File Id="dapl32d.dll" Compressed="yes" DiskId="1"\r
+ LongName="dapl32d.dll" Name="DAPL32D.DLL"\r
+ Source="..\bin\DAPL\amd64\dapl32d.dll" />\r
+ <File Id="dapl.dll" Compressed="yes" DiskId="1"\r
+ LongName="dapl.dll" Name="DAPL.DLL"\r
+ Source="..\bin\DAPL\amd64\dapl.dll" />\r
+ <CopyFile Id="dupDAPL" FileId="dapl.dll"\r
+ DestinationName="dapl.dll"\r
+ DestinationProperty="WindowsFolder" />\r
+ <File Id="dapld.dll" Compressed="yes" DiskId="1"\r
+ LongName="dapld.dll" Name="DAPLD.DLL"\r
+ Source="..\bin\DAPL\amd64\dapld.dll" />\r
+ <File Id="dat32.dll" Compressed="yes" DiskId="1"\r
+ LongName="dat32.dll" Name="DAT32.DLL"\r
+ Source="..\bin\DAPL\amd64\dat32.dll" />\r
+ <File Id="dat32d.dll" Compressed="yes" DiskId="1"\r
+ LongName="dat32d.dll" Name="DAT32D.DLL"\r
+ Source="..\bin\DAPL\amd64\dat32d.dll" />\r
+ <File Id="dat.dll" Compressed="yes" DiskId="1"\r
+ LongName="dat.dll" Name="DAT.DLL"\r
+ Source="..\bin\DAPL\amd64\dat.dll" />\r
+ <CopyFile Id="dupDAT" FileId="dat.dll"\r
+ DestinationName="dat.dll"\r
+ DestinationProperty="WindowsFolder" />\r
+ <File Id="datd.dll" Compressed="yes" DiskId="1"\r
+ LongName="datd.dll" Name="DATD.DLL"\r
+ Source="..\bin\DAPL\amd64\datd.dll" />\r
+ </Component>\r
+\r
+ <Directory Id="vnicDir" Name="VNIC">\r
+ <Component Id="cVNIC" Guid="2AE69B67-C5FD-4CEE-9DF4-FB0A55619B4A">\r
+ <CreateFolder />\r
+ <File Id="vnic.sys" Compressed="yes" DiskId="1"\r
+ LongName="vnic.sys" Name="VNIC.SYS"\r
+ Source="..\bin\net\amd64\vnic.sys" />\r
+ <File Id="netvnic.inf" Compressed="yes" DiskId="1"\r
+ LongName="netvnic.inf" Name="NETVNIC.INF"\r
+ Source="..\bin\net\amd64\netvnic.inf" />\r
+ </Component>\r
+ </Directory>\r
+ <Directory Id="srpDir" Name="SRP">\r
+ <Component Id="SRP_inf" Guid="BB58772F-061F-48B0-B6D5-0C0E38A301B2">\r
+ <File Id="ib_srp.inf" Compressed="yes" DiskId="1"\r
+ LongName="ib_srp.inf" Name="IB_SRP.INF"\r
+ Source="..\bin\storage\ib_srp.inf" />\r
+ </Component>\r
+ <Directory Id="amd64Dir" Name="amd64">\r
+ <Component Id="SRP_driver" Guid="1E14526C-9C7F-450A-B73F-E8D9966BAF43">\r
+ <File Id="ibsrp.sys" Compressed="yes" DiskId="1"\r
+ LongName="ibsrp.sys" Name="IBSRP.SYS"\r
+ Source="..\bin\storage\amd64\ibsrp.sys" />\r
+ </Component>\r
+ </Directory>\r
+ </Directory>\r
+ <Component Id="OpenSM_Service_enabled"\r
+ Guid="3A148CF8-129D-4AE0-A769-5FC0E0828B5E">\r
+ <File Id="opensm.txt" Compressed="yes" DiskId="1"\r
+ LongName="opensm.service.txt" Name="OPENSM.TXT"\r
+ Source="..\opensm.service.txt" />\r
+ </Component>\r
+ </Directory>\r
+ </Directory>\r
+ <Directory Id="ProgramMenuFolder" Name="PMenu" LongName="Programs">\r
+ <Directory Id="ProgramMenuDir" Name="WinOF" />\r
+ </Directory>\r
+ <Directory Id="DesktopFolder" Name="Desktop" />\r
+ </Directory>\r
+\r
+ <Property Id='ARPNOMODIFY'>1</Property>\r
+ <Property Id='ARPNOREPAIR'>1</Property>\r
+ <Property Id='ARPCOMMENTS'>OpenFabrics Windows InfiniBand stack</Property>\r
+ <Property Id='ARPCONTACT'>Openfabrics Alliance [www.openfabrics.org]</Property>\r
+ <Property Id='ARPHELPLINK'>https://wiki.openfabrics.org/tiki-index.php?page=openIB+Windows</Property>\r
+ <Property Id='ARPURLINFOABOUT'>URL for general info about the product</Property>\r
+ <Property Id='ARPURLUPDATEINFO'>URL for product updates</Property>\r
+ <Property Id='ARPHELPTELEPHONE'>https://wiki.openfabrics.org/tiki-index.php?page=openIB+Windows</Property>\r
+ <Property Id='ARPREADME'>Path='[INSTALLDIR]\Release_notes.htm'</Property>\r
+\r
+\r
+ <!--\r
+ Features - Level=1 == Typical, no WSD on XP\r
+ -->\r
+ <Feature Id="IBcore" Title="InfiniBand Core" Level="1"\r
+ Description="InfiniBand: Core, Tools, Docs"\r
+ Display="expand" ConfigurableDirectory="INSTALLDIR"\r
+ AllowAdvertise='no' InstallDefault='local' Absent='disallow'>\r
+ <ComponentRef Id="Docs" />\r
+ <ComponentRef Id="Tools" />\r
+ <ComponentRef Id="HcaDriver" />\r
+ </Feature>\r
+\r
+ <Feature Id="fIPoIB" Title="IPoIB" Level="1"\r
+ Description="Internet Protocols over InfiniBand" Display="expand"\r
+ ConfigurableDirectory="INSTALLDIR"\r
+ AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
+ <ComponentRef Id="IPoIB" />\r
+ </Feature>\r
+\r
+ <Feature Id="fWSD" Title="WSD" Description="Winsock Direct Enabled"\r
+ Display="expand" Level="1" ConfigurableDirectory="INSTALLDIR"\r
+ AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
+ <!-- skip WSD on Windows XP, IPoIB is required for WSD. -->\r
+ <Condition Level="200"><![CDATA[VersionNT=501]]></Condition>\r
+ <Condition Level="201"> IPOIB_EXISTS </Condition>\r
+ <ComponentRef Id="WinsockDirect" />\r
+ </Feature>\r
+\r
+ <Feature Id="fDAPL" Title="DAPL" Description="DAT/DAPL over InfiniBand"\r
+ Display="expand" Level="1" ConfigurableDirectory="INSTALLDIR"\r
+ AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
+ <Condition Level="201"> IPOIB_EXISTS </Condition>\r
+ <ComponentRef Id="cDAPL" />\r
+ </Feature>\r
+\r
+ <Feature Id="fVNIC" Title="VNIC" Description="Virtual NIC over InfiniBand"\r
+ Display="expand" Level="5" ConfigurableDirectory="INSTALLDIR"\r
+ AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
+ <ComponentRef Id="cVNIC" />\r
+ </Feature>\r
+\r
+ <Feature Id="fSRP" Title="SRP" Level="5" Description="SCSI over RDMA"\r
+ Display="expand" ConfigurableDirectory="INSTALLDIR"\r
+ AllowAdvertise='no' InstallDefault='local' Absent='allow'>\r
+ <ComponentRef Id="SRP_inf" />\r
+ <ComponentRef Id="SRP_driver" />\r
+ </Feature>\r
+\r
+ <Feature Id="fOSMS" Title="OpenSM Service Enabled" 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
+ <!--> File where Custom Actions are defined -->\r
+ <Binary Id='CA' src='..\CustomActions.vbs' />\r
+\r
+ <CustomAction Id='WinOF_setup' BinaryKey='CA'\r
+ VBScriptCall='WinOF_setup' Return='check' />\r
+\r
+ <CustomAction Id='ChkPreviousInstall' BinaryKey='CA'\r
+ VBScriptCall='ChkInstallAndReboot' Return='check' />\r
+\r
+ <CustomAction Id='DriverInstall' BinaryKey='CA'\r
+ VBScriptCall='DriverInstall' Return='check' Execute='deferred' />\r
+\r
+ <CustomAction Id='DriverUninstall' BinaryKey='CA'\r
+ VBScriptCall='DriverUninstall' Return='check' />\r
+\r
+ <CustomAction Id='WSD_start' BinaryKey='CA'\r
+ VBScriptCall='WSDEnable' Return='check' />\r
+\r
+ <CustomAction Id='OpenSM_start' BinaryKey='CA'\r
+ VBScriptCall='OpenSMServiceEvent' Return='check' />\r
+\r
+ <CustomAction Id='HammerTime' BinaryKey='CA'\r
+ VBScriptCall='HammerTime' Return='check' />\r
+\r
+ <CustomAction Id='test' BinaryKey='CA'\r
+ VBScriptCall='Hello' Return='check' />\r
+\r
+ <InstallExecuteSequence>\r
+ <!--> Always executed (Install or uninstall </!-->\r
+ <Custom Action="WinOF_setup" After='InstallInitialize' />\r
+\r
+ <!--> Install ONLY </!-->\r
+ <Custom Action="ChkPreviousInstall" After='WinOF_setup'>\r
+ NOT Installed</Custom>\r
+ <ScheduleReboot After='ChkPreviousInstall'>\r
+ REBOOT="FORCE"</ScheduleReboot>\r
+ <Custom Action="DriverInstall" After='PatchFiles'>\r
+ Not Installed</Custom>\r
+ <Custom Action="WSD_start" After='InstallFinalize'>\r
+ Not Installed</Custom>\r
+ <Custom Action="OpenSM_start" After='WSD_start'>\r
+ Not Installed</Custom>\r
+\r
+ <!--> REMOVE ONLY </!-->\r
+ <Custom Action="DriverUninstall" After='PublishProduct'>\r
+ REMOVE="ALL" </Custom>\r
+ <Custom Action="HammerTime" After='InstallFinalize'>REMOVE="ALL"</Custom>\r
+ </InstallExecuteSequence>\r
+\r
+\r
+ <UIRef Id="WixUI_Mondo" />\r
+ <UIRef Id="WixUI_ErrorProgressText" />\r
+ <Icon Id="openfabrics" SourceFile="..\openfabrics.ico" />\r
+ <UI />\r
+\r
+ </Product>\r
+</Wix>\r