Get repository up to speed.

This commit is contained in:
Shady Ibraheem
2019-12-11 14:58:32 -05:00
parent adcb11adc9
commit 56f09d567a
34 changed files with 3246 additions and 268 deletions

View File

@@ -0,0 +1,818 @@
{
"variables": {
"client_id": "{{env `ARM_CLIENT_ID`}}",
"client_secret": "{{env `ARM_CLIENT_SECRET`}}",
"subscription_id": "{{env `ARM_SUBSCRIPTION_ID`}}",
"tenant_id": "{{env `ARM_TENANT_ID`}}",
"object_id": "{{env `ARM_OBJECT_ID`}}",
"resource_group": "{{env `ARM_RESOURCE_GROUP`}}",
"storage_account": "{{env `ARM_STORAGE_ACCOUNT`}}",
"temp_resource_group_name": "{{env `TEMP_RESOURCE_GROUP_NAME`}}",
"location": "{{env `ARM_RESOURCE_LOCATION`}}",
"ssh_password": "{{env `SSH_PASSWORD`}}",
"virtual_network_name": "{{env `VNET_NAME`}}",
"virtual_network_resource_group_name": "{{env `VNET_RESOURCE_GROUP`}}",
"virtual_network_subnet_name": "{{env `VNET_SUBNET`}}",
"private_virtual_network_with_public_ip": "{{env `PRIVATE_VIRTUAL_NETWORK_WITH_PUBLIC_IP`}}",
"vm_size": "Standard_DS4_v2",
"image_folder": "C:\\image",
"commit_file": "C:\\image\\commit.txt",
"metadata_file": "C:\\image\\metadata.txt",
"helper_script_folder": "C:\\Program Files\\WindowsPowerShell\\Modules\\",
"commit_url": "LATEST",
"install_user": "installer",
"install_password": null,
"capture_name_prefix": "packer",
"image_version": "dev"
},
"builders": [
{
"name": "vhd",
"type": "azure-arm",
"client_id": "{{user `client_id`}}",
"client_secret": "{{user `client_secret`}}",
"subscription_id": "{{user `subscription_id`}}",
"object_id": "{{user `object_id`}}",
"tenant_id": "{{user `tenant_id`}}",
"os_disk_size_gb": "256",
"location": "{{user `location`}}",
"vm_size": "{{user `vm_size`}}",
"resource_group_name": "{{user `resource_group`}}",
"storage_account": "{{user `storage_account`}}",
"temp_resource_group_name": "{{user `temp_resource_group_name`}}",
"capture_container_name": "images",
"capture_name_prefix": "{{user `capture_name_prefix`}}",
"virtual_network_name": "{{user `virtual_network_name`}}",
"virtual_network_resource_group_name": "{{user `virtual_network_resource_group_name`}}",
"virtual_network_subnet_name": "{{user `virtual_network_subnet_name`}}",
"private_virtual_network_with_public_ip": "{{user `private_virtual_network_with_public_ip`}}",
"os_type": "Windows",
"image_publisher": "MicrosoftWindowsServer",
"image_offer": "WindowsServer",
"image_sku": "2016-Datacenter",
"communicator": "winrm",
"winrm_use_ssl": "true",
"winrm_insecure": "true",
"winrm_username": "packer"
}
],
"provisioners": [
{
"type": "powershell",
"inline":[
"New-Item -Path {{user `image_folder`}} -ItemType Directory -Force",
"Write-Output {{user `commit_url`}} > {{user `commit_file` }}",
"Write-Host (Get-Content -Path {{user `commit_file`}})"
]
},
{
"type": "file",
"source": "{{ template_dir }}/scripts/ImageHelpers",
"destination": "{{user `helper_script_folder`}}"
},
{
"type": "windows-shell",
"inline": [
"net user {{user `install_user`}} {{user `install_password`}} /add /passwordchg:no /passwordreq:yes /active:yes /Y" ,
"net localgroup Administrators {{user `install_user`}} /add",
"winrm set winrm/config/service/auth @{Basic=\"true\"}",
"winrm get winrm/config/service/auth"
]
},
{
"type": "powershell",
"inline": [
"if (-not ((net localgroup Administrators) -contains '{{user `install_user`}}')) { exit 1 }"
]
},
{
"type": "powershell",
"environment_vars": [
"ImageVersion={{user `image_version`}}"
],
"scripts":[
"{{ template_dir }}/scripts/Installers/Windows2016/Initialize-VM.ps1"
]
},
{
"type": "windows-restart",
"restart_timeout": "30m"
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-ContainersFeature.ps1"
]
},
{
"type": "windows-restart",
"restart_timeout": "30m"
},
{
"type": "powershell",
"inline": [
"setx ImageVersion {{user `image_version` }} /m"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Docker.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-PowershellCore.ps1"
]
},
{
"type": "windows-restart",
"restart_timeout": "30m"
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Docker.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-PowershellCore.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Windows2016/Update-DockerImages.ps1"
]
},
{
"type": "powershell",
"inline": ["choco install vcredist140 -y"]
},
{
"type": "powershell",
"valid_exit_codes": [
0,
3010
],
"scripts":[
"{{ template_dir }}/scripts/Installers/Windows2016/Install-VS2017.ps1"
],
"elevated_user": "{{user `install_user`}}",
"elevated_password": "{{user `install_password`}}"
},
{
"type": "windows-restart",
"restart_timeout": "30m"
},
{
"type": "powershell",
"valid_exit_codes": [
0,
3010
],
"scripts":[
"{{ template_dir }}/scripts/Installers/Windows2016/Install-SSDT.ps1"
],
"elevated_user": "{{user `install_user`}}",
"elevated_password": "{{user `install_password`}}",
"pause_before": "120s"
},
{
"type": "windows-restart",
"restart_timeout": "30m"
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Windows2016/Install-Wix.ps1"
]
},
{
"type": "powershell",
"valid_exit_codes": [
0,
3010
],
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-NET48.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Windows2016/Install-WDK.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-ServiceFabricSDK.ps1"
]
},
{
"type": "windows-restart",
"restart_timeout": "30m"
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Windows2016/Validate-SSDT.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Windows2016/Validate-Wix.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-NET48.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Windows2016/Validate-WDK.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-ServiceFabricSDK.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Update-DotnetTLS.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-AzureCli.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-AzureDevOpsCli.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Download-ToolCache.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Windows2016/Install-Python.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Git.ps1"
]
},
{
"type": "powershell",
"environment_vars": [
"GO_VERSIONS=1.9.7,1.10.8,1.11.12,1.12.7,1.13",
"GO_DEFAULT=1.12.7"
],
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Go.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-PHP.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Ruby.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Rust.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Sbt.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Svn.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Chrome.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Firefox.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-SeleniumWebDrivers.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Enable-DeveloperMode.ps1"
],
"elevated_user": "{{user `install_user`}}",
"elevated_password": "{{user `install_password`}}"
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-WinAppDriver.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-WinAppDriver.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-NodeLts.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-JavaTools.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Cmake.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-DACFx.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Update-AndroidSDK.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-MysqlCli.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-SQLPowerShellTools.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-DotnetSDK.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-WindowsUpdates.ps1"
]
},
{
"type": "windows-shell",
"inline": ["wmic product where \"name like '%%microsoft azure powershell%%'\" call uninstall /nointeractive"]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-AzureModules.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-MinGW.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-TypeScript.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Miniconda.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-AzureCosmosDbEmulator.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-7zip.ps1"
]
},
{
"type": "powershell",
"environment_vars": [
"BOOST_VERSIONS=1.69.0",
"BOOST_DEFAULT=1.69.0"
],
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Boost.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Mercurial.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Jq.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-InnoSetup.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Perl.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-GitVersion.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-OpenSSL.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-NSIS.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-CloudFoundryCli.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Vcpkg.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-KubernetesCli.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-Kind.ps1"
]
},
{
"type": "windows-restart",
"restart_timeout": "30m"
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-AzureModules.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-DotnetTLS.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-AzureCli.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-AzureDevOpsCli.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-ToolCache.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Python.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Git.ps1"
]
},
{
"type": "powershell",
"environment_vars": [
"GO_VERSIONS=1.9.7,1.10.8,1.11.12,1.12.7,1.13",
"GO_DEFAULT=1.12.7"
],
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Go.ps1"
]
},
{
"type": "powershell",
"environment_vars": [
"BOOST_VERSIONS=1.69.0",
"BOOST_DEFAULT=1.69.0"
],
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Boost.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-PHP.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Ruby.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Rust.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Sbt.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Svn.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Chrome.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Firefox.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-SeleniumWebDrivers.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-NodeLts.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-JavaTools.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Cmake.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-DACFx.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-DotnetSDK.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-MysqlCli.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-SQLPowerShellTools.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-MinGW.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-TypeScript.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Miniconda.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-AzureCosmosDbEmulator.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-7zip.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Mercurial.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Jq.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-InnoSetup.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Perl.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-GitVersion.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-OpenSSL.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-NSIS.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-CloudFoundryCli.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Vcpkg.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-KubernetesCli.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Validate-Kind.ps1"
]
},
{
"type": "file",
"source": "C:\\InstalledSoftware.md",
"destination": "{{ template_dir }}/Windows2016-Readme.md",
"direction": "download"
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Finalize-VM.ps1"
]
},
{
"type": "windows-restart",
"restart_timeout": "30m"
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Windows2016/Run-Antivirus.ps1"
]
},
{
"type": "powershell",
"inline": [
"if( Test-Path $Env:SystemRoot\\System32\\Sysprep\\unattend.xml ){ rm $Env:SystemRoot\\System32\\Sysprep\\unattend.xml -Force}",
"& $env:SystemRoot\\System32\\Sysprep\\Sysprep.exe /oobe /generalize /quiet /quit",
"while($true) { $imageState = Get-ItemProperty HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup\\State | Select ImageState; if($imageState.ImageState -ne 'IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE') { Write-Output $imageState.ImageState; Start-Sleep -s 10 } else { break } }"
]
}
]
}

View File

