Fix incorrect command
This commit is contained in:
parent
1affbba496
commit
7fcd6303d7
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ function Install-Firefox {
|
|||
param([Context] $context)
|
||||
|
||||
$tempDir = $context.GetTempDirectory();
|
||||
$configFile = "$tempDir/DefaultAssociations.xml";
|
||||
$configFile = "DefaultAssociations.xml";
|
||||
Push-Location $tempDir;
|
||||
|
||||
Write-Host "Installing Firefox";
|
||||
|
@ -16,7 +16,7 @@ function Install-Firefox {
|
|||
|
||||
[xml]$defaultAssociations = [xml]::new();
|
||||
$defaultAssociations.PreserveWhitespace = $true;
|
||||
$reader = [System.Xml.XmlReader]::Create("$drive\Autounattend.template.xml", $readerSettings);
|
||||
$reader = [System.Xml.XmlReader]::Create("$configFile", $readerSettings);
|
||||
$defaultAssociations.Load($reader);
|
||||
|
||||
$extensions = @(
|
||||
|
|
Loading…
Reference in a new issue