Erhan Gedik Posted July 8, 2005 Share Posted July 8, 2005 Hi (i hope u can understand me because my english is not good) i made a office2003 unatteded with this batch file ECHO.ECHO Installing Office 2003 ProfessionalECHO 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? and second question about Visio2003 and Project2003 how can i create unattend setup for these applications. thanks... Link to comment Share on other sites More sharing options...
clavicle Posted July 8, 2005 Share Posted July 8, 2005 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öwlfor %%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 :eofThanks to YzöwlThe applications you have listed have already been covered extensively. Try to search. Link to comment Share on other sites More sharing options...
Erhan Gedik Posted July 8, 2005 Author Share Posted July 8, 2005 thanks for your support but its not working @echo off&Mode 55,3&Color f2&Title Script By Yzöwlfor %%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.. and also if is it possible can you explain this codes meaning. i have to learn thanks a lot. Link to comment Share on other sites More sharing options...
clavicle Posted July 8, 2005 Share Posted July 8, 2005 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. Link to comment Share on other sites More sharing options...
oioldman Posted July 8, 2005 Share Posted July 8, 2005 Also, your transform file will need to be told where it is, unless that is on the office cd Link to comment Share on other sites More sharing options...
Erhan Gedik Posted July 8, 2005 Author Share Posted July 8, 2005 Hi Yzöwlwith following code its working @echo off&Mode 55,3&Color f2&Title Script By Yzöwlfor %%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. 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