Jump to content

*.bat Conversion To *.inf


Recommended Posts

I don't know if this is possible or not but I thought i'd ask all of you guru's out there. I know you can do a lot of the same things in INF files that you can in bat. But is it possible to make and inf file that would work the same way this batch file does. taking user input and what not.

@ECHO OFF

CD\

CLS

Echo 1. Microsoft Office XP Proffessional

Echo 2. Microsoft Office 2003 Proffessional

Echo 3. Exit Installation

C:\INSTALL\CHOICE /N /C:12 PICK A NUMBER (1, 2 or 3 )%1

IF ERRORLEVEL ==3 GOTO END

IF ERRORLEVEL ==2 GOTO OFFICE2k3

IF ERRORLEVEL ==1 GOTO OFFICEXP

:OFFICEXP

ECHO.

ECHO Installing Office XP Professional with Frontpage

ECHO Please wait...

start /wait %systemdrive%\install\MSOffice\OfficeXP\PROPLUS.msi /QB

goto END

:OFFICE2k3

ECHO.

ECHO Installing Office 2003 Professional

ECHO Please wait...

start /wait %systemdrive%\install\MSOffice\office2k3\PRO11.MSI /QB

ECHO.

ECHO Installing Front Page 2003

ECHO Please wait...

start /wait %systemdrive%\install\MSOffice\FP2k3\FP11.MSI /QB

ECHO.

ECHO Installing Visio 2003

ECHO Please wait...

start /wait %systemdrive%\install\MSOffice\Visio2k3\VISPRO.MSI /QB

ECHO.

ECHO Installing Project 2003

ECHO Please wait...

start /wait %systemdrive%\install\MSOffice\Project2k3\PRJPROE.MSI /QB

ECHO.

ECHO Installing One Note 2003

ECHO Please wait...

start /wait %systemdrive%\install\MSOffice\onenote2k3\ONOTE11.MSI /QB

goto end

:END

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