Enforce the activation of DirectPlay
This commit is contained in:
parent
a5bf93f5ed
commit
1354856096
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ $null = New-Module {
|
|||
|
||||
if (-not (Get-WindowsOptionalFeature -Online -FeatureName $feature).State) {
|
||||
Write-Information "Enabling the ``$feature`` feature";
|
||||
Enable-WindowsOptionalFeature -Online -FeatureName $feature;
|
||||
Enable-WindowsOptionalFeature -Online -All -FeatureName $feature;
|
||||
}
|
||||
|
||||
Write-Information "Installing TrackMania Nations Forever";
|
||||
|
|
|
@ -14,7 +14,7 @@ $null = New-Module {
|
|||
Write-Host "Restoring TrackMania United Forever";
|
||||
|
||||
if (-not (Get-WindowsOptionalFeature -Online -FeatureName $feature).State) {
|
||||
Enable-WindowsOptionalFeature -Online -FeatureName $feature;
|
||||
Enable-WindowsOptionalFeature -Online -All -FeatureName $feature;
|
||||
}
|
||||
|
||||
Write-Information "Determining location of setup file";
|
||||
|
|
Loading…
Reference in a new issue