/build/static/layout/Breadcrumb_cap_w.png

CScript.exe quick flash upon silent install

I have a VBS that is working great for me to install something for our users, pardon the network shares, this is in testing:

 

Set WshShell = WScript.CreateObject( "WScript.Shell" )

WshShell.Run "msiexec /i \\bhamat01\Software\ProxyPro\Proxy-8-0-2-2019\Host.msi /qb- TRANSFORMS=\\bhamat01\Software\ProxyPro\Proxy-8-0-2-

2019\StandardHost32.MST /norestart"

Set WshShell = Nothing

When I do "Run As" in k1000, on the client machine the cscript.exe cmd window pops up for a milisecond and then everything else works great. Is there a way to make this run totally silent without that quit cmd window flash?

 

Here is what my k1000 looks like:

 

Verify

  1. Verify that the file “C:\Windows\System32\msiexec.exe” exists.

On Success

  1. Launch “\\bhamat01\2010\alexkace\ProxyProHost\cscript.exe” with params “ProxyHost.vbs”.

0 Comments   [ + ] Show comments

Answers (3)

Answer Summary:
wscript worked instead of cscript, thanks much
Posted by: SMal.tmcc 11 years ago
Red Belt
2

try /b proxyhost.vbs for params


Comments:
  • unforutnately that did not work. - areiner 11 years ago
    • try using wscript instead of cscript
      http://www.itninja.com/question/running-cmd-in-silent - SMal.tmcc 11 years ago
    • the other thing is tell the msi to run silent in the vbscript by adding a ,0 after the call
      WshShell.Run "msiexec /i \\bhamat01\Software\ProxyPro\Proxy-8-0-2-2019\Host.msi /qb- TRANSFORMS=\\bhamat01\Software\ProxyPro\Proxy-8-0-2-

      2019\StandardHost32.MST /norestart",0 - SMal.tmcc 11 years ago
      • http://www.devguru.com/technologies/wsh/quickref/wshshell_run.html - SMal.tmcc 11 years ago
  • wscript worked instead of cscript, thanks much - areiner 11 years ago
Posted by: jdornan 11 years ago
Red Belt
0

Try /nologo

Posted by: anonymous_9363 11 years ago
Red Belt
0

To avoid a DOS window appearing when calling command line tools, use "START /B" as a prefix to the tool's command.

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