Page 1 of 1 |
Raccoon
Posts: 3160
Location: Poland
|
Posted: Sat, 3rd Nov 2012 23:13 Post subject: The untold mysteries of EA's __Installer folder |
|
 |
This is more a curiosity than any required knowledge, but who knows... Maybe one day it will prove itself useful for some of you.
Every recent game by EA that's been bound to Origin has __Installer folder within its game files. It always holds the following files:
Cleanup.dat
Cleanup.exe <-- uninstaller
installerdata.xml
Touchup.dat
Touchup.exe <-- installer
plus some typical redistributable packages.
Unfortunately, the whole operation doesn't just boil down to simple double clicking the installer file. Touchup.exe is a command line tool. Nonetheless, very easy to use with only few parameters.
Here's how it works:
Code: | Touchup.exe install -locale en_US -installPath "full_game_path" -autologging -startmenuIcon=1 -desktopIcon=1 |
Where:
-locale - put a valid language code from GDF file here
-installPath - put full path of your game folder here, contained within quotation marks
-startmenuIcon=1 and -desktopIcon=1 are fully optional
Q: What exactly this whole thing does?
A: Some quite useful things actually:
- automatically creates desktop and Start Menu shortcuts
- installs GDF library (adds game icon to Vista/7's Game Explorer for those 5 people that need them)
- creates registry entries
- sets up deserved language (all locale files are required; defaults to English otherwise)
- automatically installs all necessary prerequisites (DirectX, Visual++, etc...)
- adds application to Windows Firewall exception list
- creates Uninstall entry in 'Programs and Features' (for some reason doesn't work for latest Medal of Honor*)
Spoiler: | *to uninstall Medal of Honor Warfighter you must run:
Code: | Cleanup.exe uninstall_game -autologging -keepMaintenanceLog |
from "C:\Program Files (x86)\Common Files\EAInstaller\Medal of Honor Warfighter"
EDIT: Nope! Just use this:
http://www.mediafire.com/?2nd5jn3albt7a2k
EDIT 2: There's some ugly interference with FLT's installer. |
Q: Does it interfere with my Origin client/account in any way?
A: None that I would know of.
Q: I want to steal Skidrow/Reloaded/FLT's stuff, repack it, and release as my own. How do I incorporate it into my Inno Setup Script?
A: An example from Mass Effect 3:
Code: | [Run]
Filename: {app}\__Installer\Touchup.exe; Parameters: "install -locale en_US -installPath ""(app)"" -autologging -startmenuIcon=1 -desktopIcon=1"; StatusMsg: "Installing prerequisites..."; Flags: RunAsCurrentUser; Languages: english;
Filename: {app}\__Installer\Touchup.exe; Parameters: "install -locale pl_PL -installPath ""(app)"" -autologging -startmenuIcon=1 -desktopIcon=1"; StatusMsg: "Trwa instalacja wymaganych składników..."; Flags: RunAsCurrentUser; Languages: polish; |
Q: Any tutorial?
A: Of course.
Let's say you've downloaded latest Need for Speed: Most Wanted packed into a single zip file, unzipped it and put everything into: "E:\Shitty EA Games\Need for Shit MW".
1) Open __Installer folder.
2) Right click on empty space and create a new text file.
3) Open it, copy/paste:
Code: | Touchup.exe install -locale en_US -installPath "E:\Shitty EA Games\Need for Shit MW" -autologging -startmenuIcon=1 -desktopIcon=1 |
Save and close.
4) Rename that text file to 'Install.bat'. (Mind the extension!)
5) Double click the batch file. Wait till it has finished (cmd window will close itself).
6) You're done!
Note!
By any circumstances do not delete 'mnfst.txt' from Support folder. It's essential for Uninstall process to complete.
"Anatidaephobia is the fear that somewhere in the world there is a duck watching you."
Fuck Polish government for oppressing women!
"People are such awful conversationalists that they’ll interrupt you when you’re answering a question they asked."
Last edited by Raccoon on Mon, 5th Nov 2012 00:36; edited 7 times in total
|
|
Back to top |
|
 |
garus
VIP Member
Posts: 34200
|
Posted: Sat, 3rd Nov 2012 23:25 Post subject: |
|
 |
snip
Last edited by garus on Tue, 27th Aug 2024 21:53; edited 1 time in total
|
|
Back to top |
|
 |
Raccoon
Posts: 3160
Location: Poland
|
Posted: Sat, 3rd Nov 2012 23:28 Post subject: |
|
 |
|
|
Back to top |
|
 |
ixigia
[Moderator] Consigliere
Posts: 65039
Location: Italy
|
Posted: Sun, 4th Nov 2012 00:31 Post subject: |
|
 |
Another epic Raccoon guide® !
Fun fact of the day: this afternoon I've spent 50 minutes trying to figure out why FIFA 13 (Origin of course) kept looping the "Ready to install" button instead of showing the "Play" one. Turns out that Origin auto-derped and changed the path in the registry adding a completely useless "\" at the end which screwed up everything. 
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
|
Posted: Sun, 4th Nov 2012 14:29 Post subject: |
|
 |
EA just created they own self made full rips tool .. LOL
|
|
Back to top |
|
 |
ixigia
[Moderator] Consigliere
Posts: 65039
Location: Italy
|
|
Back to top |
|
 |
Raccoon
Posts: 3160
Location: Poland
|
Posted: Sun, 4th Nov 2012 18:44 Post subject: |
|
 |
|
|
Back to top |
|
 |
JBeckman
VIP Member
Posts: 34863
Location: Sweden
|
Posted: Sun, 4th Nov 2012 19:17 Post subject: |
|
 |
It shows up as "Medal of Honor™ Warfighter" when I checked via Regedit, maybe something with using that tool stand-alone?
(Unsure where that info is supplied from, I knew that those two exe files were command line utilities but I didn't know much else other than what Origin logged about them, in any case this is a nice guide.)
|
|
Back to top |
|
 |
|
Posted: Sun, 4th Nov 2012 19:21 Post subject: |
|
 |
Aren't the missing Start Menu/Uninstall entries due to the FLT release? They have a custom installer (like in other past situations) which only extracts the Origin content into a folder of choice. Nothing else is created anywhere.
|
|
Back to top |
|
 |
Raccoon
Posts: 3160
Location: Poland
|
|
Back to top |
|
 |
Page 1 of 1 |
All times are GMT + 1 Hour |