benjammin Posted June 26, 2004 Share Posted June 26, 2004 what are advantages? RunOnceEx seems to involve much more typing... hehe... just wondering what the advantages of one over the other are... Link to comment Share on other sites More sharing options...
MCT Posted June 26, 2004 Share Posted June 26, 2004 personally, ive just converted to runonceEX, i personally like it cuz u get a GUI, instead of .cmd window EDIT: and with runonceEX u can just use an inf 2 install EVERYTHING it beats switching 2 cmd and running .reg files from cmd lolcmd is easier.. less typing (as u said)but, why not download a trial of vmware and play around a bit?regards Link to comment Share on other sites More sharing options...
mazin Posted June 26, 2004 Share Posted June 26, 2004 what are advantages? RunOnceEx seems to involve much more typing... hehe... just wondering what the advantages of one over the other are...The most obvious advantage of CMD is: Nothing fails under it.If you want to be in a mess of where to put QUOTES, use RunOnceEx. Link to comment Share on other sites More sharing options...
benjammin Posted June 26, 2004 Author Share Posted June 26, 2004 The most obvious advantage of CMD is: Nothing fails under it.what do you mean? why would stuff fail using RunOnceEx? (mistyping entries? or is there more problems than just that?) Link to comment Share on other sites More sharing options...
MCT Posted June 26, 2004 Share Posted June 26, 2004 ive never had any problems, (other then typing errors) its a bit harder tho Link to comment Share on other sites More sharing options...
mazin Posted June 26, 2004 Share Posted June 26, 2004 Quotes are the big problem. If you surfe this forum alittle, you can find many requests and complaints about quotes.Otherwise, runonceEX can be a good method. Link to comment Share on other sites More sharing options...
MCT Posted June 26, 2004 Share Posted June 26, 2004 took me about 7hrs to iron out my runonceex file, but that was from learning inf files to testing it about 10xNote: i wouldnt make an inf then burn it 2 cd and turn around and install windows on your normal pc, chances are first time u do it u will get some sort of error..play with it in vmware first 2 make sure it works wellregards Link to comment Share on other sites More sharing options...
Lost Soul Posted June 26, 2004 Share Posted June 26, 2004 i like the runonceex my self but they are right some times the quotes can be tricky like installing adobe reader 6 its switch has the double quote like this -p"-s /v\"/qn\"" now i bleave your supposed to just use a single goute at the end before the f but this one is giving me trouble lol good luck on your runonceex, most progs arnt like this one just a small few Link to comment Share on other sites More sharing options...
mazin Posted June 26, 2004 Share Posted June 26, 2004 Well, MCT. Nothing against you, of course, nor your way.But please, put this on your schedule: http://www.msfn.org/board/index.php?showtopic=21449 Link to comment Share on other sites More sharing options...
Weed Posted June 26, 2004 Share Posted June 26, 2004 iam using a runonceex.inf file and have no problemsin this inf r all the settings 4 windows 2000 unattended, preinstall; windows xp unattended, preinstall and aut. deleting desktop icons, logfiles,.....its very easy to build an inf filejust download one from gosh´s .inf files Link to comment Share on other sites More sharing options...
MCT Posted June 26, 2004 Share Posted June 26, 2004 ya, gosh's site is quite handy, thats what i used 2 get me startedregards Link to comment Share on other sites More sharing options...
knewman01 Posted June 27, 2004 Share Posted June 27, 2004 Heck, you don't even have to learn inf files. You can do the runonceex as a .cmd.Not as big a problem with quotes, and you get the gui. You can even build logic in. I have 4 UI's that I maintain. I have a base dir with all the globals, and a dir for each custom. A simple batch file compiles and burns into an ISO.runonceex.cmdcmdow @ /HID@echo offregedit /s pre_inst.regSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fIf EXIST %SYSTEMDRIVE%\Install\ati_drv.cmd (REG ADD %KEY%\005 /VE /D "ATI Driver" /fREG ADD %KEY%\005 /V 1 /D "%SYSTEMDRIVE%\Install\ati_drv.cmd" /f)If EXIST %SYSTEMDRIVE%\Install\ati_cpl.cmd (REG ADD %KEY%\010 /VE /D "ATI Control Panel" /fREG ADD %KEY%\010 /V 1 /D "%SYSTEMDRIVE%\Install\ati_cpl.cmd" /f)If EXIST %SYSTEMDRIVE%\Install\nvswap.cmd (REG ADD %KEY%\012 /VE /D "Nvidia Speaker Config Util" /fREG ADD %KEY%\012 /V 1 /D "%SYSTEMDRIVE%\Install\ati_cpl.cmd" /f)REG ADD %KEY%\015 /VE /D "DivX Standard 5.1.1" /fREG ADD %KEY%\015 /V 1 /D "%SYSTEMDRIVE%\install\codec.cmd" /fREG ADD %KEY%\020 /VE /D "Sun Java" /fREG ADD %KEY%\020 /V 1 /D "%SYSTEMDRIVE%\Install\java.cmd" /fIf EXIST %systemdrive%\install\applications\studiomx\dreamweavermx\setup.exe (REG ADD %KEY%\025 /VE /D "DreamweaverMX" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\applications\studiomx\dreamweavermx\setup.exe -s" /fREG ADD %KEY%\025 /V 2 /D "taskkill /F /im IEXPLORE.EXE" /f)If EXIST %systemdrive%\install\applications\studiomx\fireworksmx\setup.exe (REG ADD %KEY%\026 /VE /D "FireworksMX" /fREG ADD %KEY%\026 /V 1 /D "%systemdrive%\install\applications\studiomx\fireworksmx\setup.exe -s" /fREG ADD %KEY%\026 /V 2 /D "taskkill /F /im IEXPLORE.EXE" /f)If EXIST %SYSTEMDRIVE%\Install\applications\studiomx\mxstudio.reg (REG ADD %KEY%\027 /VE /D "Registering StudioMX" /fREG ADD %KEY%\027 /V 1 /D "regedit.exe /s %SYSTEMDRIVE%\Install\applications\studiomx\mxstudio.reg" /f)If EXIST %SYSTEMDRIVE%\install\Applications\Nero\nero551054.exe (REG ADD %KEY%\030 /VE /D "Nero Burning ROM v5.5.10.54" /fREG ADD %KEY%\030 /V 1 /D "%SYSTEMDRIVE%\install\Applications\Nero\nero551054.exe /silent /noreboot" /fREG ADD %KEY%\030 /V 2 /D "regedit /s %SYSTEMDRIVE%\install\applications\nero\nero.reg" /f)REG ADD %KEY%\040 /VE /D "AdAware 6" /fREG ADD %KEY%\040 /V 1 /D "%SYSTEMDRIVE%\install\Applications\adaware\aaw6.exe /s" /fREG ADD %KEY%\045 /VE /D "Acrobat Reader 6" /fREG ADD %KEY%\045 /V 1 /D "%SYSTEMDRIVE%\install\Applications\AdobeReader6\AR6.msi /QB" /fREG ADD %KEY%\050 /VE /D "Winzip" /fREG ADD %KEY%\050 /V 1 /D "%ProgramFiles%\WinZip\winzip32.exe" /noqp /autoinstall" /fif EXIST %SYSTEMDRIVE%\install\applications\itunes\itunessetup.exe (REG ADD %KEY%\060 /VE /D "iTunes 4.5" /fREG ADD %KEY%\060 /V 1 /D "%SYSTEMDRIVE%\install\applications\itunes\itunessetup.exe /s /v/qn" /f)if EXIST %SYSTEMDRIVE%\install\applications\virtpc\virtpc.msi (REG ADD %KEY%\070 /VE /D "VirtualPC 2004" /fREG ADD %KEY%\070 /V 1 /D "%SYSTEMDRIVE%\install\applications\virtpc\virtpc.msi /qn" /fREG ADD %KEY%\070 /V 2 /D "regedit /s %SYSTEMDRIVE%\install\applications\virtpc\virtpc.reg" /f)If EXIST %SYSTEMDRIVE%\install\windvd.cmd (REG ADD %KEY%\080 /VE /D "WinDVD 4" /fREG ADD %KEY%\080 /V 1 /D "%SYSTEMDRIVE%\install\windvd.cmd" /f)REG ADD %KEY%\090 /VE /D "Symantec AntiVirus Client" /fREG ADD %KEY%\090 /V 2 /D "%SYSTEMDRIVE%\install\Applications\sav\sav.msi /QB" /fREG ADD %KEY%\900 /VE /D "Applying Registry Tweaks" /fREG ADD %KEY%\900 /V 1 /D "regedit.exe /s %SYSTEMDRIVE%\Install\regtweaks.reg" /fREG ADD %KEY%\910 /VE /D "Removing Install Sources" /fREG ADD %KEY%\910 /V 1 /D "%SYSTEMDRIVE%\Install\remove-setup.cmd" /fREG ADD %KEY%\999 /VE /D "Preparing To Restart" /fREG ADD %KEY%\999 /V 1 /D "%SYSTEMDRIVE%\Finish.cmd" /fEXIT Link to comment Share on other sites More sharing options...
Alanoll Posted June 27, 2004 Share Posted June 27, 2004 INF are good for the sole purpose, of everthing is in one files. And there in lies the problem, one file. Some like smaller files. But you can do ALMOST everything from a INF file that you can with a batch file.Embedding quotes in an INF is simple enough, """ will embed the quote. and \" will embed it in the batch file.I personally consider is a tier level of how hard thigns are.CMD then INF. It's easier to use a CMD file.However, REG adds another complexity of it's own. Link to comment Share on other sites More sharing options...
yronnen Posted June 27, 2004 Share Posted June 27, 2004 I think that the cmd file has an advantage when you do not want to copy the installation files to the HDD. I've created a WinXP DVD with tons of installations, so instead of copying 3GB to the hard drive twice (once the installation files, and once installing the apps themselves) they are just being installed once. Link to comment Share on other sites More sharing options...
Alanoll Posted June 27, 2004 Share Posted June 27, 2004 you can do that with almost any method. CMD is just easier. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now