Fix non-functioning code
This commit is contained in:
parent
df0ba4da11
commit
0b08f97a63
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ function Invoke-WindowsInstallation([Context] $context)
|
||||||
choco install -y firefox selenium-gecko-driver;
|
choco install -y firefox selenium-gecko-driver;
|
||||||
Install-Package -Force Selenium.WebDriver -SkipDependencies;
|
Install-Package -Force Selenium.WebDriver -SkipDependencies;
|
||||||
|
|
||||||
$context.Set("SoftwarePrerequisitesInstalled", 1);
|
$context.Set("SoftwarePrerequisitesInstalled", 1, "DWord");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (-not $context.Get("DriversInstalled")) {
|
if (-not $context.Get("DriversInstalled")) {
|
||||||
|
@ -32,7 +32,7 @@ function Invoke-WindowsInstallation([Context] $context)
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Information "Finished installing drivers";
|
Write-Information "Finished installing drivers";
|
||||||
$context.Set("DriversInstalled", 1);
|
$context.Set("DriversInstalled", 1, "DWord");
|
||||||
$context.Reboot();
|
$context.Reboot();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue