Mikep7779 Posted November 9, 2005 Posted November 9, 2005 Too many installs to be seen on the Runonce list?How can i solve this?Pic enclosed
muiz Posted November 9, 2005 Posted November 9, 2005 Is this in vmware or a real machine?Look in your winnt.sif file [Display] BitsPerPel = 32 Xresolution = 1280 Yresolution = 1024 Vrefresh= 60 AutoConfirm=1Make sure you fill in your own settings.
gelome Posted November 9, 2005 Posted November 9, 2005 i get the same thing as well...i have abt 30 apllications.....ive tried divinding it into multimedia, internet, system, etc....and calling these runonce files from the answer file but to no avail...something goes drastically wrong.
OrcoXP Posted November 9, 2005 Posted November 9, 2005 Run your CMD file from CMDLines.txtI have attached my runonce file as an exampleJust rename it to .cmdGUIRunOnce.txt
diesel_98a Posted November 9, 2005 Posted November 9, 2005 i run about 20 installs, 6-7 of them are batch files, i use them to install the small stuff like wallpapers, user acct picts, & other misc things, in each batch file i have about 5-10 items, i am actually getting ready to revamp my install so the last batch file be4 cleanup will have about 10-15 installs..........
gunsmokingman Posted November 9, 2005 Posted November 9, 2005 Have you thought of breaking the install of apps into separate cmd that are installed by the runonce method.Example of what I mean, then inside of each cmd have all the app install.for %%i 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 %%i\SETUP.exe set CDROM=%%iSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "The Install Section" /fREG ADD %KEY%\000 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /VE /D "Application 001" /fREG ADD %KEY%\001 /V 1 /D "%CDROM%Apps\App1.cmd" /fREG ADD %KEY%\003 /VE /D "Application 002" /fREG ADD %KEY%\003 /V 1 /D "%CDROM%Apps\App2.cmd " /fREG ADD %KEY%\005 /VE /D "Application 003" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%Apps\App3.cmd" /f
Mikep7779 Posted November 9, 2005 Author Posted November 9, 2005 Run your CMD file from CMDLines.txtI have attached my runonce file as an exampleJust rename it to .cmdIs there a guide online so i can readup on doing that? (Spliting it into parts)
drscouse Posted November 9, 2005 Posted November 9, 2005 (edited) I have several runoncex windows, one for apps, one for regtweaks. one for cleanup.... I just called it runoncex2, and call it from the end of the original runonceex...Once windows is installed, ROE runs, installs hotifxes, reassings drive letters, then reboots, then runoncex2 runs, installs apps, then a new roe window opens to install regtweaks, and a final one to cleanup, its just a case of calling the roe procedure again.I will be happy to provide more info, but am at work at mo, and dont have access to the files...This is my runonceex2.cmd, which has multiple windows, so it is only as big as I want it!!!!SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExfor %%a in (z y x w v u t s r q p o n m l k j i h g f e d c) do if exist %%a:\I386 (set CDROM=%%a:goto install):installREG ADD %KEY% /V TITLE /D "Applications" /fREG ADD %KEY%\014 /VE /D "WinRAR" /fREG ADD %KEY%\004 /V 01 /D "\"%CDROM%\Software\WinRAR\WinRAR.exe\" /s" /fREG ADD %KEY%\015 /VE /D "UltraISO" /fREG ADD %KEY%\015 /V 01 /D "\"%CDROM%\Software\UltraISO\UltraISO.exe\" /VERYSILENT /SP-" /frundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Registry & Cleanup" /fREG ADD %KEY%\000 /VE /D "UltraISO" /fREG ADD %KEY%\000 /V 01 /D "regedit /s \"%CDROM%\Software\UltraISO\uisoREG.reg\"" /fREG ADD %KEY%\001 /VE /D "ExplorerXP" /fREG ADD %KEY%\001 /V 01 /D "regedit /s \"%CDROM%\Software\ExplorerXP\expREG.reg\"" /fREG ADD %KEY%\002 /VE /D "Download Manager" /fREG ADD %KEY%\002 /V 01 /D "regedit /s \"%CDROM%\Software\Free DownMan\fdmREG.reg\"" /fREG ADD %KEY%\003 /VE /D "WinRAR" /fREG ADD %KEY%\003 /V 01 /D "regedit /s \"%CDROM%\Software\WinRAR\wrarREG.reg\"" /frundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Custom Settings" /fREG ADD %KEY%\000 /VE /D "Restore Manual Logon" /fREG ADD %KEY%\000 /V 01 /D "regedit /s \"%WINDIR%\system32\manlogon.reg\"" /fREG ADD %KEY%\001 /VE /D "Remove PageFile" /fREG ADD %KEY%\001 /V 01 /D "%systemdrive%\removePF_D.cmd" /fREG ADD %KEY%\050 /VE /D "Clean & Reboot" /fREG ADD %KEY%\050 /V 5 /D "shutdown.exe -r -f -t 60 -c \"#FINAL BOOT SEQUENCE#\"" /frundll32.exe iernonce.dll,RunOnceExProcessEXITJust by inserting rundll32.exe iernonce.dll,RunOnceExProcessand starting the numbering sequence off agian, this opens up a new ROE window......I personally use 2 ROE.... and call the second one, from the end of the first one, which runs after a reboot... this is my original runonceex.cmd...cmdow @ /HIDSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExfor %%a in (z y x w v u t s r q p o n m l k j i h g f e d c) do if exist %%a:\I386 (set CDROM=%%a:goto install):installREG ADD %KEY% /V TITLE /D "Installing Drivers & Hotfixes" /fREG ADD %KEY%\000 /VE /D "ATi Control Panel" /fREG ADD %KEY%\000 /V 01 /D "\"%CDROM%\Software\ATi Control Panel\Setup.exe\" /k" /fREG ADD %KEY%\001 /VE /D "Nvidia Audo Mixer" /fREG ADD %KEY%\001 /V 01 /D "\"%CDROM%\Software\Nvidia Audo Mixer\Setup.exe\" /s" /fREG ADD %KEY%\002 /VE /D "AutoPatcher Sept2005" /fREG ADD %KEY%\002 /V 01 /D "\"%CDROM%\Software\AutoPatcher\AutoPatcher.exe\" /noeula /unattend:t1 /noreboot /defaults:%CDROM%\Software\AutoPatcher\defaults.ini" /fREG ADD %KEY%\003 /VE /D "UPHClean (WinService)" /fREG ADD %KEY%\003 /V 01 /D "\"%CDROM%\Software\UPHClean\uphclean.msi\" /quiet /passive" /fREG ADD %KEY%\004 /VE /D "ReAssign Drives" /fREG ADD %KEY%\004 /V 01 /D "%systemdrive%\mapdrive.cmd ENU" /fREG ADD %KEY%\005 /VE /D "Moving Pagefile" /fREG ADD %KEY%\005 /VE /D " " /fREG ADD %KEY%\005 /V 01 /D "%systemdrive%\createPF_X.cmd" /fREG ADD %KEY%\005 /V 02 /D "%systemdrive%\deletePF_C.cmd" /fREG ADD %KEY%\010 /VE /D "##REBOOT REQUIRED##" /fREG ADD %KEY%\010 /VE /D " " /fREG ADD %KEY%\010 /V 01 /D "%WINDIR%\system32\ShutDown.cmd" /fREG ADD %KEY%\015 /VE /D "##INSTALL APPS##" /fREG ADD %KEY%\015 /VE /D " " /fREG ADD %KEY%\015 /V 01 /D "%WINDIR%\system32\runonceex2.cmd" /frundll32.exe iernonce.dll,RunOnceExProcessEXIT Edited November 9, 2005 by drscouse
muiz Posted November 10, 2005 Posted November 10, 2005 so if i want 4x runonce , i have to reboot 4x ?
drscouse Posted November 10, 2005 Posted November 10, 2005 (edited) No.. thats not what I said... I personally reboot once, then it goes to the second runonceex....SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExfor %%a in (z y x w v u t s r q p o n m l k j i h g f e d c) do if exist %%a:\I386 (set CDROM=%%a:goto install):installREG ADD %KEY% /V TITLE /D "Applications" /fREG ADD %KEY%\014 /VE /D "WinRAR" /fREG ADD %KEY%\004 /V 01 /D "\"%CDROM%\Software\WinRAR\WinRAR.exe\" /s" /fREG ADD %KEY%\015 /VE /D "UltraISO" /fREG ADD %KEY%\015 /V 01 /D "\"%CDROM%\Software\UltraISO\UltraISO.exe\" /VERYSILENT /SP-" /frundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Registry & Cleanup" /fREG ADD %KEY%\000 /VE /D "UltraISO" /fREG ADD %KEY%\000 /V 01 /D "regedit /s \"%CDROM%\Software\UltraISO\uisoREG.reg\"" /fREG ADD %KEY%\001 /VE /D "ExplorerXP" /fREG ADD %KEY%\001 /V 01 /D "regedit /s \"%CDROM%\Software\ExplorerXP\expREG.reg\"" /fREG ADD %KEY%\002 /VE /D "Download Manager" /fREG ADD %KEY%\002 /V 01 /D "regedit /s \"%CDROM%\Software\Free DownMan\fdmREG.reg\"" /fREG ADD %KEY%\003 /VE /D "WinRAR" /fREG ADD %KEY%\003 /V 01 /D "regedit /s \"%CDROM%\Software\WinRAR\wrarREG.reg\"" /frundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Custom Settings" /fREG ADD %KEY%\000 /VE /D "Restore Manual Logon" /fREG ADD %KEY%\000 /V 01 /D "regedit /s \"%WINDIR%\system32\manlogon.reg\"" /fREG ADD %KEY%\001 /VE /D "Remove PageFile" /fREG ADD %KEY%\001 /V 01 /D "%systemdrive%\removePF_D.cmd" /fREG ADD %KEY%\050 /VE /D "Clean & Reboot" /fREG ADD %KEY%\050 /V 5 /D "shutdown.exe -r -f -t 60 -c \"#FINAL BOOT SEQUENCE#\"" /frundll32.exe iernonce.dll,RunOnceExProcessEXITJust by inserting rundll32.exe iernonce.dll,RunOnceExProcessand starting the numbering sequence off agian, this opens up a new ROE window......MY pc only reboots once, after installing hotfixes.... my first roe windowREG ADD %KEY% /V TITLE /D "Applications" /fmy second windowrundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Registry & Cleanup" /fand my final windows, all from same script, without rebooting.....rundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Custom Settings" /f Edited November 10, 2005 by drscouse
drscouse Posted November 10, 2005 Posted November 10, 2005 (edited) I only have 2 ROE, cos I choose to reboot after installing hotfixes.. my second ROE has 3 windows, and does not reboot after each one... If you have one ROE, all you need to do isJust by inserting rundll32.exe iernonce.dll,RunOnceExProcessand starting the numbering sequence off agian, this opens up a new ROE window......You DO NOT need to rebbot at all, that is just my personal preference... all can be done from a single ROE file, just add that line above, and start of the numbering sequence again...It is the rundll32.exe iernonce.dll,RunOnceExProcess that initiates a new ROE window...If you want 4, and want to reboot after each of them, you will need to call the appropiate file at the end of each one, as in my case, the last entry in my runonceex.cmd is to execute runonceex2.cmd and so on...I have highlighted the sections where a new window will open, notice the numbering starts from 00again...rundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Registry & Cleanup" /fREG ADD %KEY%\000 /VE /D "UltraISO" /fREG ADD %KEY%\000 /V 01 /D "regedit /s \"%CDROM%\Software\UltraISO\uisoREG.reg\"" /f Edited November 10, 2005 by drscouse
Orsi Posted November 11, 2005 Posted November 11, 2005 but with 'rundll32.exe iernonce.dll,RunOnceExProcess' lines RunOnceEx commands will be executed right the 12 min setup part, right?there's no way to avoid this and execute it only on 1st logon?
drscouse Posted November 11, 2005 Posted November 11, 2005 ROE works at first login...Im not an expert, but I thought only stuff in the cmdlines.txt executed at the t12 stage....All I know if it works fine for me, it seems to be a simple enough procedure... all I did was added that line, and started the numbering off, and a new ROE window opens up with the respective installs.. simple as thatThe script at the top of the page (forget about multiple ROEs) will run at first login.. 1st window will open for Applications, then install WinRAR, ultraISO, then the second window wil run, called Registry and Cleanup, and finally a new window for Custom settings...I sugges you try it, its a very simple procedure... it seems people are overcomplicating the process....
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