Actions
Name |
Path |
Arguments |
Working Directory |
Primary |
Run Widescreen Patch |
swgbwide_x1.exe |
|
{InstallDir} |
False |
Play |
wide_battlegrounds_x1.exe |
|
{InstallDir} |
True |
Install Script
Runs the widescreen patcher and then kills the process when complete.
$PatcherProcessInfo = New-Object System.Diagnostics.ProcessStartInfo
$PatcherProcessInfo.FileName = "$InstallDirectory\swgbwide_x1.exe"
$PatcherProcessInfo.RedirectStandardOutput = $true
$PatcherProcessInfo.UseShellExecute = $false
$PatcherProcessInfo.WorkingDirectory = $InstallDirectory
$PatcherProcess = New-Object System.Diagnostics.Process
$PatcherProcess.StartInfo = $PatcherProcessInfo
$PatcherProcess.Start()