Empire Earth
Developers | |
---|---|
Stainless Steel Studios | |
Publishers | |
Sierra Entertainment | |
Release Date | |
Windows: November 12, 2001 | |
Genres | |
Real Time Strategy (RTS) | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Play Empire Earth | Empire Earth.exe | {InstallDir}/Empire Earth | True | |
Play Empire Earth: The Art of Conquest | EE-AOC.exe | {InstallDir}/Empire Earth - The Art of Conquest | True |
Install Script
The game requires many registry entries in order to launch.
$InstallDir = $PSScriptRoot
$Path = "HKCU:\Software\SSSI\Empire Earth"
$Volume = Split-Path -Path $InstallDir -Qualifier
$Directory = $($(Split-Path -Path $InstallDir -NoQualifier) + "\Empire Earth").ToUpper()
New-Item -Path "$Path"
New-Item -Path "$Path\Game Options"
New-ItemProperty -Path "$Path" -Name "Take JPG Screenshots" -Value 1 -Force
New-ItemProperty -Path "$Path" -Name "Installed From Volume" -Value $Volume -Force
New-ItemProperty -Path "$Path" -Name "Installed From Directory" -Value $Directory -Force
New-ItemProperty -Path "$Path" -Name "UseCandidateWindow" -Value 0 -Force
Uninstall Script
Removes keys that the install script added
$Path = "HKCU:\Software\SSSI\Empire Earth"
Remove-Item -Path "$Path" -Force -Recurse