Jump to content

mohaa and spearhead


 Share

Recommended Posts

dont know if anyone is interested but ive managed to get mohaa and spearhead plus all patches to install silently without problems info below if interested :)

obviously u will need a dvd disc for this to work !

this is my mohaa_install.cmd file -

CLS
@echo off
ECHO.
ECHO This will install MOHAA, Spearhead, Plus all patches :)
ECHO
ECHO
ECHO Registering Mohaa & Spearhead
COPY "%systemdrive%\Install\Spearhead\eReg\Medal of Honor Allied Assault Spearhead_Code.exe" "c:\"
COPY "%systemdrive%\Install\Spearhead\eReg\Medal of Honor Allied Assault Spearhead_eReg.exe" "c:\"
REGEDIT /S %systemdrive%\install\mohaaspearhead.reg
ECHO
ECHO Installing MOHAA Original
ECHO Please Wait...
start /wait %systemdrive%\install\cd1\Setup.exe -s -f1"%systemdrive%\install\cd1\setup.iss"
ECHO
ECHO
ECHO Installing MOHAA Patch 1.11
ECHO Please Wait...
start /wait %systemdrive%\Install\crack_and_patch\MOHAA_UKUS_ONLY_patch111\Setup.exe -s -f1"%systemdrive%\install\MOHAA_UKUS_ONLY_patch111\setup.iss"
ECHO
ECHO
ECHO Installing MOHAA Spearhead
ECHO Please Wait...
ECHO
start /wait %systemdrive%\install\Spearhead\setup\Setup.exe -s -f1"%systemdrive%\install\Spearhead\setup\setup.iss"
ECHO
ECHO Installing MOHAA Spearhead Patch 2.11
ECHO Please Wait...
start /wait %systemdrive%\install\patch\mohaas_patch_20_to_211\Setup.exe -s -f1"%systemdrive%\install\patch\mohaas_patch_20_to_211\setup.iss"
ECHO
ECHO
ECHO Installing MOHAA Spearhead Patch 2.15
ECHO Please Wait...
start /wait %systemdrive%\install\patch\mohaas_patch_211_to_215\Setup.exe -s -f1"%systemdrive%\install\patch\mohaas_patch_211_to_215\setup.iss"
ECHO
ECHO
DEL "c:\Medal of Honor Allied Assault Spearhead_Code.exe"
DEL "c:\Medal of Honor Allied Assault Spearhead_eReg.exe"
ECHO
ECHO Finished Mohaa Script
EXIT

here is the mohaaspearhead.reg file -

this way u wont have to enter ur serial where it normally asks u to it will skip it.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Electronic Arts\EA Games\Medal of Honor Allied Assault\ergc]
@="Serial goes here"

[HKEY_LOCAL_MACHINE\SOFTWARE\Electronic Arts\EA Games\Medal of Honor Allied Assault Spearhead\ergc]
@="Serial goes here"

Here is my setup.iss for mohaa -

