OFF: Errors with Scripted Reinstalls or Uninstalls of OfficeID: Q192945
|
When you run the Office Setup program with command line switches (for example "O:\MSOffadm\setup.exe /y r"), the following error message may appear:
Where O:\MSOffadm is the full path to the Office administrative installation point.Setup error 824
Object 13716
Your setup files may be damaged. Try restarting the setup program from where you originally ran it.
This problem will occur when you use the Network Installation Wizard
to add files to Office setup and the format for the CopyFile script is
incorrect. When you add a custom file, the CopyFile script includes a
section name and a represented filename. There should be a space after the
comma that follows the section name and the represented name of the file.
For example:
Custom Files,FileNo0
Custom Files, FileNo0
To correct this problem and allow the Setup program to run successfully,
perform any one of the following options.
Option 1 (Office already deployed, single workstation maintenance):
Use Control Panel, Add/Remove Software to do maintenance functions, such as adding or removing components, reinstalling, or uninstalling Office.Option 2 (Office not deployed):
Update the STF to add a space between the section and represented file name. Use this STF file when deploying Office. To do this, follow these steps:Option 3 (Office already deployed, needing to automate maintenance mode for a large process):
- Make a backup copy of the modified STF file.
- Open the STF in WordPad.
- Go to the bottom of the STF file to the section labeled in a similar fashion to the following:
!!!CDM!!!<tab><tab>Custom Entry Reference Data.
- Find the lines that look similar to the following (NOTE: The information below is on one line. The ObjID and filenames are used as examples only.)
13608<tab>yes<tab>FileNo0:MyFile1.ext<MyFile1.ext><tab><tab>CopyFile<tab>Custom Files,FileNo0
NOTE: You may have more than one line like this if you added multiple files using the NIW.- Add a space between "Custom Files," and "FileNo0"
13608<tab>yes<tab>FileNo0:MyFile1.ext<MyFile1.ext><tab><tab>CopyFile<tab>Custom Files, FileNo0
- For multiple files that were added, the next line may look similar to the following once you have modified it:
13609<tab>yes<tab>FileNo1:MyFile2.ext<MyFile2.ext><tab><tab>CopyFile<tab>Custom Files, FileNo1
Using sample STF files for each type of installation, update the workstation STF file to add the space between the section name and represented file name. Copy these files back to the workstation in place of the original STF.
NOTE: The workstation STF is different than the one on the server in that it contains the actual destination location of all files installed and notes which files have been installed. In this case, follow these steps:
When you use NIW 2.1 to modify a setup table file, the Add Files dialog box
gives you the option of specifying additional files that should be copied
by the Setup program. However, if you attempt to run the Office Setup
program using command line parameters such as /y or /r, the error Setup
error 824 will appear.
For additional information about adding files using the NIW, please see
the following article in the Microsoft Knowledge Base:
Q179876 OFF97: Installing Office 97 Products in Mixed-Mode Environment
Additional query words: OFF97
Keywords : kbdta
Version : WINDOWS:7.0,97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 28, 1999