This commit is contained in:
yitam 2017-05-09 11:55:02 -07:00
Родитель 1b7d131cb6
Коммит c2edfe32d6
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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') #- 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 - echo Downloading MSODBCSQL 13.1
#- ps: $msiPath = "$($env:USERPROFILE)\msodbcsql.msi" #- 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 /qn /norestart
#- ps: msiexec /i msodbcsql.msi /quiet /norestart /l install.log #- ps: msiexec /i msodbcsql.msi /quiet /norestart /l install.log
- cmd /c start /wait msiexec /i "c:\projects\msodbcsql.msi" /q - cmd /c start /wait msiexec /i "c:\projects\msodbcsql.msi" /q