[InstallShield Silent]
Version=v6.00.000
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{0DEA94ED-915A-4834-A87E-388D012C8E02}-DlgOrder]
Dlg0={0DEA94ED-915A-4834-A87E-388D012C8E02}-SdWelcome-0
Count=9
Dlg1={0DEA94ED-915A-4834-A87E-388D012C8E02}-MessageBox-0
Dlg2={0DEA94ED-915A-4834-A87E-388D012C8E02}-AskYesNo-0
Dlg3={0DEA94ED-915A-4834-A87E-388D012C8E02}-SdAskDestPath-0
Dlg4={0DEA94ED-915A-4834-A87E-388D012C8E02}-AskYesNo-1
Dlg5={0DEA94ED-915A-4834-A87E-388D012C8E02}-SdSetupTypeEx-0
Dlg6={0DEA94ED-915A-4834-A87E-388D012C8E02}-SdSelectFolder-0
Dlg7={0DEA94ED-915A-4834-A87E-388D012C8E02}-AskYesNo-2
Dlg8={0DEA94ED-915A-4834-A87E-388D012C8E02}-SdFinish-0
[{0DEA94ED-915A-4834-A87E-388D012C8E02}-SdWelcome-0]
Result=1
[{0DEA94ED-915A-4834-A87E-388D012C8E02}-MessageBox-0]
Result=1
[{0DEA94ED-915A-4834-A87E-388D012C8E02}-AskYesNo-0]
Result=0
[{0DEA94ED-915A-4834-A87E-388D012C8E02}-SdAskDestPath-0]
szDir=C:\Program Files\EA GAMES\MOHAA
Result=1
[{0DEA94ED-915A-4834-A87E-388D012C8E02}-AskYesNo-1]
Result=1
[{0DEA94ED-915A-4834-A87E-388D012C8E02}-SdSetupTypeEx-0]
Result=Typical
[{0DEA94ED-915A-4834-A87E-388D012C8E02}-SdSelectFolder-0]
szFolder=EA GAMES\Medal of Honor Allied Assault
Result=1
[{0DEA94ED-915A-4834-A87E-388D012C8E02}-AskYesNo-2]
Result=1
[Application]
Name=Medal of Honor Allied Assault
Version=1.2.1.100
Company=EA GAMES
Lang=0009
[{0DEA94ED-915A-4834-A87E-388D012C8E02}-SdFinish-0]
Result=1
bOpt1=0
bOpt2=0

and heres the setup.iss for the 1.11 uk patch -

