This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write-Host "Installing Silverlight 64-bit" | |
$exePath = "$($env:USERPROFILE)\Silverlight_x64.exe" | |
(New-Object Net.WebClient).DownloadFile('https://go.microsoft.com/fwlink/?LinkID=229321', $exePath) | |
cmd /c start /wait $exePath /q /doNotRequireDRMPrompt /noupdate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$gemPath = "$($env:USERPROFILE)\bundler-1.10.6.gem" | |
(New-Object Net.WebClient).DownloadFile('https://rubygems.org/downloads/bundler-1.10.6.gem', $gemPath) | |
cmd /c gem install --local "$gemPath" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$apiUrl = 'https://ci.appveyor.com/api' | |
$token = '<your-api-token>' | |
$headers = @{ | |
"Authorization" = "Bearer $token" | |
"Content-type" = "application/json" | |
} | |
$accountName = '<your-account-name>' | |
$projectSlug = '<your-project-slug>' | |
$downloadLocation = 'C:\projects' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$startPath = "$($env:appveyor_build_folder)\path-to-your-bin" | |
$sqlInstance = "(local)\SQL2012SP1" | |
$dbName = "MyDatabase" | |
# replace the db connection with the local instance | |
$config = join-path $startPath "MyTests.dll.config" | |
$doc = (gc $config) -as [xml] | |
$doc.SelectSingleNode('//connectionStrings/add[@name="store"]').connectionString = "Server=$sqlInstance; Database=$dbName; Trusted_connection=true" | |
$doc.Save($config) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$exePath = "$($env:USERPROFILE)\TypeScript_15beta_Dev12.exe" | |
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/107f89a0-a542-4264-b0a9-eb91037cf7af/file/160654/1/TypeScript_15beta_Dev12.exe', $exePath) | |
cmd /c start /wait $exePath /quiet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$msiPath = "$($env:USERPROFILE)\mongodb-win32-x86_64-2008plus-ssl-3.0.4-signed.msi" | |
(New-Object Net.WebClient).DownloadFile('https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.0.4-signed.msi', $msiPath) | |
cmd /c start /wait msiexec /q /i $msiPath INSTALLLOCATION=C:\mongodb ADDLOCAL="all" | |
del $msiPath | |
mkdir c:\mongodb\data\db | Out-Null | |
mkdir c:\mongodb\log | Out-Null | |
'systemLog: | |
destination: file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this will install NSIS to C:\nsis | |
$exePath = "$($env:USERPROFILE)\nsis-2.46-setup.exe" | |
(New-Object Net.WebClient).DownloadFile('http://ufpr.dl.sourceforge.net/project/nsis/NSIS%202/2.46/nsis-2.46-setup.exe', $exePath) | |
cmd /c start /wait $exePath /S /D=C:\nsis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$msiPath = "$($env:USERPROFILE)\ASPAJAXExtSetup.msi" | |
(New-Object Net.WebClient).DownloadFile('http://download.microsoft.com/download/5/4/6/5462bcbd-e738-45fa-84ca-fa02b0c4e1c2/ASPAJAXExtSetup.msi', $msiPath) | |
cmd /c start /wait msiexec /i $msiPath /quiet | |
del $msiPath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$msiPath = "$($env:USERPROFILE)\Contracts.devlab9ts.msi" | |
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/1ec7db13-3363-46c9-851f-1ce455f66970/file/93972/17/Contracts.devlab9ts.msi', $msiPath) | |
cmd /c start /wait msiexec /i $msiPath /quiet | |
del $msiPath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install: | |
- set PATH=C:\Program Files (x86)\Mono\bin;%PATH% | |
- ps: $zipPath = "$($env:APPVEYOR_BUILD_FOLDER)\xpkg.zip" | |
- ps: (New-Object Net.WebClient).DownloadFile('https://components.xamarin.com/submit/xpkg', $zipPath) | |
- ps: 7z x $zipPath | |
before_build: | |
- mono xamarin-component.exe restore <your-sln> |
OlderNewer