mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Add SQL Server Data Tools extensions to VS2019 (#559)
* add extensions * add exe installation * change Reporting Services name * add switch to function, add validation * change install wdk to function * Fix template * fix scripts name * add quotes * more quotes * one more quotes * get rid of duplicate code * move quotes to function * small improvment to wix installation * add comment to validate extensions script
This commit is contained in:
23
images/win/scripts/Installers/Install-Wix.ps1
Normal file
23
images/win/scripts/Installers/Install-Wix.ps1
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
## File: Install-Wix.ps1
|
||||
## Desc: Install WIX.
|
||||
################################################################################
|
||||
|
||||
Import-Module -Name ImageHelpers -Force;
|
||||
|
||||
choco install wixtoolset -y --force
|
||||
|
||||
if(Test-IsWin19)
|
||||
{
|
||||
$extensionUrl = "https://wixtoolset.gallerycdn.vsassets.io/extensions/wixtoolset/wixtoolsetvisualstudio2019extension/1.0.0.4/1563296438961/Votive2019.vsix"
|
||||
$VSver = "2019"
|
||||
}
|
||||
else
|
||||
{
|
||||
$extensionUrl = "https://robmensching.gallerycdn.vsassets.io/extensions/robmensching/wixtoolsetvisualstudio2017extension/0.9.21.62588/1494013210879/250616/4/Votive2017.vsix"
|
||||
$VSver = "2017"
|
||||
}
|
||||
|
||||
$extensionName = "Votive$VSver.vsix"
|
||||
#Installing VS extension 'Wix Toolset Visual Studio Extension'
|
||||
Install-VsixExtension -Url $extensionUrl -Name $extensionName -VSversion $VSver
|
||||
Reference in New Issue
Block a user