Jump to content

Error DirectX install in main-batch.cmd


Recommended Posts

Hi,

I would like to let install gladly DirectX9.0b automatically also Main batch.cmd. But with implement get I the error message "invalid command option" although the Path is correct.

Please help !!!!

mfg

main-batch.cmd

CLS

@echo off

ECHO.

echo ===================================================================

echo ===================================================================

echo Dieses Script installiert mehrere Updates, die Ihr System aktuell

echo und sicher machen. Enthalten sind saemtliche WebUpDates bis zum

echo 12.09.2003.

echo. -DirectX9.0B

echo -ZoneAlarmPro 4.0.146

echo -Ad-Aware 6

echo.

echo.

echo.

echo.

echo ===================================================================

echo ===================================================================

echo.

echo.

echo Installiere DirectX 9.0b

echo Bitte warten...

start /wait %systemdrive%\install\DirektX9b\dxsetup.exe /opk

echo.

exit

Link to comment
Share on other sites


Taken from the unattended website:

Microsoft have disabled the silent install option in DirectX 9.0 in order for End Users to agree to the EULA (but you read it already when you extracted the file!) so we have provided you with a hex-edited dxsetup.exe to allow the silent install switches. If you wish to do this yourself then open dxsetup.exe in a hex editor and go to offset 0x33e2 and change 74 to EB.

Download Dxsetup.zip (for DirectX 9.0b)

Extract the file and copy it over on top of your existing dxsetup.exe file, choose yes when prompted to replace.

Add the following commands to your existing batch file:

ECHO.

ECHO Installing DirectX 9.0b

ECHO Please wait...

start /wait %systemdrive%\install\DirectX9b\dxsetup.exe /opk

You can also use /windowsupdate instead of /opk if you want to watch the installation progress.

Link to comment
Share on other sites

I made, however always get rear ones already few times the error "invalid one command line option"

main_batch.com

CLS

@echo off

ECHO.

echo ===================================================================

echo ===================================================================

echo Dieses Script installiert mehrere Updates, die Ihr System aktuell

echo und sicher machen. Enthalten sind saemtliche WebUpDates bis zum

echo 12.09.2003.

echo. -DirectX9.0B

echo -ZoneAlarmPro 4.0.146

echo -Ad-Aware 6

echo.

echo.

echo.

echo.

echo ===================================================================

echo ===================================================================

echo.

echo.

echo Installiere DirectX 9.0b

echo Bitte warten...

start /wait %systemdrive%\install\DirectX\dxsetup.exe /opk

echo.

exit

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