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 …')
(No difference)

Revision as of 02:29, 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\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\0B739D9D248E031459889B848E6709A4\InstallProperties\" />

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

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