@@ -0,0 +1,733 @@
# Hosted Windows2016 image
The following software is installed on machines in the Azure Pipelines **Hosted Windows2016** (v20191009.1) pool.
Components marked with **\*** have been upgraded since the previous version of the image.
## Chocolatey
_Version:_ 0.10.15<br/>
_Environment:_
* PATH: contains location for choco.exe
## Docker
_Version:_ 19.03.3<br/>
_Environment:_
* PATH: contains location of docker.exe
## Docker-compose
_Version:_ 1.24.0<br/>
_Environment:_
* PATH: contains location of docker-compose.exe
## Powershell Core
_Version:_ 6.2.3
<br/>
## Docker images
The following container images have been cached:
* mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2016 (Digest: sha256:f247ce2cdad4711b6a597bf3a84581278251e13176a2129158e3138fa7c6730d)
* mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2016 (Digest: sha256:ebb0693431d47cbd070f8b6473b5a3b79896e8a146d202f78b92cabf6ceb4b3d)
* mcr.microsoft.com/windows/servercore:ltsc2016 (Digest: sha256:45469202b1d2630e502330c0c4e977fac9b4540611c9778dedfc140f683f8f68)
* microsoft/aspnetcore-build:1.0-2.0 (Digest: sha256:9ecc7c5a8a7a11dca5f08c860165646cb30d084606360a3a72b9cbe447241c0c)
* mcr.microsoft.com/windows/nanoserver:10.0.14393.953 (Digest: sha256:fc60bd5ae0e61b334ce1cf1bcbf20c10c36b4c5482a01da319c9c989f9e6e268)
## Visual Studio 2017 Enterprise
_Version:_ VisualStudio/15.9.16+28307.858<br/>
_Location:_ C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise
The following workloads including required and recommended components are installed with Visual Studio 2017:
* Universal Windows Platform development
* .NET desktop development
* Desktop development with C++
* ASP.NET and web development
* Azure development
* Node.js development
* Data storage and processing
* Data science and analytical applications *
* Game development with Unity *
* Linux development with C++ *
* Game development with C++ *
* Mobile development with C++ *
* Office/SharePoint development
* Mobile development with .NET
* .NET Core cross-platform development
* Visual Studio extension development *
* Python development *
* Mobile development with JavaScript *
In addition the following optional components are installed:
* Microsoft.Net.Component.4.6.2.SDK
* Microsoft.Net.Component.4.6.2.TargetingPack
* Microsoft.Net.ComponentGroup.4.6.2.DeveloperTools
* Microsoft.Net.Component.4.7.SDK
* Microsoft.Net.Component.4.7.TargetingPack
* Microsoft.Net.ComponentGroup.4.7.DeveloperTools
* Microsoft.Net.Component.4.7.1.SDK
* Microsoft.Net.Component.4.7.1.TargetingPack
* Microsoft.Net.ComponentGroup.4.7.1.DeveloperTools
* Microsoft.Net.ComponentGroup.4.7.2.DeveloperTools
* Microsoft.Net.Core.Component.SDK.1x
* Microsoft.NetCore.1x.ComponentGroup.Web
* Microsoft.VisualStudio.Component.Azure.Storage.AzCopy
* Microsoft.VisualStudio.Component.PowerShell.Tools
* Microsoft.VisualStudio.Component.VC.140
* Component.Dotfuscator
* Microsoft.VisualStudio.Component.VC.ATL
* Microsoft.VisualStudio.Component.VC.ATL.ARM
* Microsoft.VisualStudio.Component.VC.ATL.ARM64
* Microsoft.VisualStudio.Component.VC.ATLMFC
* Microsoft.VisualStudio.Component.VC.ClangC2
* Microsoft.VisualStudio.Component.VC.CLI.Support
* Microsoft.VisualStudio.Component.VC.Modules.x86.x64
* Microsoft.VisualStudio.Component.Windows10SDK.10240
* Microsoft.VisualStudio.Component.Windows10SDK.10586
* Microsoft.VisualStudio.Component.Windows10SDK.14393
* Microsoft.VisualStudio.Component.Windows10SDK.15063.Desktop
* Component.Unreal
* Component.Unreal.Android
* Component.Android.SDK23
* Microsoft.VisualStudio.Component.TestTools.WebLoadTest
* Microsoft.VisualStudio.Web.Mvc4.ComponentGroup
* Component.Linux.CMake
* Microsoft.Component.PythonTools.UWP
* Microsoft.Component.VC.Runtime.OSSupport
* Microsoft.VisualStudio.Component.VC.Tools.ARM
* Microsoft.VisualStudio.ComponentGroup.UWP.VC
* Microsoft.VisualStudio.Component.VSSDK
* Microsoft.VisualStudio.Component.LinqToSql
* Microsoft.VisualStudio.Component.TestTools.CodedUITest
* Microsoft.VisualStudio.Component.TestTools.Core
* Microsoft.VisualStudio.Component.TypeScript.2.0
* Microsoft.VisualStudio.Component.TypeScript.2.1
* Microsoft.VisualStudio.Component.TypeScript.2.2
* Microsoft.VisualStudio.Component.VC.Tools.ARM64
* Microsoft.VisualStudio.Component.Windows10SDK.16299.Desktop.arm
* Microsoft.VisualStudio.Component.DslTools
* Microsoft.VisualStudio.Component.Windows81SDK
* Microsoft.VisualStudio.Component.WinXP
* Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Win81
* Microsoft.VisualStudio.ComponentGroup.NativeDesktop.WinXP
* Microsoft.VisualStudio.ComponentGroup.ArchitectureTools.Managed
* Microsoft.Component.Blend.SDK.WPF
* Microsoft.Component.VC.Runtime.UCRTSDK
* Microsoft.VisualStudio.Component.VC.ATL.Spectre
* Microsoft.VisualStudio.Component.VC.ATL.ARM.Spectre
* Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre
* Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre
* Microsoft.VisualStudio.Component.Windows10SDK.17134
* Microsoft.VisualStudio.Component.Windows10SDK.17763
* Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre
* Microsoft.VisualStudio.Component.VC.Runtimes.ARM.Spectre
* Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre
## SQL Server Data Tools for VS 2017
_Version:_ 15.1.61906.3130<br/>
The following components are installed:
* SQL Server Data Tools
* SQL Server Analysis Services Designer
* SQL Server Integration Services Designer
* SQL Server Reporting Services Designers
## WIX Tools
_Toolset Version:_ 3.11.4516<br/>
_WIX Toolset Studio 2017 Extension Version:_ 0.9.21.62588<br/>
_Environment:_
* WIX: Installation root of WIX
## .NET 4.8
_Version:_ 4.8.03761
## Windows Driver Kit
_Version:_ 10.0.17763.0<br/>
## Azure Service Fabric
_SDK Version:_ 3.3.617.9590<br/>
_Runtime Version:_ 6.4.617.9590
## WinAppDriver
_Version:_ 1.1.1809.18001<br/>
## Android SDK Build Tools
#### 29.0.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\29.0.2
#### 29.0.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\29.0.0
#### 28.0.3
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\28.0.3
#### 28.0.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\28.0.2
#### 28.0.1
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\28.0.1
#### 28.0.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\28.0.0
#### 27.0.3
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\27.0.3
#### 27.0.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\27.0.2
#### 27.0.1
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\27.0.1
#### 27.0.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\27.0.0
#### 26.0.3
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\26.0.3
#### 26.0.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\26.0.2
#### 26.0.1
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\26.0.1
#### 26.0.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\26.0.0
#### 25.0.3
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\25.0.3
#### 25.0.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\25.0.2
#### 25.0.1
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\25.0.1
#### 25.0.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\25.0.0
#### 24.0.3
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\24.0.3
#### 24.0.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\24.0.2
#### 24.0.1
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\24.0.1
#### 24.0.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\24.0.0
#### 23.0.3
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.3
#### 23.0.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.2
#### 23.0.1
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1
#### 22.0.1
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\22.0.1
#### 21.1.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\21.1.2
#### 20.0.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\20.0.0
#### 19.1.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\19.1.0
## Android SDK Platforms
#### 10 (API 29)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-29
#### 9 (API 28)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-28
#### 8.1.0 (API 27)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-27
#### 8.0.0 (API 26)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-26
#### 7.1.1 (API 25)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-25
#### 7.0 (API 24)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-24
#### 6.0 (API 23)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-23
#### 5.1.1 (API 22)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-22
#### 5.0.1 (API 21)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-21
#### 4.4.2 (API 19)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-19
## Azure/AzureRM Powershell modules
#### 2.1.0
This version is installed and is available via Get-Module -ListAvailable
#### 3.8.0
This version is saved but not installed
_Location:_ C:\Modules\azurerm_3.8.0\AzureRM\3.8.0\AzureRM.psd1
#### 4.2.1
This version is saved but not installed
_Location:_ C:\Modules\azurerm_4.2.1\AzureRM\4.2.1\AzureRM.psd1
#### 5.1.1
This version is saved but not installed
_Location:_ C:\Modules\azurerm_5.1.1\AzureRM\5.1.1\AzureRM.psd1
#### 6.7.0
This version is saved but not installed
_Location:_ C:\Modules\azurerm_6.7.0\AzureRM\6.7.0\AzureRM.psd1
## TLS12
_Version:_ 1.2<br/>
_Description:_ .NET has been configured to use TLS 1.2 by default
## Azure CLI
_Version:_ 2.0.74
_Environment:_
* PATH: contains location of az.cmd
## Azure DevOps Cli extension
_Version:_ azure-devops 0.13.0
## Python
_Version:_ 2.7.16 (x64)<br/>_Version:_ 2.7.16 (x86)<br/>_Version:_ 3.4.4 (x64)<br/>_Version:_ 3.4.4 (x86)<br/>_Version:_ 3.5.4 (x64)<br/>_Version:_ 3.5.4 (x86)<br/>_Version:_ 3.6.8 (x64)<br/>_Version:_ 3.6.8 (x86)<br/>_Version:_ 3.7.4 (x64)<br/>_Version:_ 3.7.4 (x86)<br/><br/>
> Note: These versions of Python are available through the [Use Python Version](https://go.microsoft.com/fwlink/?linkid=871498) task.
## PyPy
_Version:_ 2.7.13 (x86)<br/>_Version:_ 3.5.3 (x86)<br/><br/>
> Note: These versions of PyPy are available through the [Use Python Version](https://go.microsoft.com/fwlink/?linkid=871498) task.
## Ruby
_Version:_ 2.4.6 (x64)<br/>_Version:_ 2.5.5 (x64)<br/>_Version:_ 2.6.3 (x64)<br/><br/>
> Note: These versions of Ruby are available through the [Use Ruby Version](https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/use-ruby-version) task.
## Python (64 bit)
#### Python 3.6.8
_Environment:_
* PATH: contains location of python.exe
#### Python 2.7.16
_Location:_ C:/hostedtoolcache/windows/Python/2.7*/x64
## Git
_Version:_ 2.23.0<br/>
_Environment:_
* PATH: contains location of git.exe
## Git Large File Storage (LFS)
_Version:_ 2.8.0<br/>
_Environment:_
* PATH: contains location of git-lfs.exe
* GIT_LFS_PATH: location of git-lfs.exe
## Go (x64)
#### 1.9.7
_Environment:_
* GOROOT_1_9_X64: root directory of the Go 1.9.7 installation
#### 1.10.8
_Environment:_
* GOROOT_1_10_X64: root directory of the Go 1.10.8 installation
#### 1.11.12
_Environment:_
* GOROOT_1_11_X64: root directory of the Go 1.11.12 installation
#### 1.12.7
_Environment:_
* PATH: contains the location of go.exe version 1.12.7
* GOROOT: root directory of the Go 1.12.7 installation
* GOROOT_1_12_X64: root directory of the Go 1.12.7 installation
#### 1.13
_Environment:_
* GOROOT_1_13_X64: root directory of the Go 1.13 installation
## Boost
####
* PATH: contains the location of Boost version
* BOOST_ROOT: root directory of the Boost version installation
* BOOST_ROOT_1_69_0: root directory of the Boost version installation
## PHP (x64)
#### 7.3.10
_Environment:_
* PATH: contains the location of php.exe version 7.3.10
* PHPROOT: root directory of the PHP 7.3.10 installation
## Ruby (x64)
#### 2.5.5p157
_Environment:_
* Location: C:\hostedtoolcache\windows\Ruby\2.5.5\x64\bin
* PATH: contains the location of ruby.exe version 2.5.5p157
## Rust (64-bit)
#### 1.38.0
_Location:_ C:\Rust\.cargo\bin
_Environment:_
* PATH: contains the location of rustc.exe
## Subversion
_Version:_ 1.8.17<br/>
_Environment:_
* PATH: contains location of svn.exe
## Google Chrome
_version:_
77.0.3865.90
## Mozilla Firefox
_version:_
69.0.1
## Selenium Web Drivers
#### Chrome Driver
_version:_
77.0.3865.40
_Environment:_
* ChromeWebDriver: location of chromedriver.exe
#### Gecko Driver
_version:_
0.24.0
_Environment:_
* GeckoWebDriver: location of geckodriver.exe
#### IE Driver
_version:_
3.8.0.0
_Environment:_
* IEWebDriver: location of IEDriverServer.exe
## Node.js
_Version:_ 10.16.3<br/>
_Architecture:_ x64<br/>
_Environment:_
* PATH: contains location of node.exe<br/>
* Gulp CLI version: 2.2.0 Local version: Unknown<br/>
* Grunt grunt-cli v1.3.2<br/>
* Bower 1.8.8<br/>
* Yarn 1.19.1<br/>
> Note: You can install and use another version of Node.js on Microsoft-hosted agent pools using the [Node tool installer](https://docs.microsoft.com/vsts/pipelines/tasks/tool/node-js) task.
## npm
_Version:_ 6.9.0<br/>
_Environment:_
* PATH: contains location of npm.cmd
## Java Development Kit
#### 1.8.0_222
_Environment:_
* JAVA_HOME: location of JDK
* PATH: contains bin folder of JDK
#### 1.7.0_232
_Location:_ C:\Program Files\Java\zulu-7-azure-jdk_7.31.0.5-7.0.232-win_x64
#### 11.0.4
_Location:_ C:\Program Files\Java\zulu-11-azure-jdk_11.33.15-11.0.4-win_x64
## Ant
_Version:_ 1.10.5<br/>
_Environment:_
* PATH: contains location of ant.cmd
* ANT_HOME: location of ant.cmd
* COBERTURA_HOME: location of cobertura-2.1.1.jar
## Maven
_Version:_ 3.6.2<br/>
_Environment:_
* PATH: contains location of mvn.bat
* M2_HOME: Maven installation root
## Gradle
_Version:_ 5.6.2<br/>
_Environment:_
* PATH: contains location of gradle
## Cmake
_Version:_ 3.15.4<br/>
_Environment:_
* PATH: contains location of cmake.exe
## SQL Server Data Tier Application Framework (x64)
_Version:_ 15.0.4538.1<br/>
## .NET Core
The following runtimes and SDKs are installed:
_Environment:_
* PATH: contains location of dotnet.exe
_SDK:_
* 2.2.402 C:\Program Files\dotnet\sdk\2.2.402
* 2.2.401 C:\Program Files\dotnet\sdk\2.2.401
* 2.2.301 C:\Program Files\dotnet\sdk\2.2.301
* 2.2.300 C:\Program Files\dotnet\sdk\2.2.300
* 2.2.206 C:\Program Files\dotnet\sdk\2.2.206
* 2.2.205 C:\Program Files\dotnet\sdk\2.2.205
* 2.2.204 C:\Program Files\dotnet\sdk\2.2.204
* 2.2.203 C:\Program Files\dotnet\sdk\2.2.203
* 2.2.202 C:\Program Files\dotnet\sdk\2.2.202
* 2.2.109 C:\Program Files\dotnet\sdk\2.2.109
* 2.2.108 C:\Program Files\dotnet\sdk\2.2.108
* 2.2.107 C:\Program Files\dotnet\sdk\2.2.107
* 2.2.106 C:\Program Files\dotnet\sdk\2.2.106
* 2.2.105 C:\Program Files\dotnet\sdk\2.2.105
* 2.2.104 C:\Program Files\dotnet\sdk\2.2.104
* 2.2.103 C:\Program Files\dotnet\sdk\2.2.103
* 2.2.102 C:\Program Files\dotnet\sdk\2.2.102
* 2.2.101 C:\Program Files\dotnet\sdk\2.2.101
* 2.2.100 C:\Program Files\dotnet\sdk\2.2.100
* 2.1.802 C:\Program Files\dotnet\sdk\2.1.802
* 2.1.801 C:\Program Files\dotnet\sdk\2.1.801
* 2.1.701 C:\Program Files\dotnet\sdk\2.1.701
* 2.1.700 C:\Program Files\dotnet\sdk\2.1.700
* 2.1.606 C:\Program Files\dotnet\sdk\2.1.606
* 2.1.605 C:\Program Files\dotnet\sdk\2.1.605
* 2.1.604 C:\Program Files\dotnet\sdk\2.1.604
* 2.1.603 C:\Program Files\dotnet\sdk\2.1.603
* 2.1.602 C:\Program Files\dotnet\sdk\2.1.602
* 2.1.509 C:\Program Files\dotnet\sdk\2.1.509
* 2.1.508 C:\Program Files\dotnet\sdk\2.1.508
* 2.1.507 C:\Program Files\dotnet\sdk\2.1.507
* 2.1.506 C:\Program Files\dotnet\sdk\2.1.506
* 2.1.505 C:\Program Files\dotnet\sdk\2.1.505
* 2.1.504 C:\Program Files\dotnet\sdk\2.1.504
* 2.1.503 C:\Program Files\dotnet\sdk\2.1.503
* 2.1.502 C:\Program Files\dotnet\sdk\2.1.502
* 2.1.500 C:\Program Files\dotnet\sdk\2.1.500
* 2.1.403 C:\Program Files\dotnet\sdk\2.1.403
* 2.1.402 C:\Program Files\dotnet\sdk\2.1.402
* 2.1.401 C:\Program Files\dotnet\sdk\2.1.401
* 2.1.302 C:\Program Files\dotnet\sdk\2.1.302
* 2.1.301 C:\Program Files\dotnet\sdk\2.1.301
* 2.1.300 C:\Program Files\dotnet\sdk\2.1.300
* 2.1.202 C:\Program Files\dotnet\sdk\2.1.202
* 1.1.14 C:\Program Files\dotnet\sdk\1.1.14
_Runtime:_
* 2.2.7 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.7
* 2.2.6 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.6
* 2.2.5 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.5
* 2.2.4 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.4
* 2.2.3 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.3
* 2.2.2 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.2
* 2.2.1 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.1
* 2.2.0 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.0
* 2.1.9 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.9
* 2.1.8 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.8
* 2.1.7 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.7
* 2.1.6 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.6
* 2.1.5 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.5
* 2.1.4 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.4
* 2.1.3 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.3
* 2.1.2 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.2
* 2.1.13 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.13
* 2.1.12 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.12
* 2.1.11 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.11
* 2.1.10 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.10
* 2.1.1 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.1
* 2.1.0 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.0
* 2.0.9 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.9
* 1.1.13 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.1.13
* 1.0.16 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.16
## Mysql
_Version:_ 5.7.21.0<br/>
_Environment:_
* PATH: contains location of mysql.exe
## SQLPS
_Version:_ 1.0
## SQLServer PS
_Version:_ 21.1.18179
## MinGW
_Version:_ 8.1.0<br/>
_Environment:_
* PATH: contains location of the MinGW 'bin' directory
## TypeScript
_Version:_ Version 3.6.3<br/>
## Miniconda
_Version:_ conda 4.6.14<br/>
_Environment:_
* CONDA: contains location of the root of the Miniconda installation
## Azure CosmosDb Emulator
_Version:_ 2.5.7.0<br/>
_Location:_ C:\Program Files\Azure Cosmos DB Emulator\
## 7zip
_Version:_ 19.00<br/>
## Mercurial
_Version:_ <br/>
## jq
_Version:_ jq-1.6<br/>
## Inno Setup
_Version:_ 6.0.2<br/>
## Perl
_Version:_ v5.26.2<br/>
## GitVersion
_Version:_ 5.0.1.0<br/>
## OpenSSL
_Version:_ 1.1.1c at C:\Program Files\Git\usr\bin\openssl.exe<br/>_Version:_ 1.1.1c at C:\Program Files\Git\mingw64\bin\openssl.exe<br/>_Version:_ 1.0.2j at C:\Program Files (x86)\Subversion\bin\openssl.exe<br/>_Version:_ 1.1.1b at C:\Strawberry\c\bin\openssl.exe<br/>_Version:_ 1.1.1 at C:\Program Files\OpenSSL\bin\openssl.exe<br/>
## Cloud Foundry CLI
_Version:_ 6.46.1<br/>
## Vcpkg
_Version:_ 2019.09.12-nohash<br/>
_Environment:_
* PATH: contains location of the vcpkg directory
* VCPKG_INSTALLATION_ROOT: root directory of the vcpkg installation

View File

@@ -751,7 +751,7 @@
{
"type": "file",
"source": "C:\\InstalledSoftware.md",
"destination": "{{ template_dir }}/Vs2019-Server2019-Readme.md",
"destination": "{{ template_dir }}/Windows2019-Readme.md",
"direction": "download"
},
{

View File

@@ -0,0 +1,689 @@
# Hosted Windows 2019
The following software is installed on machines in the **Hosted Windows 2019** (v20191009.1) pool.
Components marked with **\*** have been upgraded since the previous version of the image.
## Chocolatey
_Version:_ 0.10.15<br/>
_Environment:_
* PATH: contains location for choco.exe
## Docker
_Version:_ 19.03.3<br/>
_Environment:_
* PATH: contains location of docker.exe
## Docker-compose
_Version:_ 1.24.0<br/>
_Environment:_
* PATH: contains location of docker-compose.exe
## Powershell Core
_Version:_ 6.2.3
<br/>
## Docker images
The following container images have been cached:
* mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019 (Digest: sha256:e0f80fbc8bb2f39bd0eaba78b314444863ca3efec3f0e40a1b63aa501a36ef01)
* mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019 (Digest: sha256:c7219ea532e525bc34402027f7974a128746ebec79a31462bc8b59a9dfa6b3d8)
* mcr.microsoft.com/windows/servercore:ltsc2019 (Digest: sha256:404e0ee336a063619d1e93a2446061cf19cb3068bacb1775f5613e3b54e527e1)
* mcr.microsoft.com/windows/nanoserver:1809 (Digest: sha256:da46159cc4409ccdfe8e25d1e2b2e2705c31d956122d39ea89733b19d76340dd)
* microsoft/aspnetcore-build:1.0-2.0 (Digest: sha256:9ecc7c5a8a7a11dca5f08c860165646cb30d084606360a3a72b9cbe447241c0c)
## Visual Studio 2019 Enterprise
_Version:_ VisualStudio/16.3.3+29403.142<br/>
_Location:_ C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
The following workloads and components are installed with Visual Studio 2019:
* Component.Dotfuscator
* Component.Linux.CMake
* Component.UnityEngine.x64
* Component.UnityEngine.x86
* Component.Unreal.Android
* Microsoft.Component.Azure.DataLake.Tools
* Microsoft.Component.CookiecutterTools
* Microsoft.Component.PythonTools.Miniconda
* Microsoft.Component.PythonTools.Web
* Microsoft.Component.VC.Runtime.UCRTSDK
* Microsoft.Net.ComponentGroup.4.6.2.DeveloperTools
* Microsoft.Net.ComponentGroup.4.7.1.DeveloperTools
* Microsoft.Net.ComponentGroup.4.7.DeveloperTools
* Microsoft.VisualStudio.Component.AspNet45
* Microsoft.VisualStudio.Component.Azure.Kubernetes.Tools
* Microsoft.VisualStudio.Component.Azure.MobileAppsSdk
* Microsoft.VisualStudio.Component.Azure.ServiceFabric.Tools
* Microsoft.VisualStudio.Component.Azure.Storage.AzCopy
* Microsoft.VisualStudio.Component.Debugger.JustInTime
* Microsoft.VisualStudio.Component.DslTools
* Microsoft.VisualStudio.Component.EntityFramework
* Microsoft.VisualStudio.Component.FSharp.Desktop
* Microsoft.VisualStudio.Component.LinqToSql
* Microsoft.VisualStudio.Component.PortableLibrary
* Microsoft.VisualStudio.Component.TeamOffice
* Microsoft.VisualStudio.Component.TestTools.CodedUITest
* Microsoft.VisualStudio.Component.TestTools.WebLoadTest
* Microsoft.VisualStudio.Component.UWP.VC.ARM64
* Microsoft.VisualStudio.Component.VC.ATL.ARM
* Microsoft.VisualStudio.Component.VC.ATLMFC
* Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre
* Microsoft.VisualStudio.Component.VC.CLI.Support
* Microsoft.VisualStudio.Component.VC.CMake.Project
* Microsoft.VisualStudio.Component.VC.DiagnosticTools
* Microsoft.VisualStudio.Component.VC.MFC.ARM
* Microsoft.VisualStudio.Component.VC.MFC.ARM.Spectre
* Microsoft.VisualStudio.Component.VC.MFC.ARM64
* Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre
* Microsoft.VisualStudio.Component.VC.Runtimes.ARM.Spectre
* Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre
* Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre
* Microsoft.VisualStudio.Component.VC.TestAdapterForBoostTest
* Microsoft.VisualStudio.Component.VC.TestAdapterForGoogleTest
* Microsoft.VisualStudio.Component.VC.v141
* Microsoft.VisualStudio.Component.Windows10SDK.16299
* Microsoft.VisualStudio.Component.Windows10SDK.17134
* Microsoft.VisualStudio.Component.Windows10SDK.17763
* Microsoft.VisualStudio.Component.Windows10SDK.18362
* Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices
* Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools
* Microsoft.VisualStudio.ComponentGroup.Web.CloudTools
* Microsoft.VisualStudio.Workload.Azure
* Microsoft.VisualStudio.Workload.Data
* Microsoft.VisualStudio.Workload.DataScience
* Microsoft.VisualStudio.Workload.ManagedDesktop
* Microsoft.VisualStudio.Workload.ManagedGame
* Microsoft.VisualStudio.Workload.NativeCrossPlat
* Microsoft.VisualStudio.Workload.NativeDesktop
* Microsoft.VisualStudio.Workload.NativeGame
* Microsoft.VisualStudio.Workload.NativeMobile
* Microsoft.VisualStudio.Workload.NetCoreTools
* Microsoft.VisualStudio.Workload.NetCrossPlat
* Microsoft.VisualStudio.Workload.NetWeb
* Microsoft.VisualStudio.Workload.Node
* Microsoft.VisualStudio.Workload.Office
* Microsoft.VisualStudio.Workload.Python
* Microsoft.VisualStudio.Workload.Universal
* Microsoft.VisualStudio.Workload.VisualStudioExtension
## WIX Tools
_Toolset Version:_ 3.11.4516<br/>
_WIX Toolset Visual Studio Extension Version:_ 1.0.0.4<br/>
_Environment:_
* WIX: Installation root of WIX
## .NET 4.8
_Version:_ 4.8.03761
## Windows Driver Kit
_Version:_ 10.0.17763.0<br/>
## Azure Service Fabric
_SDK Version:_ 3.3.617.9590<br/>
_Runtime Version:_ 6.4.617.9590
## WinAppDriver
_Version:_ 1.1.1809.18001<br/>
## Android SDK Build Tools
#### 29.0.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\29.0.2
#### 29.0.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\29.0.0
#### 28.0.3
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\28.0.3
#### 28.0.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\28.0.2
#### 28.0.1
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\28.0.1
#### 28.0.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\28.0.0
#### 27.0.3
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\27.0.3
#### 27.0.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\27.0.2
#### 27.0.1
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\27.0.1
#### 27.0.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\27.0.0
#### 26.0.3
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\26.0.3
#### 26.0.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\26.0.2
#### 26.0.1
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\26.0.1
#### 26.0.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\26.0.0
#### 25.0.3
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\25.0.3
#### 25.0.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\25.0.2
#### 25.0.1
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\25.0.1
#### 25.0.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\25.0.0
#### 24.0.3
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\24.0.3
#### 24.0.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\24.0.2
#### 24.0.1
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\24.0.1
#### 24.0.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\24.0.0
#### 23.0.3
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.3
#### 23.0.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.2
#### 23.0.1
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1
#### 22.0.1
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\22.0.1
#### 21.1.2
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\21.1.2
#### 20.0.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\20.0.0
#### 19.1.0
_Location:_ C:\Program Files (x86)\Android\android-sdk\build-tools\19.1.0
## Android SDK Platforms
#### 10 (API 29)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-29
#### 9 (API 28)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-28
#### 8.1.0 (API 27)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-27
#### 8.0.0 (API 26)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-26
#### 7.1.1 (API 25)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-25
#### 7.0 (API 24)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-24
#### 6.0 (API 23)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-23
#### 5.1.1 (API 22)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-22
#### 5.0.1 (API 21)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-21
#### 4.4.2 (API 19)
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-19
## Azure/AzureRM Powershell modules
#### 2.1.0
This version is installed and is available via Get-Module -ListAvailable
#### 3.8.0
This version is saved but not installed
_Location:_ C:\Modules\azurerm_3.8.0\AzureRM\3.8.0\AzureRM.psd1
#### 4.2.1
This version is saved but not installed
_Location:_ C:\Modules\azurerm_4.2.1\AzureRM\4.2.1\AzureRM.psd1
#### 5.1.1
This version is saved but not installed
_Location:_ C:\Modules\azurerm_5.1.1\AzureRM\5.1.1\AzureRM.psd1
#### 6.7.0
This version is saved but not installed
_Location:_ C:\Modules\azurerm_6.7.0\AzureRM\6.7.0\AzureRM.psd1
## TLS12
_Version:_ 1.2<br/>
_Description:_ .NET has been configured to use TLS 1.2 by default
## Azure CLI
_Version:_ 2.0.74
_Environment:_
* PATH: contains location of az.cmd
## Azure DevOps Cli extension
_Version:_ azure-devops 0.13.0
## Python
_Version:_ 2.7.16 (x64)<br/>_Version:_ 2.7.16 (x86)<br/>_Version:_ 3.4.4 (x64)<br/>_Version:_ 3.4.4 (x86)<br/>_Version:_ 3.5.4 (x64)<br/>_Version:_ 3.5.4 (x86)<br/>_Version:_ 3.6.8 (x64)<br/>_Version:_ 3.6.8 (x86)<br/>_Version:_ 3.7.4 (x64)<br/>_Version:_ 3.7.4 (x86)<br/><br/>
> Note: These versions of Python are available through the [Use Python Version](https://go.microsoft.com/fwlink/?linkid=871498) task.
## PyPy
_Version:_ 2.7.13 (x86)<br/>_Version:_ 3.5.3 (x86)<br/><br/>
> Note: These versions of PyPy are available through the [Use Python Version](https://go.microsoft.com/fwlink/?linkid=871498) task.
## Ruby
_Version:_ 2.4.6 (x64)<br/>_Version:_ 2.5.5 (x64)<br/>_Version:_ 2.6.3 (x64)<br/><br/>
> Note: These versions of Ruby are available through the [Use Ruby Version](https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/use-ruby-version) task.
## Python (64 bit)
#### Python 3.7.4
_Environment:_
* PATH: contains location of python.exe
#### Python 2.7.16
_Location:_ C:/hostedtoolcache/windows/Python/2.7*/x64
## Git
_Version:_ 2.23.0<br/>
_Environment:_
* PATH: contains location of git.exe
## Git Large File Storage (LFS)
_Version:_ 2.8.0<br/>
_Environment:_
* PATH: contains location of git-lfs.exe
* GIT_LFS_PATH: location of git-lfs.exe
## Go (x64)
#### 1.10.8
_Environment:_
* GOROOT_1_10_X64: root directory of the Go 1.10.8 installation
#### 1.11.12
_Environment:_
* GOROOT_1_11_X64: root directory of the Go 1.11.12 installation
#### 1.12.7
_Environment:_
* PATH: contains the location of go.exe version 1.12.7
* GOROOT: root directory of the Go 1.12.7 installation
* GOROOT_1_12_X64: root directory of the Go 1.12.7 installation
#### 1.13
_Environment:_
* GOROOT_1_13_X64: root directory of the Go 1.13 installation
## Boost
####
* PATH: contains the location of Boost version
* BOOST_ROOT: root directory of the Boost version installation
* BOOST_ROOT_1_69_0: root directory of the Boost version installation
## PHP (x64)
#### 7.3.10
_Environment:_
* PATH: contains the location of php.exe version 7.3.10
* PHPROOT: root directory of the PHP 7.3.10 installation
## Ruby (x64)
#### 2.5.5p157
_Environment:_
* Location: C:\hostedtoolcache\windows\Ruby\2.5.5\x64\bin
* PATH: contains the location of ruby.exe version 2.5.5p157
## Rust (64-bit)
#### 1.38.0
_Location:_ C:\Rust\.cargo\bin
_Environment:_
* PATH: contains the location of rustc.exe
## Subversion
_Version:_ 1.8.17<br/>
_Environment:_
* PATH: contains location of svn.exe
## Google Chrome
_version:_
77.0.3865.90
## Mozilla Firefox
_version:_
69.0.1
## Selenium Web Drivers
#### Chrome Driver
_version:_
77.0.3865.40
_Environment:_
* ChromeWebDriver: location of chromedriver.exe
#### Gecko Driver
_version:_
0.24.0
_Environment:_
* GeckoWebDriver: location of geckodriver.exe
#### IE Driver
_version:_
3.8.0.0
_Environment:_
* IEWebDriver: location of IEDriverServer.exe
## Node.js
_Version:_ 12.13.0<br/>
_Architecture:_ x64<br/>
_Environment:_
* PATH: contains location of node.exe<br/>
* Gulp CLI version: 2.2.0 Local version: Unknown<br/>
* Grunt grunt-cli v1.3.2<br/>
* Bower 1.8.8<br/>
* Yarn 1.19.1<br/>
> Note: You can install and use another version of Node.js on Microsoft-hosted agent pools using the [Node tool installer](https://docs.microsoft.com/vsts/pipelines/tasks/tool/node-js) task.
## npm
_Version:_ 6.9.0<br/>
_Environment:_
* PATH: contains location of npm.cmd
## Java Development Kit
#### 1.8.0_222
_Environment:_
* JAVA_HOME: location of JDK
* PATH: contains bin folder of JDK
#### 1.7.0_232
_Location:_ C:\Program Files\Java\zulu-7-azure-jdk_7.31.0.5-7.0.232-win_x64
#### 11.0.4
_Location:_ C:\Program Files\Java\zulu-11-azure-jdk_11.33.15-11.0.4-win_x64
## Ant
_Version:_ 1.10.5<br/>
_Environment:_
* PATH: contains location of ant.cmd
* ANT_HOME: location of ant.cmd
* COBERTURA_HOME: location of cobertura-2.1.1.jar
## Maven
_Version:_ 3.6.2<br/>
_Environment:_
* PATH: contains location of mvn.bat
* M2_HOME: Maven installation root
## Gradle
_Version:_ 5.6.2<br/>
_Environment:_
* PATH: contains location of gradle
## Cmake
_Version:_ 3.15.4<br/>
_Environment:_
* PATH: contains location of cmake.exe
## SQL Server Data Tier Application Framework (x64)
_Version:_ 15.0.4538.1<br/>
## .NET Core
The following runtimes and SDKs are installed:
_Environment:_
* PATH: contains location of dotnet.exe
_SDK:_
* 3.0.100 C:\Program Files\dotnet\sdk\3.0.100
* 2.2.402 C:\Program Files\dotnet\sdk\2.2.402
* 2.2.401 C:\Program Files\dotnet\sdk\2.2.401
* 2.2.301 C:\Program Files\dotnet\sdk\2.2.301
* 2.2.300 C:\Program Files\dotnet\sdk\2.2.300
* 2.2.206 C:\Program Files\dotnet\sdk\2.2.206
* 2.2.205 C:\Program Files\dotnet\sdk\2.2.205
* 2.2.204 C:\Program Files\dotnet\sdk\2.2.204
* 2.2.203 C:\Program Files\dotnet\sdk\2.2.203
* 2.2.202 C:\Program Files\dotnet\sdk\2.2.202
* 2.2.109 C:\Program Files\dotnet\sdk\2.2.109
* 2.2.108 C:\Program Files\dotnet\sdk\2.2.108
* 2.2.107 C:\Program Files\dotnet\sdk\2.2.107
* 2.2.106 C:\Program Files\dotnet\sdk\2.2.106
* 2.2.105 C:\Program Files\dotnet\sdk\2.2.105
* 2.2.104 C:\Program Files\dotnet\sdk\2.2.104
* 2.2.103 C:\Program Files\dotnet\sdk\2.2.103
* 2.2.102 C:\Program Files\dotnet\sdk\2.2.102
* 2.2.101 C:\Program Files\dotnet\sdk\2.2.101
* 2.2.100 C:\Program Files\dotnet\sdk\2.2.100
* 2.1.802 C:\Program Files\dotnet\sdk\2.1.802
* 2.1.801 C:\Program Files\dotnet\sdk\2.1.801
* 2.1.701 C:\Program Files\dotnet\sdk\2.1.701
* 2.1.700 C:\Program Files\dotnet\sdk\2.1.700
* 2.1.606 C:\Program Files\dotnet\sdk\2.1.606
* 2.1.605 C:\Program Files\dotnet\sdk\2.1.605
* 2.1.604 C:\Program Files\dotnet\sdk\2.1.604
* 2.1.603 C:\Program Files\dotnet\sdk\2.1.603
* 2.1.602 C:\Program Files\dotnet\sdk\2.1.602
* 2.1.509 C:\Program Files\dotnet\sdk\2.1.509
* 2.1.508 C:\Program Files\dotnet\sdk\2.1.508
* 2.1.507 C:\Program Files\dotnet\sdk\2.1.507
* 2.1.506 C:\Program Files\dotnet\sdk\2.1.506
* 2.1.505 C:\Program Files\dotnet\sdk\2.1.505
* 2.1.504 C:\Program Files\dotnet\sdk\2.1.504
* 2.1.503 C:\Program Files\dotnet\sdk\2.1.503
* 2.1.502 C:\Program Files\dotnet\sdk\2.1.502
* 2.1.500 C:\Program Files\dotnet\sdk\2.1.500
* 2.1.403 C:\Program Files\dotnet\sdk\2.1.403
* 2.1.402 C:\Program Files\dotnet\sdk\2.1.402
* 2.1.401 C:\Program Files\dotnet\sdk\2.1.401
* 2.1.302 C:\Program Files\dotnet\sdk\2.1.302
* 2.1.301 C:\Program Files\dotnet\sdk\2.1.301
* 2.1.300 C:\Program Files\dotnet\sdk\2.1.300
_Runtime:_
* 3.0.0 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.0.0
* 2.2.7 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.7
* 2.2.6 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.6
* 2.2.5 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.5
* 2.2.4 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.4
* 2.2.3 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.3
* 2.2.2 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.2
* 2.2.1 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.1
* 2.2.0 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.0
* 2.1.9 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.9
* 2.1.8 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.8
* 2.1.7 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.7
* 2.1.6 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.6
* 2.1.5 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.5
* 2.1.4 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.4
* 2.1.3 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.3
* 2.1.2 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.2
* 2.1.13 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.13
* 2.1.12 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.12
* 2.1.11 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.11
* 2.1.10 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.10
* 2.1.1 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.1
* 2.1.0 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.0
## Mysql
_Version:_ 5.7.21.0<br/>
_Environment:_
* PATH: contains location of mysql.exe
## MinGW
_Version:_ 8.1.0<br/>
_Environment:_
* PATH: contains location of the MinGW 'bin' directory
## TypeScript
_Version:_ Version 3.6.3<br/>
## Miniconda
_Version:_ conda 4.6.14<br/>
_Environment:_
* CONDA: contains location of the root of the Miniconda installation
## Azure CosmosDb Emulator
_Version:_ 2.5.7.0<br/>
_Location:_ C:\Program Files\Azure Cosmos DB Emulator\
## 7zip
_Version:_ 19.00<br/>
## Mercurial
_Version:_ <br/>
## jq
_Version:_ jq-1.6<br/>
## Inno Setup
_Version:_ 6.0.2<br/>
## Perl
_Version:_ v5.26.2<br/>
## GitVersion
_Version:_ 5.0.1.0<br/>
## OpenSSL
_Version:_ 1.1.1c at C:\Program Files\Git\usr\bin\openssl.exe<br/>_Version:_ 1.1.1c at C:\Program Files\Git\mingw64\bin\openssl.exe<br/>_Version:_ 1.0.2j at C:\Program Files (x86)\Subversion\bin\openssl.exe<br/>_Version:_ 1.1.1b at C:\Strawberry\c\bin\openssl.exe<br/>_Version:_ 1.1.1 at C:\Program Files\OpenSSL\bin\openssl.exe<br/>
## Cloud Foundry CLI
_Version:_ 6.46.1<br/>
## Vcpkg
_Version:_ 2019.09.12-nohash<br/>
_Environment:_
* PATH: contains location of the vcpkg directory
* VCPKG_INSTALLATION_ROOT: root directory of the vcpkg installation

View File

@@ -0,0 +1,147 @@
################################################################################
## File: Initialize-VM.ps1
## Team: CI-Platform
## Desc: VM initialization script, machine level configuration
################################################################################
function Disable-InternetExplorerESC {
$AdminKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"
$UserKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"
Set-ItemProperty -Path $AdminKey -Name "IsInstalled" -Value 0 -Force
Set-ItemProperty -Path $UserKey -Name "IsInstalled" -Value 0 -Force
Stop-Process -Name Explorer -Force -ErrorAction Continue
Write-Host "IE Enhanced Security Configuration (ESC) has been disabled."
}
function Disable-InternetExplorerWelcomeScreen {
$AdminKey = "HKLM:\Software\Policies\Microsoft\Internet Explorer\Main"
New-Item -Path $AdminKey -Value 1 -Force
Set-ItemProperty -Path $AdminKey -Name "DisableFirstRunCustomize" -Value 1 -Force
Write-Host "Disabled IE Welcome screen"
}
function Disable-UserAccessControl {
Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "ConsentPromptBehaviorAdmin" -Value 00000000 -Force
Write-Host "User Access Control (UAC) has been disabled."
}
Import-Module -Name ImageHelpers -Force
Write-Host "Setup PowerShellGet"
# Set-PSRepository -InstallationPolicy Trusted -Name PSGallery
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Install-Module -Name PowerShellGet -Force
Set-PSRepository -InstallationPolicy Trusted -Name PSGallery
Write-Host "Disable Antivirus"
Set-MpPreference -DisableRealtimeMonitoring $true
# Disable Windows Update
$AutoUpdatePath = "HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
If (Test-Path -Path $AutoUpdatePath) {
Set-ItemProperty -Path $AutoUpdatePath -Name NoAutoUpdate -Value 1
Write-Host "Disabled Windows Update"
}
else {
Write-Host "Windows Update key does not exist"
}
# Install Windows .NET Features
Install-WindowsFeature -Name NET-Framework-Features -IncludeAllSubFeature
Install-WindowsFeature -Name NET-Framework-45-Features -IncludeAllSubFeature
Install-WindowsFeature -Name BITS -IncludeAllSubFeature
Install-WindowsFeature -Name DSC-Service
Write-Host "Disable UAC"
Disable-UserAccessControl
Write-Host "Disable IE Welcome Screen"
Disable-InternetExplorerWelcomeScreen
Write-Host "Disable IE ESC"
Disable-InternetExplorerESC
Write-Host "Setting local execution policy"
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope MachinePolicy -ErrorAction Continue | Out-Null
Get-ExecutionPolicy -List
Write-Host "Enable long path behavior"
# See https://docs.microsoft.com/en-us/windows/desktop/fileio/naming-a-file#maximum-path-length-limitation
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value 1
Write-Host "Install chocolatey"
$chocoExePath = 'C:\ProgramData\Chocolatey\bin'
if ($($env:Path).ToLower().Contains($($chocoExePath).ToLower())) {
Write-Host "Chocolatey found in PATH, skipping install..."
Exit
}
# Add to system PATH
$systemPath = [Environment]::GetEnvironmentVariable('Path', [System.EnvironmentVariableTarget]::Machine)
$systemPath += ';' + $chocoExePath
[Environment]::SetEnvironmentVariable("PATH", $systemPath, [System.EnvironmentVariableTarget]::Machine)
# Update local process' path
$userPath = [Environment]::GetEnvironmentVariable('Path', [System.EnvironmentVariableTarget]::User)
if ($userPath) {
$env:Path = $systemPath + ";" + $userPath
}
else {
$env:Path = $systemPath
}
# Run the installer
Invoke-Expression ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
# Turn off confirmation
choco feature enable -n allowGlobalConfirmation
# Install webpi
choco install webpicmd -y
# Expand disk size of OS drive
New-Item -Path d:\ -Name cmds.txt -ItemType File -Force
Add-Content -Path d:\cmds.txt "SELECT VOLUME=C`r`nEXTEND"
$expandResult = (diskpart /s 'd:\cmds.txt')
Write-Host $expandResult
Write-Host "Disk sizes after expansion"
wmic logicaldisk get size,freespace,caption
# Adding description of the software to Markdown
$Content = @"
# Hosted Windows2016 image
The following software is installed on machines in the **Hosted Windows2016** (v$env:ImageVersion) pool.
Components marked with **\*** have been upgraded since the previous version of the image.
"@
Add-ContentToMarkdown -Content $Content
$SoftwareName = "Chocolatey"
if( $( $(choco version) | Out-String) -match 'Chocolatey v(?<version>.*).*' )
{
$chocoVersion = $Matches.version.Trim()
}
$Description = @"
_Version:_ $chocoVersion<br/>
_Environment:_
* PATH: contains location for choco.exe
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description

View File

@@ -0,0 +1,29 @@
################################################################################
## File: Install-Python.ps1
## Team: CI-X
## Desc: Configure python on path with 3.6.* version from the tools cache
## Must run after tools cache is setup
################################################################################
Import-Module -Name ImageHelpers -Force
$python36path = $Env:AGENT_TOOLSDIRECTORY + '/Python/3.6*/x64'
$pythonDir = Get-Item -Path $python36path
if($pythonDir -is [array])
{
Write-Host "More than one python 3.6.* installations found"
Write-Host $pythonDir
exit 1
}
$currentPath = Get-MachinePath
if ($currentPath | Select-String -SimpleMatch $pythonDir.FullName)
{
Write-Host $pythonDir.FullName ' is already in PATH'
exit 0
}
Add-MachinePathItem -PathItem $pythonDir.FullName
Add-MachinePathItem -PathItem "$($pythonDir.FullName)\Scripts"

View File

@@ -0,0 +1,24 @@
################################################################################
## File: Install-SSDT.ps1
## Team: CI-Platform
## Desc: Install SQL Server Data Tools for Windows
################################################################################
Import-Module -Name ImageHelpers -Force
#SSDT for Visual Studio 2017 (15.8.2)
$InstallerURI = 'https://download.microsoft.com/download/D/F/8/DF8B51B9-8E9F-47F3-A27B-33EEDADD8966/SSDT-Setup-ENU.exe'
$InstallerName = 'SSDT-Setup-ENU.exe'
$logFilePath = "$env:TEMP\ssdtlog.txt"
$ArgumentList = ('/install', 'INSTALLALL', '/passive', '/norestart', "/log `"$logFilePath`"")
$exitCode = Install-EXE -Url $InstallerURI -Name $InstallerName -ArgumentList $ArgumentList
if($exitCode -ne 0 -and $exitCode -ne 3010)
{
Write-Host "******** SSDT SETUP LOG START ********"
Write-Host $(Get-Content $logFilePath | Out-String)
Write-Host "******** SSDT SETUP LOG END ********"
}
exit $exitCode

View File

@@ -0,0 +1,202 @@
################################################################################
## File: Install-VS2017.ps1
## Team: CI-Build
## Desc: Install Visual Studio 2017
################################################################################
Function InstallVS
{
Param
(
[String]$WorkLoads,
[String]$Sku,
[String] $VSBootstrapperURL
)
$exitCode = -1
try
{
Write-Host "Enable short name support on Windows needed for Xamarin Android AOT, defaults appear to have been changed in Azure VMs"
$shortNameEnableProcess = Start-Process -FilePath fsutil.exe -ArgumentList ('8dot3name', 'set', '0') -Wait -PassThru
$shortNameEnableExitCode = $shortNameEnableProcess.ExitCode
if ($shortNameEnableExitCode -ne 0)
{
Write-Host -Object 'Enabling short name support on Windows failed. This needs to be enabled prior to VS 2017 install for Xamarin Andriod AOT to work.'
exit $shortNameEnableExitCode
}
Write-Host "Downloading Bootstrapper ..."
Invoke-WebRequest -Uri $VSBootstrapperURL -OutFile "${env:Temp}\vs_$Sku.exe"
$FilePath = "${env:Temp}\vs_$Sku.exe"
$Arguments = ('/c', $FilePath, $WorkLoads, '--quiet', '--norestart', '--wait', '--nocache' )
Write-Host "Starting Install ..."
$process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru
$exitCode = $process.ExitCode
if ($exitCode -eq 0 -or $exitCode -eq 3010)
{
Write-Host -Object 'Installation successful'
return $exitCode
}
else
{
Write-Host -Object "Non zero exit code returned by the installation process : $exitCode."
# this wont work because of log size limitation in extension manager
# Get-Content $customLogFilePath | Write-Host
exit $exitCode
}
}
catch
{
Write-Host -Object "Failed to install Visual Studio. Check the logs for details in $customLogFilePath"
Write-Host -Object $_.Exception.Message
exit -1
}
}
$WorkLoads = '--allWorkloads --includeRecommended ' + `
'--add Microsoft.Net.Component.4.6.2.SDK ' + `
'--add Microsoft.Net.Component.4.6.2.TargetingPack ' + `
'--add Microsoft.Net.ComponentGroup.4.6.2.DeveloperTools ' + `
'--add Microsoft.Net.Component.4.7.SDK ' + `
'--add Microsoft.Net.Component.4.7.TargetingPack ' + `
'--add Microsoft.Net.ComponentGroup.4.7.DeveloperTools ' + `
'--add Microsoft.Net.Component.4.7.1.SDK ' + `
'--add Microsoft.Net.Component.4.7.1.TargetingPack ' + `
'--add Microsoft.Net.ComponentGroup.4.7.1.DeveloperTools ' + `
'--add Microsoft.Net.ComponentGroup.4.7.2.DeveloperTools ' + `
'--add Microsoft.Net.Core.Component.SDK.1x ' + `
'--add Microsoft.NetCore.1x.ComponentGroup.Web ' + `
'--add Microsoft.VisualStudio.Component.Azure.Storage.AzCopy ' + `
'--add Microsoft.VisualStudio.Component.PowerShell.Tools ' + `
'--add Microsoft.VisualStudio.Component.VC.140 ' + `
'--add Component.Dotfuscator ' + `
'--add Microsoft.VisualStudio.Component.VC.ATL ' + `
'--add Microsoft.VisualStudio.Component.VC.ATL.ARM ' + `
'--add Microsoft.VisualStudio.Component.VC.ATL.ARM64 ' + `
'--add Microsoft.VisualStudio.Component.VC.ATLMFC ' + `
'--add Microsoft.VisualStudio.Component.VC.ClangC2 ' + `
'--add Microsoft.VisualStudio.Component.VC.CLI.Support ' + `
'--add Microsoft.VisualStudio.Component.VC.Modules.x86.x64 ' + `
'--add Microsoft.VisualStudio.Component.Windows10SDK.10240 ' + `
'--add Microsoft.VisualStudio.Component.Windows10SDK.10586 ' + `
'--add Microsoft.VisualStudio.Component.Windows10SDK.14393 ' + `
'--add Microsoft.VisualStudio.Component.Windows10SDK.15063.Desktop ' + `
'--add Component.Unreal ' + `
'--add Component.Unreal.Android ' + `
'--add Component.Android.SDK23 ' + `
'--add Microsoft.VisualStudio.Component.TestTools.WebLoadTest ' + `
'--add Microsoft.VisualStudio.Web.Mvc4.ComponentGroup ' + `
'--add Component.Linux.CMake ' + `
'--add Microsoft.Component.PythonTools.UWP ' + `
'--remove Component.CPython3.x64 ' + `
'--add Microsoft.Component.VC.Runtime.OSSupport ' + `
'--add Microsoft.VisualStudio.Component.VC.Tools.ARM ' + `
'--add Microsoft.VisualStudio.ComponentGroup.UWP.VC ' + `
'--add Microsoft.VisualStudio.Component.VSSDK ' + `
'--add Microsoft.VisualStudio.Component.LinqToSql ' + `
'--add Microsoft.VisualStudio.Component.TestTools.CodedUITest ' + `
'--add Microsoft.VisualStudio.Component.TestTools.Core ' + `
'--add Microsoft.VisualStudio.Component.TypeScript.2.0 ' + `
'--add Microsoft.VisualStudio.Component.TypeScript.2.1 ' + `
'--add Microsoft.VisualStudio.Component.TypeScript.2.2 ' + `
'--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 ' + `
'--add Microsoft.VisualStudio.Component.Windows10SDK.16299.Desktop.arm ' + `
'--add Microsoft.VisualStudio.Component.DslTools ' + `
'--add Microsoft.VisualStudio.Component.Windows81SDK ' + `
'--add Microsoft.VisualStudio.Component.WinXP ' + `
'--add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Win81 ' + `
'--add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.WinXP ' + `
'--add Microsoft.VisualStudio.ComponentGroup.ArchitectureTools.Managed ' + `
'--add Microsoft.Component.Blend.SDK.WPF ' + `
'--add Microsoft.Component.VC.Runtime.UCRTSDK ' + `
'--add Microsoft.VisualStudio.Component.VC.ATL.Spectre ' + `
'--add Microsoft.VisualStudio.Component.VC.ATL.ARM.Spectre ' + `
'--add Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre ' + `
'--add Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre ' + `
'--add Microsoft.VisualStudio.Component.Windows10SDK.17134 ' + `
'--add Microsoft.VisualStudio.Component.Windows10SDK.17763 ' + `
'--add Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre '+ `
'--add Microsoft.VisualStudio.Component.VC.Runtimes.ARM.Spectre ' + `
'--add Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre '
$Sku = 'Enterprise'
$VSBootstrapperURL = 'https://aka.ms/vs/15/release/vs_enterprise.exe'
$ErrorActionPreference = 'Stop'
# Install VS
$exitCode = InstallVS -WorkLoads $WorkLoads -Sku $Sku -VSBootstrapperURL $VSBootstrapperURL
# Find the version of VS installed for this instance
# Only supports a single instance
$vsProgramData = Get-Item -Path "C:\ProgramData\Microsoft\VisualStudio\Packages\_Instances"
$instanceFolders = Get-ChildItem -Path $vsProgramData.FullName
if($instanceFolders -is [array])
{
Write-Host "More than one instance installed"
exit 1
}
$catalogContent = Get-Content -Path ($instanceFolders.FullName + '\catalog.json')
$catalog = $catalogContent | ConvertFrom-Json
$version = $catalog.info.id
$VSInstallRoot = "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise"
Write-Host "Visual Studio version" $version "installed"
# Initialize Visual Studio Experimental Instance for integration testing
&"$VSInstallRoot\Common7\IDE\devenv.exe" /RootSuffix Exp /ResetSettings General.vssettings /Command File.Exit | Wait-Process
# Updating content of MachineState.json file to disable autoupdate of VSIX extensions
$newContent = '{"Extensions":[{"Key":"1e906ff5-9da8-4091-a299-5c253c55fdc9","Value":{"ShouldAutoUpdate":false}},{"Key":"Microsoft.VisualStudio.Web.AzureFunctions","Value":{"ShouldAutoUpdate":false}}],"ShouldAutoUpdate":false,"ShouldCheckForUpdates":false}'
Set-Content -Path "$VSInstallRoot\Common7\IDE\Extensions\MachineState.json" -Value $newContent
# Adding description of the software to Markdown
$SoftwareName = "Visual Studio 2017 Enterprise"
$Description = @"
_Version:_ $version<br/>
_Location:_ $VSInstallRoot
The following workloads including required and recommended components are installed with Visual Studio 2017:
* Universal Windows Platform development
* .NET desktop development
* Desktop development with C++
* ASP.NET and web development
* Azure development
* Node.js development
* Data storage and processing
* Data science and analytical applications *
* Game development with Unity *
* Linux development with C++ *
* Game development with C++ *
* Mobile development with C++ *
* Office/SharePoint development
* Mobile development with .NET
* .NET Core cross-platform development
* Visual Studio extension development *
* Python development *
* Mobile development with JavaScript *
In addition the following optional components are installed:
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
# Adding explicitly added Workloads details to markdown by parsing $Workloads
Add-ContentToMarkdown -Content $($WorkLoads.Split('--') | % { if( ($_.Split(" "))[0] -like "add") { "* " +($_.Split(" "))[1] } } )
exit $exitCode

View File

@@ -0,0 +1,52 @@
################################################################################
## File: Install-WDK.ps1
## Team: CI-X
## Desc: Install the Windows Driver Kit
################################################################################
# Version: 10.0.17763.0
# Update Validate-WDK.ps1 if the version changes!
# There doesn't seem to be any way to check the version programmatically
# Requires Windows SDK with the same version number as the WDK
$winSdkUrl = "https://go.microsoft.com/fwlink/p/?LinkID=2023014"
$wdkUrl = "https://go.microsoft.com/fwlink/?linkid=2026156"
# `winsdksetup.exe /features + /quiet` installs all features without showing the GUI
$sdkExitCode = Install-EXE -Url $winSdkUrl -Name "winsdksetup.exe" -ArgumentList ("/features", "+", "/quiet")
if ($sdkExitCode -ne 0)
{
Write-Host "Failed to install the Windows SDK."
exit $sdkExitCode
}
# `wdksetup.exe /features + /quiet` installs all features without showing the GUI
$wdkExitCode = Install-EXE -Url $wdkUrl -Name "wdksetup.exe" -ArgumentList ("/features", "+", "/quiet")
if ($wdkExitCode -ne 0)
{
Write-Host "Failed to install the Windows Driver Kit."
exit $wdkExitCode
}
# Need to install the VSIX to get the build targets when running VSBuild
Write-Host "Installing WDK.vsix"
$process = Start-Process `
-FilePath "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VSIXInstaller.exe" `
-ArgumentList ("/quiet", '"C:\Program Files (x86)\Windows Kits\10\Vsix\WDK.vsix"') `
-Wait `
-PassThru
$exitCode = $process.ExitCode
if ($exitCode -eq 0 -or $exitCode -eq 1001) # 1001 means the extension is already installed
{
Write-Host "WDK.vsix installed successfully"
}
else
{
Write-Host "Unsuccessful exit code returned by the installation process: $exitCode."
}
exit $exitCode

View File

@@ -0,0 +1,15 @@
################################################################################
## File: Install-Win81SDK.ps1
## Team: CI-Platform
## Desc: Install Windows 8.1 SDK
################################################################################
Import-Module -Name ImageHelpers -Force
$InstallerURI = 'http://download.microsoft.com/download/B/0/C/B0C80BA3-8AD6-4958-810B-6882485230B5/standalonesdk/sdksetup.exe'
$InstallerName = 'sdksetup.exe'
$ArgumentList = ('/quiet', '/norestart')
$exitCode = Install-EXE -Url $InstallerURI -Name $InstallerName -ArgumentList $ArgumentList
exit $exitCode

View File

@@ -0,0 +1,54 @@
################################################################################
## File: Install-Wix.ps1
## Team: CI-Build
## Desc: Install WIX.
################################################################################
function Install-VsixExtension
{
Param
(
[String]$Url,
[String]$Name
)
$exitCode = -1
try
{
Write-Host "Downloading $Name..."
$FilePath = "${env:Temp}\$Name"
Invoke-WebRequest -Uri $Url -OutFile $FilePath
$ArgumentList = ('/quiet', $FilePath)
Write-Host "Starting Install $Name..."
$process = Start-Process -FilePath 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VSIXInstaller.exe' -ArgumentList $ArgumentList -Wait -PassThru
$exitCode = $process.ExitCode
if ($exitCode -eq 0 -or $exitCode -eq 3010)
{
Write-Host -Object 'Installation successful'
return $exitCode
}
else
{
Write-Host -Object "Non zero exit code returned by the installation process : $exitCode."
return $exitCode
}
}
catch
{
Write-Host -Object "Failed to install the Extension $Name"
Write-Host -Object $_.Exception.Message
return -1
}
}
choco install wixtoolset -y --force
#Installing VS extension 'Wix Toolset Visual Studio 2017 Extension'
$exitCode = Install-VsixExtension -Url 'https://robmensching.gallerycdn.vsassets.io/extensions/robmensching/wixtoolsetvisualstudio2017extension/0.9.21.62588/1494013210879/250616/4/Votive2017.vsix' -Name 'Votive2017.vsix'
return $exitCode

View File

@@ -0,0 +1,20 @@
################################################################################
## File: Run-Antivirus.ps1
## Team: CI-Platform
## Desc: Run a full antivirus scan.
## Run right after cleanup before we sysprep
################################################################################
Write-Host "Run antivirus"
Push-Location "C:\Program Files\Windows Defender"
# Tell Defender to use 100% of the CPU during the scan
Set-MpPreference -ScanAvgCPULoadFactor 100
# Full Scan
.\MpCmdRun.exe -Scan -ScanType 2
Pop-Location
Write-Host "Set antivirus parmeters"
Set-MpPreference -ScanAvgCPULoadFactor 5 `
-ExclusionPath "D:\", "C:\"

View File

@@ -0,0 +1,36 @@
################################################################################
## File: Update-DockerImages.ps1
## Team: ReleaseManagement
## Desc: Pull some standard docker images.
## Must be run after docker is installed.
################################################################################
function DockerPull {
Param ([string]$image)
Write-Host Installing $image ...
docker pull $image
if (!$?) {
echo "Docker pull failed with a non-zero exit code"
exit 1
}
}
DockerPull mcr.microsoft.com/windows/servercore:ltsc2016
DockerPull mcr.microsoft.com/windows/nanoserver:10.0.14393.953
DockerPull microsoft/aspnetcore-build:1.0-2.0
DockerPull mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2016
DockerPull mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2016
# Adding description of the software to Markdown
$SoftwareName = "Docker images"
$Description = @"
The following container images have been cached:
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
Add-ContentToMarkdown -Content $(docker images --digests --format "* {{.Repository}}:{{.Tag}} (Digest: {{.Digest}})")

View File

@@ -0,0 +1,51 @@
################################################################################
## File: Validate-SSDT.ps1
## Team: CI-Platform
## Desc: Validate SQL Server Data Tools for Windows
################################################################################
Import-Module -Name ImageHelpers -Force
function Get-SSDTExtensionPackage {
$vsProgramData = Get-Item -Path "C:\ProgramData\Microsoft\VisualStudio\Packages\_Instances"
$instanceFolders = Get-ChildItem -Path $vsProgramData.FullName
if($instanceFolders -is [array])
{
Write-Host "More than one instance installed"
exit 1
}
$stateContent = Get-Content -Path ($instanceFolders.FullName + '\state.packages.json')
$state = $stateContent | ConvertFrom-Json
$SsdtPackage = $state.packages | where { $_.id -eq "SSDT" }
return $SsdtPackage
}
$SsdtPackage = Get-SSDTExtensionPackage
if($SsdtPackage){
Write-Host "SSDT version" $SsdtPackage.version "installed"
}
else {
Write-Host "SSDT is not installed"
exit 1
}
# Adding description of the software to Markdown
$SoftwareName = "SQL Server Data Tools for VS 2017"
$Description = @"
_Version:_ $($SsdtPackage.version)<br/>
The following components are installed:
* SQL Server Data Tools
* SQL Server Analysis Services Designer
* SQL Server Integration Services Designer
* SQL Server Reporting Services Designers
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description

View File

@@ -0,0 +1,14 @@
################################################################################
## File: Validate-WDK.ps1
## Team: CI-X
## Desc: Validate the installation of the Windows Driver Kit
################################################################################
# Adding description of the software to Markdown
$SoftwareName = "Windows Driver Kit"
$Description = @"
_Version:_ 10.0.17763.0<br/>
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description

View File

@@ -0,0 +1,63 @@
################################################################################
## File: Validate-Wix.ps1
## Team: CI-Build
## Desc: Validate WIX.
################################################################################
Import-Module -Name ImageHelpers -Force
function Get-WixVersion {
$regKey = "HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*"
$installedApplications = Get-ItemProperty -Path $regKey
$Version = ($installedApplications | Where-Object { $_.DisplayName -and $_.DisplayName.toLower().Contains("wix") } | Select-Object -First 1).DisplayVersion
return $Version
}
#Gets the extension details from state.json
function Get-WixExtensionPackage {
$vsProgramData = Get-Item -Path "C:\ProgramData\Microsoft\VisualStudio\Packages\_Instances"
$instanceFolders = Get-ChildItem -Path $vsProgramData.FullName
if($instanceFolders -is [array])
{
Write-Host "More than one instance installed"
exit 1
}
$stateContent = Get-Content -Path ($instanceFolders.FullName + '\state.packages.json')
$state = $stateContent | ConvertFrom-Json
$WixPackage = $state.packages | where { $_.id -eq "WixToolset.VisualStudioExtension.Dev15" }
return $WixPackage
}
$WixToolSetVersion = Get-WixVersion
if($WixToolSetVersion) {
Write-Host "Wix Toolset version" $WixPackage.version "installed"
}
else {
Write-Host "Wix Toolset is not installed"
exit 1
}
$WixPackage = Get-WixExtensionPackage
if($WixPackage) {
Write-Host "Wix Extension version" $WixPackage.version "installed"
}
else {
Write-Host "Wix Extension is not installed"
exit 1
}
# Adding description of the software to Markdown
$SoftwareName = "WIX Tools"
$Description = @"
_Toolset Version:_ $WixToolSetVersion<br/>
_WIX Toolset Studio 2017 Extension Version:_ $($WixPackage.version)<br/>
_Environment:_
* WIX: Installation root of WIX
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description

View File

@@ -1,5 +1,6 @@
################################################################################
## File: Initialize-VM.ps1
## Team: CI-Platform
## Desc: VM initialization script, machine level configuration
################################################################################
@@ -118,9 +119,9 @@ wmic logicaldisk get size,freespace,caption
# Adding description of the software to Markdown
$Content = @"
# Azure Pipelines Hosted Windows 2019
# Hosted Windows 2019
The following software is installed on machines in the Azure Pipelines **Hosted Windows 2019** (v$env:ImageVersion) pool.
The following software is installed on machines in the **Hosted Windows 2019** (v$env:ImageVersion) pool.
Components marked with **\*** have been upgraded since the previous version of the image.

View File

@@ -1,5 +1,6 @@
################################################################################
## File: Install-Python.ps1
## Team: CI-X
## Desc: Configure python on path with 3.7.* version from the tools cache
## Must run after tools cache is setup
################################################################################

View File

@@ -1,5 +1,6 @@
################################################################################
## File: Install-VS2019.ps1
## Team: CI-Build
## Desc: Install Visual Studio 2019
################################################################################
$ErrorActionPreference = "Stop"
@@ -107,6 +108,7 @@ $WorkLoads = '--allWorkloads --includeRecommended ' + `
'--add Microsoft.VisualStudio.Component.VC.TestAdapterForBoostTest ' + `
'--add Microsoft.VisualStudio.Component.VC.TestAdapterForGoogleTest ' + `
'--add Microsoft.VisualStudio.Component.VC.v141 ' + `
'--add Microsoft.VisualStudio.Component.VC.v141.x86.x64 ' + `
'--add Microsoft.VisualStudio.Component.Windows10SDK.16299 ' + `
'--add Microsoft.VisualStudio.Component.Windows10SDK.17134 ' + `
'--add Microsoft.VisualStudio.Component.Windows10SDK.17763 ' + `

View File

@@ -1,5 +1,6 @@
################################################################################
## File: Install-WDK.ps1
## Team: CI-X
## Desc: Install the Windows Driver Kit
################################################################################

View File

@@ -1,5 +1,6 @@
################################################################################
## File: Install-Wix.ps1
## Team: CI-Build
## Desc: Install WIX.
################################################################################
function Install-VsixExtension

View File

@@ -1,5 +1,6 @@
################################################################################
## File: Run-Antivirus.ps1
## Team: CI-Platform
## Desc: Run a full antivirus scan.
## Run right after cleanup before we sysprep
################################################################################
@@ -24,4 +25,4 @@ Pop-Location
Update-MpSignature
Write-Host "Set antivirus parmeters"
Set-MpPreference -ScanAvgCPULoadFactor 5 `
-ExclusionPath "D:\", "C:\"
-ExclusionPath "D:\", "C:\"

View File

@@ -1,5 +1,6 @@
################################################################################
## File: Update-DockerImages.ps1
## Team: ReleaseManagement
## Desc: Pull some standard docker images.
## Must be run after docker is installed.
################################################################################

View File

@@ -1,5 +1,6 @@
################################################################################
## File: Validate-WDK.ps1
## Team: CI-X
## Desc: Validate the installation of the Windows Driver Kit
################################################################################
@@ -10,4 +11,4 @@ $Description = @"
_Version:_ 10.0.17763.0<br/>
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description

View File

@@ -1,5 +1,6 @@
################################################################################
## File: Validate-Wix.ps1
## Team: CI-Build
## Desc: Validate WIX.
################################################################################

View File

@@ -1 +1 @@
Common scripts for all Windows images.
Common scripts for all Windows images regardless of Visual Studio or OS version