Link to home
Create AccountLog in
Avatar of bsharath
bsharathFlag for India

asked on

Regarding the Office 2007 deployment. (Scripts)


Regarding the Office 2007 deployment.
My main concern is can we install office 2007 with an MSP file thats in a UNC path
A Login script for computers to trigger the script on startup.
If already present should not do anything.
The installation should be 0% user interaction.
As the Msi file script that we were working on.
Can that be changed as accepting MSP files. So that we can use the same script to deploy.
If not any other way that you can suggest please.
This is a big assignment that i need to complete.
I have all the computers into a group that needs the office 2007 installation. Excluding all the servers and vm's
Any way a login script can install on computers who is a member of the group with the help of the login script from the UNC path..

Avatar of Fayaz
Flag of United Arab Emirates image

See if the below link helps:

You can add the instellation commands to the domain logon script, so the installation should start whenever the user logon.
Avatar of RobSampson
Flag of Australia image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
look the code below....

more information:
Set wshShell = WScript.CreateObject("WScript.Shell")
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Set colSoftware = objWMIService.ExecQuery ("Select * from Win32_Product")
For Each objSoftware in colSoftware
  If objSoftware.Caption = "Microsoft Office Enterprise 2007" Then
    OfficeInstalled = True
    Exit For
  End If
If OfficeInstalled <> True Then
  Set oExec = wshShell.Exec ("\\server\office2007\setup.exe /adminfile \\server\office2007\custom\YourFile.msp")
  Do While oExec.Status = 0
    WScript.Sleep 100
End If

Open in new window