hardcoded msiPath
This commit is contained in:
parent
a50b8dc1d8
commit
1b7d131cb6
|
@ -115,13 +115,13 @@ install:
|
|||
#- echo Downloading PHP deps [%PHP_DEPSVER%]
|
||||
#- ps: (new-object net.webclient).DownloadFile('http://windows.php.net/downloads/php-sdk/deps-' + ${env:PHP_DEPSVER} + '-vc' + ${env:PHP_VC} + '-' + ${env:BUILD_PLATFORM} + '.7z', ${env:APPVEYOR_BUILD_FOLDER} + '\..\deps.7z')
|
||||
- echo Downloading MSODBCSQL 13.1
|
||||
- ps: $msiPath = "$($env:USERPROFILE)\msodbcsql.msi"
|
||||
- ps: (new-object net.webclient).DownloadFile('https://download.microsoft.com/download/D/5/E/D5EEF288-A277-45C8-855B-8E2CB7E25B96/' + ${env:BUILD_PLATFORM} + '/msodbcsql.msi', $msiPath)
|
||||
#- ps: $msiPath = "$($env:USERPROFILE)\msodbcsql.msi"
|
||||
- ps: (new-object net.webclient).DownloadFile('https://download.microsoft.com/download/D/5/E/D5EEF288-A277-45C8-855B-8E2CB7E25B96/' + ${env:BUILD_PLATFORM} + '/msodbcsql.msi', 'c:\projects\msodbcsql.msi')
|
||||
#- ps: msiexec /i msodbcsql.msi /quiet /qn /norestart
|
||||
#- ps: msiexec /i msodbcsql.msi /quiet /norestart /l install.log
|
||||
- cmd /c start /wait msiexec /i "$msiPath" /q
|
||||
- cmd /c start /wait msiexec /i "c:\projects\msodbcsql.msi" /q
|
||||
- echo Checking the version of MSODBCSQL
|
||||
#- reg query "HKLM\SOFTWARE\ODBC\odbcinst.ini\ODBC Driver 13 for SQL Server"
|
||||
- reg query "HKLM\SOFTWARE\ODBC\odbcinst.ini\ODBC Driver 13 for SQL Server"
|
||||
- dir C:\Windows\System32\msodbcsql13.dll
|
||||
- cd ..
|
||||
- cd
|
||||
|
|
Loading…
Reference in a new issue