I've settled on customizing the Office 2007 package using the OCT file and using a startup script to deploy the application. To prepare for a future service pack deployment, during my development phase, I'm trying to see if I can push out Service Pack 1 to this package using a script like that described by Microsoft below.
The script works great, applies the service pack without issues...however, upon subsequent reboots, the script runs again, and while it doesn't appear to apply the whole service pack over again, it goes through the motions before it realizes oh wait, I already have this update, and then getting users to the Ctrl + Alt + Del screen. This is taking a long time, and I'm trying to avoid the delay if the pack is already deployed. Any suggestions for additions to the below script to make it only run this particular update once aside from how it's doing it now?
Dim wShell 'As WshShell
Dim fso 'As FileSystemObject
Dim f 'As File
Dim sLogName 'As String
Dim sPatchFolder 'As String
Dim sPatchCmd 'As String
Const kTempFolder = 2
On Error Resume Next
sPatchFolder = Replace(Wscript.ScriptFullName, Wscript.ScriptName, "")
Set fso = CreateObject("Scripting.FileSystemObject")
Set wShell = CreateObject("WScript.Shell")
For Each f In fso.GetFolder(sPatchFolder).Files
If UCase(Right(f.Name, 4)) = ".EXE" Then
sLogName = fso.GetSpecialFolder(kTempFolder) & "\" & Left(f.Name, Len(f.Name) - 3) & "log"
sPatchCmd = f.Path & " /quiet /norestart /log:" & sLogName
wShell.Run sPatchCmd, 0, True