[InstallShield Silent]
Version=v6.00.000
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-DlgOrder]
Dlg0={96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-SdWelcome-0
Count=6
Dlg1={96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-SdWelcome-1
Dlg2={96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-AskYesNo-0
Dlg3={96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-SdAskDestPath-0
Dlg4={96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-SdShowInfoList-0
Dlg5={96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-SdFinish-0
[{96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-SdWelcome-0]
Result=1
[{96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-SdWelcome-1]
Result=1
[{96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-AskYesNo-0]
Result=1
[{96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-SdAskDestPath-0]
szDir=C:\Program Files\EA GAMES\MOHAA\
Result=1
[{96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-SdShowInfoList-0]
Result=1
[Application]
Name=Medal of Honor Allied Assault UK & US 1.11 Patch
Version=1.11
Company=Electronic Arts
Lang=0009
[{96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-SdFinish-0]
Result=1
bOpt1=0
bOpt2=0

and for spearhead setup.iss -

[InstallShield Silent]
Version=v6.00.000
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{7914BE1E-F186-4790-B8F4-9F63C52A41C1}-DlgOrder]
Dlg0={7914BE1E-F186-4790-B8F4-9F63C52A41C1}-SdWelcome-0
Count=5
Dlg1={7914BE1E-F186-4790-B8F4-9F63C52A41C1}-SdAskDestPath-0
Dlg2={7914BE1E-F186-4790-B8F4-9F63C52A41C1}-AskYesNo-0
Dlg3={7914BE1E-F186-4790-B8F4-9F63C52A41C1}-AskYesNo-1
Dlg4={7914BE1E-F186-4790-B8F4-9F63C52A41C1}-SdFinish-0
[{7914BE1E-F186-4790-B8F4-9F63C52A41C1}-SdWelcome-0]
Result=1
[{7914BE1E-F186-4790-B8F4-9F63C52A41C1}-SdAskDestPath-0]
szDir=C:\Program Files\EA GAMES\MOHAA
Result=1
[{7914BE1E-F186-4790-B8F4-9F63C52A41C1}-AskYesNo-0]
Result=1
[{7914BE1E-F186-4790-B8F4-9F63C52A41C1}-AskYesNo-1]
Result=0
[Application]
Name=Medal of Honor Allied Assault(tm) Spearhead
Version=2.0
Company=Electronic Arts
Lang=0009
[{7914BE1E-F186-4790-B8F4-9F63C52A41C1}-SdFinish-0]
Result=1
bOpt1=0
bOpt2=0

and the ver 2.11 spearhead patch setup.iss -

[InstallShield Silent]
Version=v6.00.000
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{BE699EDC-9E58-4671-A23E-9CDF7F6F42F2}-DlgOrder]
Dlg0={BE699EDC-9E58-4671-A23E-9CDF7F6F42F2}-SdWelcome-0
Count=2
Dlg1={BE699EDC-9E58-4671-A23E-9CDF7F6F42F2}-SdFinish-0
[{BE699EDC-9E58-4671-A23E-9CDF7F6F42F2}-SdWelcome-0]
Result=1
[Application]
Name=Medal of Honor Allied Assault(tm) Spearhead
Version=2.11
Company=Electronic Arts
Lang=0009
[{BE699EDC-9E58-4671-A23E-9CDF7F6F42F2}-SdFinish-0]
Result=1
bOpt1=0
bOpt2=0

and for the 2.11 to 2.15 patch, setup.iss -

[InstallShield Silent]
Version=v6.00.000
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{18EF2DEE-DCB0-466A-ABA5-4C73E508530A}-DlgOrder]
Dlg0={18EF2DEE-DCB0-466A-ABA5-4C73E508530A}-SdWelcome-0
Count=2
Dlg1={18EF2DEE-DCB0-466A-ABA5-4C73E508530A}-SdFinish-0
[{18EF2DEE-DCB0-466A-ABA5-4C73E508530A}-SdWelcome-0]
Result=1
[Application]
Name=Medal of Honor Allied Assault(tm) Spearhead Patch 2.15
Version=2.15
Company=Electronic Arts
Lang=0009
[{18EF2DEE-DCB0-466A-ABA5-4C73E508530A}-SdFinish-0]
Result=1
bOpt1=0
bOpt2=0

I have my structure as follows -

Install  folder then inside here is as follows -

cd1      folder - mohaa original
cd2      folder - mohaa original
Spearhead  folder - speahead in it
patch   folder - 1.11, 2.11 and 2.15 patches in it

all the setup.iss files go into the corresponding folders example setup.iss for mohaa goes into cd1, setup.iss for spearhead into the spearhead\setup folder and so on.

I extracted all 3 patches into there own folders before putting the setup.iss files in with them or else it wouldnt work so setup.iss into MOHAA_UKUS_ONLY_patch111, and setup.iss into mohaas_patch_20_to_211, and setup.iss into mohaas_patch_211_to_215, using the right setup.iss from above.

Mohaa original is 2 discs so obviously i just dragged and dropped cd 1 into cd1 folder and cd 2 onto cd2 folder and the same with spearhead into spearhead folder.

Mohaa even though its 2 discs (or 2 folders) it doesnt ask for cd2 like it does when u install it off the original cds, it just carries on and automatically locates cd2 folder on its own, i must addmit this was a pure stroke of luck but hey it works so who cares :rolleyes:

As u can probably see in the script it copies spearhead regcode files to the c:\ if it didnt or doesnt spearhead will not install saying it cant find the file so it is needed, but it does delete it a little further down in the script.

I hope this makes sense and is of use to someone, it takes a bit longer to copy over when installing but i just leave it and all runs well :D

Link to comment
Share on other sites


  • 1 year later...

@Atomic 7431

This was posted over a year ago, but I have only just started creating my own Unattended Install DVD. I just wanted to let you know, if you still view this post for updates, that your info here is excellent and I would like to thank you. :thumbup

Have you been able to get MOH Breakthrough to work at all? I am getting a file copy error to do with th iKernal. However when I run my script after all the installation is completed, it works fine. Ah well.... :wacko:

Link to comment
Share on other sites

i can't believe it! some1 did exactly the same work as me after a couple of weeks!

i tried to burn a dvd with moh, spearhead and breakthough but i got problems because i didn't want to switch CDs so the isos on the DVD are mounted by daemon tools automatically and installed perfectly.

for breakthough i needed to built an autoit script because the reg trick didn't work.

if some1 is interested i'll write a little guide to silent install windows + a dvd of applications unattended without need to switch between them.

also tell me... on what server do u play? :P

Link to comment
Share on other sites

@Simonsays

I am in the 3FSJ Clan, and we normally play on our own server (Australian based of course), check out

3FSJ

I am insterested in your AutoIT script, as mine is nearly working, but I am having trouble with the Reg Trick. Post it here or just email it. Thanks.

Did I read your post correctly? Do you mean that you load up Daemon Tools during the installation process and mount the CD as drives so that they can be installed from there? Sounds like a lot of work.

Link to comment
Share on other sites

autoit script is really simple, simply you need to run the installation and type the serial. my exe file is compiled but i can decompile it if you can't find a solution.

i built that dvd installation for me and a friend who has a clan GreenDevilS clan and GreenDevilS server, i usually play there and mostly on spanish servers.

here is the code... that launch the installation

@ECHO OFF
TITLE Instalacion de Medal of Honor: Deluxe Edition
COLOR 20
ECHO.                                                        ____
ECHO            ______________________________  ____________/   /________
ECHO   -=-=-=-=/ __________________/  _ \  _  \/ ____\____  \  /  \/ ____\-=-=-=-=-
ECHO       ____\___ \/   \/ _ _   /   / /  /  /\___ \/   /  /__   /\___ \
ECHO -=-=-/ ________/ ___/__/_/  /_____/__/  /______/\_____/  /  /______/=-=-=-=
ECHO      \/(-Dvc!-)\/       / _/        / _/             /_____/
ECHO                         \/          \/
ECHO.
ECHO.
ECHO Instalando Medal of Honor: Deluxe Edition
ECHO Por favor espera...
FOR %%d IN (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) DO IF EXIST %%d\$OEM$\BioHaZaRD.nfo SET CDROM=%%d
FOR %%d IN (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) DO IF EXIST %%d\MOHAA\setup.iss SET MEDAL=%%d
IF EXIST %MEDAL%\MOHAA\setup.iss %MEDAL%\MOHDLX.CMD
IF EXIST %MEDAL%\MOHAA\setup.iss DEL /F /Q "%ALLUSERSPROFILE%\Escritorio\Medal of Honor Allied Assault.lnk"
IF EXIST %MEDAL%\MOHAA\setup.iss DEL /F /Q "%ALLUSERSPROFILE%\Escritorio\Medal of Honor Allied Assault(tm) Spearhead.lnk"
EXIT

for mount.cmd:

@echo off
TITLE Instalacion de Medal of Honor: Deluxe Edition
COLOR 20
ECHO Por favor inserta el DVD de Medal of Honor: Deluxe Edition
ECHO En 1 minuto se continuara la instalacion...
FOR %%d IN (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) DO IF EXIST %%d\$OEM$\BioHaZaRD.nfo SET CDROM=%%d
START /WAIT %CDROM%\$OEM$\pause.cmd
FOR %%d IN (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) DO IF EXIST %%d\MOHAA\setup.iss SET MEDAL=%%d
IF EXIST %MEDAL%\MOHAA\setup.iss "%PROGRAMFILES%\D-Tools\daemon.exe" -noicon -mount 0,%MEDAL%\MOHSH\SPEAR.ISO
EXIT

for unmount.cmd:

@echo off
TITLE Instalacion de Medal of Honor: Deluxe Edition
COLOR 20
FOR %%d IN (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) DO IF EXIST %%d\$OEM$\BioHaZaRD.nfo SET CDROM=%%d
ECHO Por favor inserta el CD de Instalacion de Windows XP SP2
ECHO En 1 minuto se continuara la instalacion...
START /WAIT %CDROM%\$OEM$\pause.cmd
"%PROGRAMFILES%\D-Tools\daemon.exe" -noicon -unmount 0
EXIT

and for pause.cmd:

@echo off
cmdow @ /HID
PING -n 61 127.0.0.1>nul
exit

i know this looks really complecated but if i could write it i'm sure is not that difficult :P

hope it can help you

Edited by SiMoNsAyS
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...