Animator Posted September 26, 2003 Share Posted September 26, 2003 Hi Community,I'm a Stupid German Man, my English iss Bad an I Hope some Germans or another people who can understand and speak German can Help me.I have a Problem with the Script in the First post from webmatic, i dont use the same *.cmd files and i dont use *.inf files. I use scripts like this hotfixes.cmdhotfixes2.cmd andprogramme.cmd for the second CD.Now, my problem is the script for the 2'nd CD, i dont now how to make it for my *.cmd files. In Deutsch :Ich habe ganz einfach das Problem das ich das script nicht für meine *.cmd dateien angepasst bekomme, weil ich nicht genau verstehe wie das funktionieren soll.I Hope some People can Help me, and I hope some People understand what i mean.Ich hoffe es kann mir jemand weiterhelfen.brbAnimator Link to comment Share on other sites More sharing options...
chon_ Posted September 26, 2003 Share Posted September 26, 2003 just replace applications.cmd with programme.cmd in the first_boot.cmdfile and make sure you load it on [guirunonce] section Link to comment Share on other sites More sharing options...
Animator Posted September 26, 2003 Author Share Posted September 26, 2003 Ok first THX for the fast helpi now, that i must trade the applications.cmd with my programme.cmd but my problem is that i dont know what this lines are do, while i have no apps.inf and i have no mai_batch.cmd and in dont have customize.cmd.:RUNBATCH:: cmdow @ /hid:: ECHO Running Main Batch ...:: ECHO.:: start /wait %systemdrive%\install\main_batch.cmd:HOTFIXES:: This hopefully has been obsoleted by slipstreaming the hotfixes into the installer.:: Keeping it around just in case it is needed for anything else.:: IF NOT EXIST %systemdrive%\install\hotfixes.cmd GOTO APPS:: ECHO Running Hotfixes Batch ...:: ECHO.:: start /wait cmdow /run /hid %systemdrive%\install\hotfixes.cmd:APPSIF NOT EXIST %systemdrive%\install\apps.inf GOTO CUSTOMECHO Running Applications Batch ...ECHO.start /wait RunDll32.exe setupapi,InstallHinfSection DefaultInstall 0 %systemdrive%\install\Apps.inf:CUSTOMIF NOT EXIST %systemdrive%\install\CUSTOMIZE.CMD GOTO ERROR:: ECHO Running Cumstom Batch ...:: ECHO.:: start /wait %systemdrive%\install\CUSTOMIZE.CMDGOTO ENDso can anyone post what i must do to start only my hotfixes.cmd and the programme.cmd on the 2'nd cd.I think in the How to is an error the PsKill programm must be load before the file runs. Right ??brbAni Link to comment Share on other sites More sharing options...
chon_ Posted September 27, 2003 Share Posted September 27, 2003 ok, you have to forst create a first_boot.cmd file and add the following line to winnt.sif[GuiRunOnce];testing with 2 cds%systemdrive%\install\first_boot.cmdof course, firs_boot.cmd MUST be on your $OEM$\$1\INSTALL dir; now your first_boot.cmd should look something like this:CLS@ECHO OFFECHO.ECHO Si tiene un segundo CD por favor ins‚rtelo en la unidad en este momentoECHO.PAUSEIF EXIST %systemdrive%\install\programme.cmd GOTO RUNBATCHSET CDROM2=IF EXIST D:\install\programme.cmd SET CDROM2=D:IF EXIST E:\install\programme.cmd SET CDROM2=E:IF EXIST F:\install\programme.cmd SET CDROM2=F:IF EXIST G:\install\programme.cmd SET CDROM2=G:IF EXIST H:\install\programme.cmd SET CDROM2=H:IF EXIST I:\install\programme.cmd SET CDROM2=I:IF EXIST J:\install\programme.cmd SET CDROM2=J:IF EXIST K:\install\programme.cmd SET CDROM2=K:IF NOT EXIST %CDROM2%\install\apps.cmd GOTO RUNBATCHclsECHO.ECHO copying files. . . .xcopy %CDROM2%\install %systemdrive%\install\ /S /C /Q /H /YECHO.:RUNBATCHgoto hotixes:HOTFIXES:: This hopefully has been obsoleted by slipstreaming the hotfixes into the installer.:: Keeping it around just in case it is needed for anything else.IF NOT EXIST %systemdrive%\install\hotfixes.cmd GOTO APPSECHO Executing Hotfixes...ECHO.start /wait cmdow /run /hid %systemdrive%\install\hotfixes.cmd:APPSIF NOT EXIST %systemdrive%\install\programme.cmd GOTO CUSTOMECHO Executing programme.cmd ...ECHO.start /wait cmdow /run /hid %systemdrive%\install\apps.cmd:ERRORIF NOT EXIST %systemdrive%\install\hotfixes.cmd GOTO _ECHOIF NOT EXIST %systemdrive%\install\apps.cmd GOTO _ECHO:: IF NOT EXIST %systemdrive%\install\CUSTOMIZE.CMD GOTO _ECHOGOTO END:ENDECHO.EXITyou don't need main_batch nor customize.cmd, and now you can call your apps.inf from programme.cmd 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