File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1571,9 +1571,14 @@ function Get-UnattendedInstallFiles {
1571
1571
$ErrorActionPreference = "SilentlyContinue"
1572
1572
1573
1573
$SearchLocations = @( "c:\sysprep\sysprep.xml",
1574
+ "c:\sysprep\sysprep.inf",
1574
1575
"c:\sysprep.inf",
1575
1576
(join-path $env:windir "\Panther\Unattended.xml"),
1576
- (join-path $env:windir "\Panther\Unattend\Unattended.xml") )
1577
+ (join-path $env:windir "\Panther\Unattend\Unattended.xml"),
1578
+ (join-path $env:windir "\Panther\Unattend.xml"),
1579
+ (join-path $env:windir "\Panther\Unattend\Unattend.xml"),
1580
+ (join-path $env:windir "\System32\Sysprep\unattend.xml"),
1581
+ (join-path $env:windir "\System32\Sysprep\Panther\unattend.xml"))
1577
1582
1578
1583
# test the existence of each path and return anything found
1579
1584
$SearchLocations | where { Test-Path $_ }
You can’t perform that action at this time.
0 commit comments