Difference between revisions of "IBM Informix Connect"
From WPKG | Open Source Software Deployment and Distribution
Line 9: | Line 9: | ||
reboot="false" | reboot="false" | ||
priority="0" > | priority="0" > | ||
− | + | ||
<check type="uninstall" condition="exists" path="IBM Informix-Connect" /> | <check type="uninstall" condition="exists" path="IBM Informix-Connect" /> | ||
− | + | ||
<install cmd='msiexec /q /i "%SOFTWARE%\WPKG\ICONN.2.81.TC2\IBM Informix-Connect.msi" allusers=1' /> | <install cmd='msiexec /q /i "%SOFTWARE%\WPKG\ICONN.2.81.TC2\IBM Informix-Connect.msi" allusers=1' /> | ||
<upgrade cmd='msiexec /q /i "%SOFTWARE%\WPKG\ICONN.2.81.TC2\IBM Informix-Connect.msi" allusers=1' /> | <upgrade cmd='msiexec /q /i "%SOFTWARE%\WPKG\ICONN.2.81.TC2\IBM Informix-Connect.msi" allusers=1' /> | ||
Line 25: | Line 25: | ||
execute="once"> | execute="once"> | ||
<depends package-id="informix-connect"/> | <depends package-id="informix-connect"/> | ||
− | + | ||
<install cmd='%WPKGROOT%\packages\informix-connect.bat' /> | <install cmd='%WPKGROOT%\packages\informix-connect.bat' /> | ||
<upgrade cmd='%ProgramFiles%\Informix\Connect\bin\setnet32 -l %WPKGROOT%\packages\informix-connect.nfx' /> | <upgrade cmd='%ProgramFiles%\Informix\Connect\bin\setnet32 -l %WPKGROOT%\packages\informix-connect.nfx' /> |
Revision as of 10:06, 6 December 2006
IBM Informix Connect is a connection tool (ODBC, ...) to the Informix SQL database, now owned by IBM (so the brand).
I install it with the following xml package description:
<package id="informix-connect" name="IBM Informix-Connect" revision="2812" reboot="false" priority="0" > <check type="uninstall" condition="exists" path="IBM Informix-Connect" /> <install cmd='msiexec /q /i "%SOFTWARE%\WPKG\ICONN.2.81.TC2\IBM Informix-Connect.msi" allusers=1' /> <upgrade cmd='msiexec /q /i "%SOFTWARE%\WPKG\ICONN.2.81.TC2\IBM Informix-Connect.msi" allusers=1' /> <remove cmd='msiexec /q /x{4433F7BA-CEFD-11D6-B57A-00B0D07B9190}' /> </package> <package id="informix-connect-settings" name="IBM Informix-Connect settings" revision="1" priority="5" reboot="false" execute="once"> <depends package-id="informix-connect"/> <install cmd='%WPKGROOT%\packages\informix-connect.bat' /> <upgrade cmd='%ProgramFiles%\Informix\Connect\bin\setnet32 -l %WPKGROOT%\packages\informix-connect.nfx' /> <remove cmd='echo "nothing"' /> </package>
where informix-connect.bat are:
:: Setup client :: %ProgramFiles%\Informix\Connect\bin\setnet32 -l %WPKGROOT%\packages\informix-connect.nfx :: Add the service :: if not exist %WINDIR%\system32\drivers\etc\services.ifx ( copy %WINDIR%\system32\drivers\etc\services %WINDIR%\system32\drivers\etc\services.ifx echo sqlexec 1525/tcp # Informix's SQLExec >> %WINDIR%\system32\drivers\etc\services )
and informix-connect.nfx is a 'settings file' saved by the setnet32 utility.