Hi,
I need help with the script below in two ways. First, does the script appear to be coded correctly? Second, even though the MSI referenced is supposed to run silently it opens a command window. How can we suppress this so we see nothing when it executes?
Set Fso = CreateObject("Scripting.FileSystemObject")
Set wshshell=CreateObject("Wscript.Shell")
WshShell.CurrentDirectory="C:\Scripts\HRSD"
sTEST = "300 150 50 50 16 -1 -1"
sTitle = """Application Installation"""
WshShell.Run "c:\Scripts\HRSD\SplashText.exe" & stitle & """Please wait while the application is installed.""" & "400 170 50 50 18 -1 -1" & vbcr
WshShell.Run "msiexec.exe /i ""DXView.msi"" /qn",1,True
WshShell.Run "Taskkill /F /IM SplashText.exe",1,True
Thanks.
I need help with the script below in two ways. First, does the script appear to be coded correctly? Second, even though the MSI referenced is supposed to run silently it opens a command window. How can we suppress this so we see nothing when it executes?
Set Fso = CreateObject("Scripting.FileSystemObject")
Set wshshell=CreateObject("Wscript.Shell")
WshShell.CurrentDirectory="C:\Scripts\HRSD"
sTEST = "300 150 50 50 16 -1 -1"
sTitle = """Application Installation"""
WshShell.Run "c:\Scripts\HRSD\SplashText.exe" & stitle & """Please wait while the application is installed.""" & "400 170 50 50 18 -1 -1" & vbcr
WshShell.Run "msiexec.exe /i ""DXView.msi"" /qn",1,True
WshShell.Run "Taskkill /F /IM SplashText.exe",1,True
Thanks.