MartinaL Posted February 21, 2005 Posted February 21, 2005 HI,I don't want to install office itself but i do need to install the webcomponents and SP1 and SP2 for office.Can i run these from RunOnceEx? if so what switches would I need to use?Thanks
prathapml Posted February 22, 2005 Posted February 22, 2005 I believe the required switch is "/Q" If not, then it has to be "/QB" or "/QN".
MartinaL Posted February 23, 2005 Author Posted February 23, 2005 Thanks, i tried these and ran it again, but for the office web components i get and error message "cann't find office1.cab" (I am running the OWC10.msi to install these) and for the service packs I get the error message "Command line option syntax error. Type command/? for help".Any idea what these problems come from? These are the sections of code from the RunOnceEx.exe file.REG ADD %KEY%\058 /VE /D "Office XP Webcomponents" /fREG ADD %KEY%\058 /V 1 /D "%systemdrive%\install\OXPWebComp\OWC10.msi /QB" /fREG ADD %KEY%\059 /VE /D "Office XP ServicePack1" /fREG ADD %KEY%\059 /V 1 /D "%systemdrive%\install\OXPWebComp\oxpsp1.exe /QB" /fREG ADD %KEY%\060 /VE /D "Office XP ServicePack2" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\OXPWebComp\oxpsp2.exe /QB" /fCan you see anything wrong??
prathapml Posted February 23, 2005 Posted February 23, 2005 Type command/? for helpSo did you try it? What does it say when you run that?Also, "/Q" will work.....
MartinaL Posted February 23, 2005 Author Posted February 23, 2005 When I type command/? in a command line it says Starts a new instance of the MS-DOS command interpreter.COMMAND [[drive:]path] [device] [/E:nnnnn] [/P] [/C string] [/MSG] [drive:]path Specifies the directory containing COMMAND.COM file. device Specifies the device to use for command input and output. /E:nnnnn Sets the initial environment size to nnnnn bytes. /P Makes the new command interpreter permanent (can't exit). /C string Carries out the command specified by string, and then stops. /MSG Specifies that all error messages be stored in memory. You need to specify /P with this switch.Any ideas? This dosn't mean much to me.So how come /Q would work but not /QB??
prathapml Posted February 23, 2005 Posted February 23, 2005 Great! Absolutely great!How come it did not occur that the command to be run was this? oxpsp2.exe /?
MartinaL Posted February 23, 2005 Author Posted February 23, 2005 Thanks, that helped with that section anyway.But with the web componenets, if i add the cab file to the folder it is way to large and puts the size of the cd way to high. Is there anyway of getting around having the cab file witht he OWC10.msi file?
MartinaL Posted February 24, 2005 Author Posted February 24, 2005 HOw do i stop the prompts coming up after service pack 1 and 2 are (OfficeXP) are installed which says something along the lines of them being succesfully installed? YOu have to click ok before it will move onto the next application install.Here is the code that I using.REG ADD %KEY%\059 /VE /D "Office XP ServicePack1" /fREG ADD %KEY%\059 /V 1 /D "%systemdrive%\install\OXPWebComp\oxpsp1.exe /Q" /fREG ADD %KEY%\060 /VE /D "Office XP ServicePack2" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\OXPWebComp\oxpsp2.exe /Q" /f
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