Difference between revisions of "SQL Server 2008 ODBC Driver"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Created page with '<pre> <package id="SQL_SERVER_NATIVECLIENT_10.0" name="SQL Server Native Client for SQL Server 2008" revision="1" reboot="false"> <variable …')
 
m
Line 1: Line 1:
<pre>
+
<source lang="xml">
 
<package id="SQL_SERVER_NATIVECLIENT_10.0"
 
<package id="SQL_SERVER_NATIVECLIENT_10.0"
 
           name="SQL Server Native Client for SQL Server 2008"
 
           name="SQL Server Native Client for SQL Server 2008"
Line 16: Line 16:
 
      
 
      
 
   </package>
 
   </package>
</pre>
+
</source>

Revision as of 06:01, 18 October 2010

<package id="SQL_SERVER_NATIVECLIENT_10.0"
           name="SQL Server Native Client for SQL Server 2008"
           revision="1"
           reboot="false">

    <variable name="LOCALDOWNLOADS" value="C:\downloads\provisioning" />
    
    <check type="file" condition="exists" path="%SYSTEMROOT%\system32\sqlncli10.dll" />
    <check type="registry" condition="exists" path="HKEY_LOCAL_MACHINE&#92;SOFTWARE&#92;Microsoft&#92;Windows&#92;CurrentVersion&#92;Installer&#92;UserData&#92;S-1-5-18&#92;Products&#92;0B739D9D248E031459889B848E6709A4&#92;InstallProperties&#92;" />

    <install cmd="xcopy /Y &quot;\\enterprise\tools\MSDN\SQL Server 2008\SQL Server 2008 Native Client\sqlncli.msi&quot; &quot;%LOCALDOWNLOADS%\&quot;" />
    <install cmd="msiexec /q IACCEPTSQLNCLILICENSETERMS=YES /i &quot;%LOCALDOWNLOADS%\sqlncli.msi&quot;" />

    <remove cmd="MsiExec.exe /q /X{D9D937B0-E842-4130-9588-B948E876904A}" />
    
  </package>