Problem: "Office The following steps can be used to create an Active Directory Group Policy which calls a batch file to run as a Startup script. The script checks all computers in a given group at startup to see if Office 2007 is installed. Office 2007 will be automatically and silently installed on all machines without existing installations
Resolution:
1. Start the Active Directory Users and Computers snap-in. To do this, click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers. 2. In the console tree, right-click your domain or container that you wish to create a policy for, and then click Properties. 3. Click the Group Policy tab, and then click New.4. Type the name that you want to call this policy (for example, Office 2007 Installation), and then press ENTER.5. Select the new group policy object, and then click Edit. 4. Under Computer Configuration, select Windows Settings. 5. In the right hand pane, double-click Scripts(Startup/Shutdown).6. Right-click Startup, then click Properties.7. In the Startup Properties dialog box, click Show Files.
Note: By default, the Startup script is located in the following location on a domain controller:%SystemRoot%\SYSVOL\sysvol\
8. In the window that opens, right-click point to New, and the click Text Document.
9. Name the file 'Install_Off2007.bat'. 10. Right-click on the Install_Off2007.bat file and select Edit.11. Edit the file as follows:
@ECHO OFFREM --- Check for an existing installation of Microsoft Office 2007REM --- For a list of Office 2007 GUIDs, see KB928516REM --- Description of the numbering scheme for product code GUIDs in 2007 Office suites and programsREM --- http://support.microsoft.com/kb/928516 if exist "%systemdrive%\MSOCache\All Users\
12. Save the file and close the window you were working in. 13. In the Startup Properties dialog box, click Add. 14. In the 'Add a Script' dialog box, click Browse. 15. Select the Install_Off2007.bat file and click Open. 16. Click OK, Apply, and then OK. 17. Close the Group Policy snap-in, click OK, and then quit the Active Directory Users and Computers snap-in. When the target computers are restarted, Office 2007 will be automatically installed.
By default, the log file from the installation will be created in the machine specific temp directory (%windir%\temp), but can be redirected via the Logging element of the config.xml file. For example:
In order to use a config.xml file, the command line from the above batch file would need to include the "/config" switch and a patch to the config.xml file. For example:
The config.xml file should also be configured so that no UI or modal dialogs are displayed. To so this, a line similar to the following would be used:
0 comments: