a1dutch Posted October 17, 2004 Share Posted October 17, 2004 iv got loads of programs on my batch file and the menu goes of the screen is there any way which i can do this below:->Office >office >frontpage >etc>Media > > >>Applications > >ive seen the above, what it does is to expand the current cattegory then callopse it once all the programs have been installed, anybody know how i can do this? Link to comment Share on other sites More sharing options...
lilweirddude Posted October 18, 2004 Share Posted October 18, 2004 i dont think it can be done with runonce, but it can be done with other methods Link to comment Share on other sites More sharing options...
a1dutch Posted October 18, 2004 Author Share Posted October 18, 2004 which methods are these, could you enlighten me? Link to comment Share on other sites More sharing options...
Nologic Posted October 18, 2004 Share Posted October 18, 2004 In your WinNT.sif file under [GuiRunOnce] add lines to future files like so:[GuiRunOnce]"%systemdrive%\Install\Tools\Tools - Archive.cmd""%systemdrive%\Install\Tools\Tools - CD-DVD.cmd""%systemdrive%\Install\Tools\Tools - Java.cmd""%systemdrive%\Install\Tools\Tools - Macro.cmd""%systemdrive%\Install\Tools\Tools - Media.cmd""%systemdrive%\Install\Tools\Tools - Network.cmd""%systemdrive%\Install\Tools\Tools - Office.cmd""%systemdrive%\Install\Tools\Tools - Shell.cmd""%systemdrive%\Install\Tools\Tools - Spyware.cmd""%systemdrive%\Install\Tools\Tools - System.cmd""%systemdrive%\Install\Tools\Tools - Text.cmd""%systemdrive%\Install\Tools\Tools - Viewers.cmd""%systemdrive%\Install\Tools\Tools - Web.cmd"Each file is then coded up like so:cmdow @ /HID@echo offfor %%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\WIN51 set CDROM=%%iSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing CD & DVD Tools" /fREG ADD %KEY%\005 /VE /D "Installing ASPI Layer" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\SOFTWARE\Tools - CD-DVD\ASPI\ASPI.cmd" /fREG ADD %KEY%\010 /VE /D "Installing Alcohol 120%" /fREG ADD %KEY%\010 /V 1 /D "%CDROM%\SOFTWARE\Tools - CD-DVD\Alcohol\Alcohol_120%_1.9.2_au3.exe" /fREG ADD %KEY%\015 /VE /D "Installing AutoPlay Media Studio" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\SOFTWARE\Tools - CD-DVD\AutoPlay Media Studio\AutoPlay_Media_Studio_5.0.0.1_au3.exe" /fREG ADD %KEY%\020 /VE /D "Installing BlindWrite" /fREG ADD %KEY%\020 /V 1 /D "%CDROM%\SOFTWARE\Tools - CD-DVD\BlindWrite\BlindWrite_5.2.5_au3.exe" /fREG ADD %KEY%\025 /VE /D "Installing CD-Eject" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\SOFTWARE\Tools - CD-DVD\CD-Eject\CD-Eject_2.62_au3.exe" /fREG ADD %KEY%\030 /VE /D "Installing CDR Diagnostic" /fREG ADD %KEY%\030 /V 1 /D "%CDROM%\SOFTWARE\Tools - CD-DVD\CDR Diagnostic\CDR_Diagnostic_1.7.2_au3.exe" /fREG ADD %KEY%\035 /VE /D "Installing DVDInfo" /fREG ADD %KEY%\035 /V 1 /D "%CDROM%\SOFTWARE\Tools - CD-DVD\DVDInfo\DVDInfo_Pro_3.29_au3.exe" /fREG ADD %KEY%\040 /VE /D "Installing EasyBoot" /fREG ADD %KEY%\040 /V 1 /D "%CDROM%\SOFTWARE\Tools - CD-DVD\EasyBoot\EasyBoot_5.0.3.426_au3.exe" /fREG ADD %KEY%\045 /VE /D "Installing ISOBuster" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%\SOFTWARE\Tools - CD-DVD\IsoBuster\IsoBuster_1.6_au3.exe" /fREG ADD %KEY%\050 /VE /D "Installing NERO" /fREG ADD %KEY%\050 /V 1 /D "%CDROM%\SOFTWARE\Tools - CD-DVD\Nero\nero6316.exe /SN=****-****-****-****-****-**** /WRITE_SN /SILENT /NOREBOOT" /fREG ADD %KEY%\055 /VE /D "Installing UltraISO" /fREG ADD %KEY%\055 /V 1 /D "%CDROM%\SOFTWARE\Tools - CD-DVD\UltraISO\UltraISO_ME_7.2.2.872_au3.exe" /fstart /wait rundll32.exe iernonce.dll,RunOnceExProcessEXITEach file will be executed one after the other...enjoy Link to comment Share on other sites More sharing options...
a1dutch Posted October 18, 2004 Author Share Posted October 18, 2004 sorry pic out the top didnt come out write should look like below>Office_____>office_____>frontpage_____>etc>Media_____>_____>_____>>Applications_____>_____>the catergorys then collapse after all within the categorys have been installed then goes onto next one. Link to comment Share on other sites More sharing options...
Nologic Posted October 18, 2004 Share Posted October 18, 2004 There is nothing that I know of that does it in that manner...best bet would be to try out Xplode and see what you can do there.... Link to comment Share on other sites More sharing options...
chrno2004 Posted October 18, 2004 Share Posted October 18, 2004 @Nologicstart /wait rundll32.exe iernonce.dll,RunOnceExProcessMay i ask what does this line do? Link to comment Share on other sites More sharing options...
Nologic Posted October 19, 2004 Share Posted October 19, 2004 chrno2004 -Heh sure you may ask but that doesn't mean you'll get an answer. J\KWhat it does is execute all the entrys you just made in the RunOnce reg key. So in the above example you would see a dialog list called "Installing CD & DVD Tools" that would look some thing like so:Installing CD & DVD ToolsInstalling ASPI LayerInstalling Alcohol 120%Installing AutoPlay Media StudioInstalling BlindWriteInstalling CD Eject ToolInstalling CDR DiagnosticInstalling DVDInfoInstalling EasyBootInstalling ISOBusterInstalling NEROInstalling UltraISOAfter that one completes it would disappear and a new dialog list would be displayed....lets say Tools - Shell is next...you would then seeInstalling Shell ToolsInstalling Active CaptionsInstalling BootSkinInstalling Chameleon ClockInstalling Cool DeskInstalling CursorXPInstalling Desktop XInstalling IconPackagerInstalling IconXInstalling LogonStudioInstalling ObjectBarInstalling ObjectDockInstalling PT CMD HereInstalling PT DeskManagerInstalling PT ImageResizerInstalling PT Media PlayerInstalling PT Power CalculatorInstalling PT TaskSwitcherInstalling PT TweakUIInstalling PT WallPaper ChangerInstalling ShellToys_XPInstalling Tray FactoryInstalling TrueLaunchBarInstalling WebBlindsInstalling WindowBlindsSo on and so forth....just one dialog at a time...and only one displayed...no clutter and nothing running off the screen...and all happening prior to first logon.Hope that explains it... 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