Replace win7 runtime with win8 and remove APISets (#18304)

This commit is contained in:
Aditya Patwardhan
2022-10-18 11:07:22 -07:00
committed by GitHub
parent bc1f3691f2
commit cc86f9ffd1
22 changed files with 52 additions and 546 deletions
+5 -5
View File
@@ -63,17 +63,17 @@ Describe -Name "Windows EXE" -Fixture {
Context "$Channel-$Runtime" {
BeforeAll {
Write-Verbose "cr-$channel-$runtime" -Verbose
switch ("$channel-$runtime") {
"preview-win7-x64" {
switch -regex ("$channel-$runtime") {
"preview-win\d*-x64" {
$msiUpgradeCode = '39243d76-adaf-42b1-94fb-16ecf83237c8'
}
"stable-win7-x64" {
"stable-win\d*-x64" {
$msiUpgradeCode = '31ab5147-9a97-4452-8443-d9709f0516e1'
}
"preview-win7-x86" {
"preview-win\d*-x86" {
$msiUpgradeCode = '86abcfbd-1ccc-4a88-b8b2-0facfde29094'
}
"stable-win7-x86" {
"stable-win\d*-x86" {
$msiUpgradeCode = '1d00683b-0f84-4db8-a64f-2f98ad42fe06'
}
default {
+5 -5
View File
@@ -145,23 +145,23 @@ Describe -Name "Windows MSI" -Fixture {
$pwshPath = Join-Path $env:ProgramFiles -ChildPath "PowerShell"
$pwshx86Path = Join-Path ${env:ProgramFiles(x86)} -ChildPath "PowerShell"
switch ("$channel-$runtime") {
"preview-win7-x64" {
switch -regex ("$channel-$runtime") {
"preview-win\d*-x64" {
$versionPath = Join-Path -Path $pwshPath -ChildPath '7-preview'
$revisionRange = 0, 99
$msiUpgradeCode = '39243d76-adaf-42b1-94fb-16ecf83237c8'
}
"stable-win7-x64" {
"stable-win\d*-x64" {
$versionPath = Join-Path -Path $pwshPath -ChildPath '7'
$revisionRange = 500, 500
$msiUpgradeCode = '31ab5147-9a97-4452-8443-d9709f0516e1'
}
"preview-win7-x86" {
"preview-win\d*-x86" {
$versionPath = Join-Path -Path $pwshx86Path -ChildPath '7-preview'
$revisionRange = 0, 99
$msiUpgradeCode = '86abcfbd-1ccc-4a88-b8b2-0facfde29094'
}
"stable-win7-x86" {
"stable-win\d*-x86" {
$versionPath = Join-Path -Path $pwshx86Path -ChildPath '7'
$revisionRange = 500, 500
$msiUpgradeCode = '1d00683b-0f84-4db8-a64f-2f98ad42fe06'