Master-Teck Posted December 5, 2003 Share Posted December 5, 2003 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 OFFCD\CLSEcho 1. Microsoft Office XP ProffessionalEcho 2. Microsoft Office 2003 ProffessionalEcho 3. Exit InstallationC:\INSTALL\CHOICE /N /C:12 PICK A NUMBER (1, 2 or 3 )%1IF ERRORLEVEL ==3 GOTO ENDIF ERRORLEVEL ==2 GOTO OFFICE2k3IF ERRORLEVEL ==1 GOTO OFFICEXP:OFFICEXPECHO.ECHO Installing Office XP Professional with FrontpageECHO Please wait...start /wait %systemdrive%\install\MSOffice\OfficeXP\PROPLUS.msi /QBgoto END:OFFICE2k3ECHO.ECHO Installing Office 2003 ProfessionalECHO Please wait...start /wait %systemdrive%\install\MSOffice\office2k3\PRO11.MSI /QBECHO.ECHO Installing Front Page 2003ECHO Please wait...start /wait %systemdrive%\install\MSOffice\FP2k3\FP11.MSI /QBECHO.ECHO Installing Visio 2003ECHO Please wait...start /wait %systemdrive%\install\MSOffice\Visio2k3\VISPRO.MSI /QBECHO.ECHO Installing Project 2003ECHO Please wait...start /wait %systemdrive%\install\MSOffice\Project2k3\PRJPROE.MSI /QBECHO.ECHO Installing One Note 2003ECHO Please wait...start /wait %systemdrive%\install\MSOffice\onenote2k3\ONOTE11.MSI /QBgoto end:END Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now