Difference between revisions of "IBM Informix Connect"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
 
Line 1: Line 1:
 +
This is a silent installer for IBM Informix Connect.
 +
 
IBM Informix Connect is a connection tool (ODBC, ...) to the Informix SQL database, now owned by IBM (so the brand).
 
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:
 
I install it with the following xml package description:
  
<package
+
<source lang="xml">
 +
<package
 
         id="informix-connect"
 
         id="informix-connect"
 
         name="IBM Informix-Connect"
 
         name="IBM Informix-Connect"
Line 15: Line 18:
 
         <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' />
 
         <remove cmd='msiexec /q /x{4433F7BA-CEFD-11D6-B57A-00B0D07B9190}' />
 
         <remove cmd='msiexec /q /x{4433F7BA-CEFD-11D6-B57A-00B0D07B9190}' />
</package>
+
</package>
 
   
 
   
<package
+
<package
 
         id="informix-connect-settings"
 
         id="informix-connect-settings"
 
         name="IBM Informix-Connect settings"
 
         name="IBM Informix-Connect settings"
Line 29: Line 32:
 
         <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'  />
 
         <remove cmd='echo "nothing"' />
 
         <remove cmd='echo "nothing"' />
</package>
+
</package>
 +
</source>
  
 
where informix-connect.bat are:
 
where informix-connect.bat are:
  
 +
<source lang="dos">
 
  :: Setup client
 
  :: Setup client
 
  ::
 
  ::
Line 43: Line 48:
 
         echo sqlexec        1525/tcp                        # Informix's SQLExec >> %WINDIR%\system32\drivers\etc\services
 
         echo sqlexec        1525/tcp                        # Informix's SQLExec >> %WINDIR%\system32\drivers\etc\services
 
  )
 
  )
 +
</source>
  
 
and informix-connect.nfx is a 'settings file' saved by the setnet32 utility.
 
and informix-connect.nfx is a 'settings file' saved by the setnet32 utility.
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Latest revision as of 22:54, 15 February 2008

This is a silent installer for IBM Informix Connect.

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.