Jump to content

Recommended Posts

Posted

Hi (i hope u can understand me because my english is not good) :blushing:

i made a office2003 unatteded with this batch file

ECHO.

ECHO Installing Office 2003 Professional

ECHO Please wait...

start /wait %systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-

as you know its working only systemdrive and its need to copy files to systemdrive ! i want to ask Can i start office setup from Cdrom drive? :huh:

and second question about Visio2003 and Project2003 how can i create unattend setup for these applications.

thanks... :)


Posted

As per your question I understand that you wish to install office from your cd drive. That really is not a problem. All your commands are ok only need is to change the drive letter for your program location in a cd.

start /wait "" %cdrom%\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-

Replace %cdrom% with drive letter or redirect it using a batch command like this one:

@echo off&Mode 55,3&Color f2&Title Script By Yzöwl
for %%a in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do (
fsutil fsinfo drivetype %%a:|find "CD-ROM">nul 2>&1&&echo Your CD-ROM drive^(s^) -^> %%a:\
)
ping -n 4 127.0.0.1>nul&goto :eof

Thanks to Yzöwl

The applications you have listed have already been covered extensively. Try to search.

Posted

thanks for your support but its not working :(

@echo off&Mode 55,3&Color f2&Title Script By Yzöwl

for %%a in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do (

fsutil fsinfo drivetype %%a:|find "CD-ROM">nul 2>&1&&echo Your CD-ROM drive^(s^) -^> %%a:\

)

although i applyed your code its not set %cdrom% to cdrom drive can you check this code.. :no:

and also if is it possible can you explain this codes meaning. i have to learn

thanks a lot.

Posted

The code is ok, but you can try host of other %cdrom% redirection options on the page which I have linked above. Or simply try using a fixed letter for your cdrom drive. In above code you would require file fsutil.exe present in Windows XP. So if that is not with you, try other options.

Posted

Hi Yzöwl

with following code its working

@echo off&Mode 55,3&Color f2&Title Script By Yzöwl

for %%a in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do (

fsutil fsinfo drivetype %%a:|find "CD-ROM">nul 2>&1&&set cdrom=%%a:

)

thank you for all support.

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