hi all,

i have a vbs to install IE8 silently. the command works silently if tried on the command line, but not in my vbs. it starts but not silently.

objShell.Run Chr(34) & Current_Dir & "IE8MUI-x86-enu.exe" & Chr(34) & " /Quiet /norestart", RUN_HIDDEN, True

a msgbox with Chr(34) & Current_Dir & "IE8MUI-x86-enu.exe" & Chr(34) & " /Quiet /norestart" confirms that the syntax is correct.

the installation starts but i'm getting prompted in windows to confirm the installation.

why is it silently working manually but not in my vbs?

please help!
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


May be some syntax/logic error. Try this. Already checked on office package:

Set objShell = CreateObject("WScript.Shell")
strEXE = "C:\Temp\office2007sp2-kb953195-fullfile-en-us.exe"
strParam = "/quiet /norestart"
strInst = strEXE & " " & strParam
Result = objShell.Run(strInst, 0, True)
If (Result <> 0) And (Result <> 3010) Then
msgbox "ERROR: Installation of service pack 2 failed - Errorcode: " & Result
End If
Answered 03/14/2011 by: itolutions
Purple Belt

Please log in to comment