зеркало из https://github.com/microsoft/msphpsql.git
distinguish x64 and x86
This commit is contained in:
Родитель
1b7d131cb6
Коммит
c2edfe32d6
|
@ -116,7 +116,12 @@ install:
|
|||
#- 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', 'c:\projects\msodbcsql.msi')
|
||||
- ps: >-
|
||||
If ($env:BUILD_PLATFORM -Match "x64") {
|
||||
(new-object net.webclient).DownloadFile('https://download.microsoft.com/download/D/5/E/D5EEF288-A277-45C8-855B-8E2CB7E25B96/x64/msodbcsql.msi', 'c:\projects\msodbcsql.msi')
|
||||
} Else {
|
||||
(new-object net.webclient).DownloadFile('https://download.microsoft.com/download/D/5/E/D5EEF288-A277-45C8-855B-8E2CB7E25B96/x86/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 "c:\projects\msodbcsql.msi" /q
|
||||
|
|
Загрузка…
Ссылка в новой задаче