mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Replace win7 runtime with win8 and remove APISets (#18304)
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user