atomic7431 Posted September 21, 2003 Posted September 21, 2003 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 offECHO.ECHO This will install MOHAA, Spearhead, Plus all patches :) ECHOECHOECHO Registering Mohaa & SpearheadCOPY "%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.regECHOECHO Installing MOHAA Original ECHO Please Wait...start /wait %systemdrive%\install\cd1\Setup.exe -s -f1"%systemdrive%\install\cd1\setup.iss" ECHOECHOECHO 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" ECHOECHOECHO Installing MOHAA Spearhead ECHO Please Wait... ECHOstart /wait %systemdrive%\install\Spearhead\setup\Setup.exe -s -f1"%systemdrive%\install\Spearhead\setup\setup.iss" ECHOECHO 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"ECHOECHOECHO 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"ECHOECHODEL "c:\Medal of Honor Allied Assault Spearhead_Code.exe"DEL "c:\Medal of Honor Allied Assault Spearhead_eReg.exe"ECHOECHO Finished Mohaa Script EXIThere 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.000File=Response File[File Transfer]OverwrittenReadOnly=NoToAll[{0DEA94ED-915A-4834-A87E-388D012C8E02}-DlgOrder]Dlg0={0DEA94ED-915A-4834-A87E-388D012C8E02}-SdWelcome-0Count=9Dlg1={0DEA94ED-915A-4834-A87E-388D012C8E02}-MessageBox-0Dlg2={0DEA94ED-915A-4834-A87E-388D012C8E02}-AskYesNo-0Dlg3={0DEA94ED-915A-4834-A87E-388D012C8E02}-SdAskDestPath-0Dlg4={0DEA94ED-915A-4834-A87E-388D012C8E02}-AskYesNo-1Dlg5={0DEA94ED-915A-4834-A87E-388D012C8E02}-SdSetupTypeEx-0Dlg6={0DEA94ED-915A-4834-A87E-388D012C8E02}-SdSelectFolder-0Dlg7={0DEA94ED-915A-4834-A87E-388D012C8E02}-AskYesNo-2Dlg8={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\MOHAAResult=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 AssaultResult=1[{0DEA94ED-915A-4834-A87E-388D012C8E02}-AskYesNo-2]Result=1[Application]Name=Medal of Honor Allied AssaultVersion=1.2.1.100Company=EA GAMESLang=0009[{0DEA94ED-915A-4834-A87E-388D012C8E02}-SdFinish-0]Result=1bOpt1=0bOpt2=0and heres the setup.iss for the 1.11 uk patch -[InstallShield Silent]Version=v6.00.000File=Response File[File Transfer]OverwrittenReadOnly=NoToAll[{96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-DlgOrder]Dlg0={96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-SdWelcome-0Count=6Dlg1={96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-SdWelcome-1Dlg2={96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-AskYesNo-0Dlg3={96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-SdAskDestPath-0Dlg4={96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-SdShowInfoList-0Dlg5={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 PatchVersion=1.11Company=Electronic ArtsLang=0009[{96DEBE72-2FD4-46C7-BF03-B024CAF69D83}-SdFinish-0]Result=1bOpt1=0bOpt2=0and for spearhead setup.iss - [InstallShield Silent]Version=v6.00.000File=Response File[File Transfer]OverwrittenReadOnly=NoToAll[{7914BE1E-F186-4790-B8F4-9F63C52A41C1}-DlgOrder]Dlg0={7914BE1E-F186-4790-B8F4-9F63C52A41C1}-SdWelcome-0Count=5Dlg1={7914BE1E-F186-4790-B8F4-9F63C52A41C1}-SdAskDestPath-0Dlg2={7914BE1E-F186-4790-B8F4-9F63C52A41C1}-AskYesNo-0Dlg3={7914BE1E-F186-4790-B8F4-9F63C52A41C1}-AskYesNo-1Dlg4={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\MOHAAResult=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) SpearheadVersion=2.0Company=Electronic ArtsLang=0009[{7914BE1E-F186-4790-B8F4-9F63C52A41C1}-SdFinish-0]Result=1bOpt1=0bOpt2=0and the ver 2.11 spearhead patch setup.iss - [InstallShield Silent]Version=v6.00.000File=Response File[File Transfer]OverwrittenReadOnly=NoToAll[{BE699EDC-9E58-4671-A23E-9CDF7F6F42F2}-DlgOrder]Dlg0={BE699EDC-9E58-4671-A23E-9CDF7F6F42F2}-SdWelcome-0Count=2Dlg1={BE699EDC-9E58-4671-A23E-9CDF7F6F42F2}-SdFinish-0[{BE699EDC-9E58-4671-A23E-9CDF7F6F42F2}-SdWelcome-0]Result=1[Application]Name=Medal of Honor Allied Assault(tm) SpearheadVersion=2.11Company=Electronic ArtsLang=0009[{BE699EDC-9E58-4671-A23E-9CDF7F6F42F2}-SdFinish-0]Result=1bOpt1=0bOpt2=0and for the 2.11 to 2.15 patch, setup.iss - [InstallShield Silent]Version=v6.00.000File=Response File[File Transfer]OverwrittenReadOnly=NoToAll[{18EF2DEE-DCB0-466A-ABA5-4C73E508530A}-DlgOrder]Dlg0={18EF2DEE-DCB0-466A-ABA5-4C73E508530A}-SdWelcome-0Count=2Dlg1={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.15Version=2.15Company=Electronic ArtsLang=0009[{18EF2DEE-DCB0-466A-ABA5-4C73E508530A}-SdFinish-0]Result=1bOpt1=0bOpt2=0I 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 itpatch folder - 1.11, 2.11 and 2.15 patches in itall 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 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
Unwonted Posted September 21, 2003 Posted September 21, 2003 LOL!! You are the man! MOHAA is something I install on my computer all the time anyway, so this actually helps me
atomic7431 Posted September 21, 2003 Author Posted September 21, 2003 yeah me too its one of the first things i install as long as u have a dvd burner (size) then it works sweet.
Brindamour Posted November 14, 2004 Posted November 14, 2004 @Atomic 7431This 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. 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....
SiMoNsAyS Posted November 14, 2004 Posted November 14, 2004 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?
Brindamour Posted November 14, 2004 Posted November 14, 2004 @SimonsaysI am in the 3FSJ Clan, and we normally play on our own server (Australian based of course), check out 3FSJI 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.
SiMoNsAyS Posted November 14, 2004 Posted November 14, 2004 (edited) 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 OFFTITLE Instalacion de Medal of Honor: Deluxe EditionCOLOR 20ECHO. ____ECHO ______________________________ ____________/ /________ECHO -=-=-=-=/ __________________/ _ \ _ \/ ____\____ \ / \/ ____\-=-=-=-=-ECHO ____\___ \/ \/ _ _ / / / / /\___ \/ / /__ /\___ \ECHO -=-=-/ ________/ ___/__/_/ /_____/__/ /______/\_____/ / /______/=-=-=-=ECHO \/(-Dvc!-)\/ / _/ / _/ /_____/ECHO \/ \/ECHO.ECHO.ECHO Instalando Medal of Honor: Deluxe EditionECHO 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=%%dFOR %%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=%%dIF EXIST %MEDAL%\MOHAA\setup.iss %MEDAL%\MOHDLX.CMDIF 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"EXITfor mount.cmd:@echo offTITLE Instalacion de Medal of Honor: Deluxe EditionCOLOR 20ECHO Por favor inserta el DVD de Medal of Honor: Deluxe EditionECHO 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=%%dSTART /WAIT %CDROM%\$OEM$\pause.cmdFOR %%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=%%dIF EXIST %MEDAL%\MOHAA\setup.iss "%PROGRAMFILES%\D-Tools\daemon.exe" -noicon -mount 0,%MEDAL%\MOHSH\SPEAR.ISOEXIT for unmount.cmd:@echo offTITLE Instalacion de Medal of Honor: Deluxe EditionCOLOR 20FOR %%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=%%dECHO Por favor inserta el CD de Instalacion de Windows XP SP2ECHO En 1 minuto se continuara la instalacion...START /WAIT %CDROM%\$OEM$\pause.cmd"%PROGRAMFILES%\D-Tools\daemon.exe" -noicon -unmount 0EXITand for pause.cmd:@echo offcmdow @ /HIDPING -n 61 127.0.0.1>nulexiti know this looks really complecated but if i could write it i'm sure is not that difficult hope it can help you Edited November 14, 2004 by SiMoNsAyS
Brindamour Posted November 14, 2004 Posted November 14, 2004 My scripting knowledge is limited to what I have learnt in a week or two from trawling these forums. It would be great if you could decompile that AutoIT for me.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now