Files
runner-images/images/windows/scripts/helpers/ImageHelpers.psm1
Vasilii Polikarpov d3e630f774 [Windows] Implement installation helpers refactoring (#8865)
* [Windows] Refactor base Installer helper functions

* Fix helper name

* Fix name gen logic and improve error handling

* Fix hash checking logic

* Fix Install-VsixExtension invocation

* Fix variable name in Install-OpenSSL.ps1

* Fix type for git downloadUrl
2023-11-22 15:14:08 +01:00

56 lines
1.4 KiB
PowerShell

[CmdletBinding()]
param()
. $PSScriptRoot\PathHelpers.ps1
. $PSScriptRoot\InstallHelpers.ps1
. $PSScriptRoot\ChocoHelpers.ps1
. $PSScriptRoot\VisualStudioHelpers.ps1
Export-ModuleMember -Function @(
'Connect-Hive'
'Disconnect-Hive'
'Test-MachinePath'
'Get-MachinePath'
'Get-DefaultPath'
'Set-MachinePath'
'Set-DefaultPath'
'Add-MachinePathItem'
'Add-DefaultPathItem'
'Add-DefaultItem'
'Get-SystemVariable'
'Get-DefaultVariable'
'Set-DefaultVariable'
'Install-Binary'
'Install-VisualStudio'
'Get-ToolsetContent'
'Get-ToolsetToolFullPath'
'Get-ToolcacheToolDirectory'
'Stop-SvcWithErrHandling'
'Set-SvcWithErrHandling'
'Start-DownloadWithRetry'
'Get-VsixExtenstionFromMarketplace'
'Install-VsixExtension'
'Get-VSExtensionVersion'
'Get-WinVersion'
'Test-IsWin22'
'Test-IsWin19'
'Install-ChocoPackage'
'Send-RequestToCocolateyPackages'
'Resolve-ChocoPackageVersion'
'Get-GitHubPackageDownloadUrl'
'Extract-7Zip'
'Invoke-SBWithRetry'
'Get-VsCatalogJsonPath'
'Install-AndroidSDKPackages'
'Get-AndroidPackages'
'Get-AndroidPackagesByName'
'Get-AndroidPackagesByVersion'
'Get-VisualStudioInstance'
'Get-VisualStudioComponents'
'Get-WindowsUpdatesHistory'
'New-ItemPath'
'Use-ChecksumComparison'
'Get-HashFromGitHubReleaseBody'
'Test-FileSignature'
)