Skip to content
This repository was archived by the owner on Dec 10, 2018. It is now read-only.

Commit 5c6b32b

Browse files
committed
fixes ESD-ISO bug when combining Pro and Core in the correct way
1 parent 3937601 commit 5c6b32b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

bin/esd_lib.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ function Get-InfosFromESD (
645645

646646
if ($esdinformations.count -eq 1) {
647647
$DVDLabel = $esdinformations[0].VolumeLabel
648-
} elseif ($esdinformations.count -eq 2 -and $esdinformations[0].Editions -eq "Core" -and $esdinformations[1].Editions -eq "Professional" -and $parts -eq 1) {
648+
} elseif ($esdinformations.count -eq 2 -and $esdinformations[0].Editions -eq "Professional" -and $esdinformations[1].Editions -eq "Core" -and $parts -eq 1) {
649649
$DVDLabel = ($tag+'_CCSA_'+$arch+$ltag+$esdinformations[0].LanguageCode+'_'+$DVD).ToUpper()
650650
} else {
651651
$DVDLabel = "ESD-ISO"

bin/main.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ function global:Get-InfosFromESD (
616616

617617
if ($esdinformations.count -eq 1) {
618618
$DVDLabel = $esdinformations[0].VolumeLabel
619-
} elseif ($esdinformations.count -eq 2 -and $esdinformations[0].Editions -eq "Core" -and $esdinformations[1].Editions -eq "Professional" -and $parts -eq 1) {
619+
} elseif ($esdinformations.count -eq 2 -and $esdinformations[0].Editions -eq "Professional" -and $esdinformations[1].Editions -eq "Core" -and $parts -eq 1) {
620620
$DVDLabel = ($tag+'_CCSA_'+$arch+$ltag+$esdinformations[0].LanguageCode+'_'+$DVD).ToUpper()
621621
} else {
622622
$DVDLabel = "ESD-ISO"

0 commit comments

Comments
 (0)