Jump to content

Need Help Please


Recommended Posts

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.cmd

hotfixes2.cmd and

programme.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.

brb

Animator

Link to comment
Share on other sites


Ok first THX for the fast help

i 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

:APPS

IF NOT EXIST %systemdrive%\install\apps.inf GOTO CUSTOM

ECHO Running Applications Batch ...

ECHO.

start /wait RunDll32.exe setupapi,InstallHinfSection DefaultInstall 0 %systemdrive%\install\Apps.inf

:CUSTOM

IF NOT EXIST %systemdrive%\install\CUSTOMIZE.CMD GOTO ERROR

:: ECHO Running Cumstom Batch ...

:: ECHO.

:: start /wait %systemdrive%\install\CUSTOMIZE.CMD

GOTO END

so 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 ??

brb

Ani

Link to comment
Share on other sites

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.cmd

of course, firs_boot.cmd MUST be on your $OEM$\$1\INSTALL dir; now your first_boot.cmd should look something like this:

CLS
@ECHO OFF
ECHO.
ECHO Si tiene un segundo CD por favor ins‚rtelo en la unidad en este momento
ECHO.
PAUSE

IF EXIST %systemdrive%\install\programme.cmd GOTO RUNBATCH
SET 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 RUNBATCH
cls
ECHO.
ECHO copying files. . . .
xcopy %CDROM2%\install %systemdrive%\install\ /S /C /Q /H /Y
ECHO.

:RUNBATCH
goto 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 APPS
ECHO Executing Hotfixes...
ECHO.
start /wait cmdow /run /hid %systemdrive%\install\hotfixes.cmd

:APPS
IF NOT EXIST %systemdrive%\install\programme.cmd GOTO CUSTOM
ECHO Executing programme.cmd ...
ECHO.
start /wait cmdow /run /hid %systemdrive%\install\apps.cmd

:ERROR
IF NOT EXIST %systemdrive%\install\hotfixes.cmd GOTO _ECHO
IF NOT EXIST %systemdrive%\install\apps.cmd GOTO _ECHO
:: IF NOT EXIST %systemdrive%\install\CUSTOMIZE.CMD GOTO _ECHO
GOTO END

:END
ECHO.
EXIT

you 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...