Jump to content

No errors batch files just don't run


Recommended Posts

Windows installs fine but my batches never run. The install folder with all apps and hotfixes install fine to the c:\ drive of the computer below is the winnt.sif:

;SetupMgrTag

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

Unattendmode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

UnattendSwitch="no"

TargetPath=\WINDOWS

OemSkipEula=YES

WaitForReboot="No"

DriverSigningPolicy=Ignore

OEMPnPDriversPath="PnPDrvrs\NIC;PnPDrvrs\audio"

[GuiUnattended]

TimeZone="020"

AdminPassword=*

OEMSkipRegional=1

OEMSkipWelcome=1

[userData]

FullName="Your User Name"

OrgName="Your Company Name"

ComputerName=*

ProductKey=removed

[Display]

BitsPerPel=32

XResolution=1024

YResolution=768

VRefresh=85

[branding]

BrandIEUsingUnattended=Yes

[Networking]

InstallDefaultComponents=Yes

[identification]

JoinWorkgroup=Workgroup

Home_Page=http://www.squareplanet.com

[Components]

msmsgs=off

msnexplr=off

[GuiRunOnce]

%systemdrive%\install\main_batch.cmd

%systemdrive%\install\hotfixes.cmd

%systemdrive%\install\applications.cmd

here is the main_batch.cmd:

CLS

@echo off

ECHO.

ECHO Over the next few minutes you will see automated installations

ECHO of various sofware applications, windows updates, and registry

ECHO hacks being implemented. The computer will restart automatically

ECHO once the whole process has finished!

ECHO.

ECHO Installing MSN Messenger 6.1.0144 Final

ECHO Please wait...

start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QB

ECHO.

ECHO Installing DirectX 9.0b

ECHO Please wait...

start /wait %systemdrive%\install\DirectX9b\dx9NTopk.exe

ECHO.

ECHO Installing Windows Media Player 9

ECHO Please wait...

start /wait %systemdrive%\install\WMP9\WMP9_MM2_ENU.exe

ECHO.

ECHO Installing PowerToys

ECHO Please wait...

start /wait %systemdrive%\install\PowerToys\PowertoySetup.exe /s /v/qn

ECHO.

ECHO Installing Microsoft JavaVM - Build 3810

ECHO Please wait...

start /wait %systemdrive%\install\JavaVM\msjavwu.exe /Q:A /R:N

ECHO.

EXIT

What am i doing wrong? Someone please help me. Thanks in advance....

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