Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running a BATCH file

Status
Not open for further replies.

Stormrage

Technical User
Feb 28, 2004
11
GB
Hi all

I am new to this batch running stuff

i have the following batch file line

Code:
IF EXIST "C:\Program Files\Print Audit Inc\Print Audit 5\client\pa5clint.EXE" GOTO END

rem net use I: \\novaeprint\pa5networkinstall\adrollout

msiexec.exe /i pa5install.msi "/quiet /passive /qn /promprestart"

rem net use I: /delete

:END
ECHO Done Installing Print Audit

The rem's i am using just for testing to remove those lines from the batch file

The problem i am having is running the msiexec.exe part, if i run that part like it is i get the help screen pop up with all the options available but it dosen't run the msi file. (the pop up screen is attached) If i just put in the following

msiexec.exe /i pa5install.exe

then it runs the msi and starts the setup

I want to deploy this to a few users via a log in script in AD and i don't want the users prompted with any details, as in a silent install

So what am i doing wrong in that linbe to not make it run?

If anybody could help it would be great

Thanks

STORMRAGE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top