Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run wscript echo after software install

Status
Not open for further replies.
Sep 7, 2009
29
US
Hello, I have any install script that I want to show a complete textbox after the software installs. My problem is that the textbox is coming up while the software is still installing. Can someone help me? Here is my code:

Dim WshShell
Set WshShell = CreateObject("Wscript.Shell")

On Error Resume Next

WshShell.Run("C:\vbscript\install_flash_player_10_active_x.MSI /qn")


WScript.Echo "install complete"

wscript.quit

 
[tt]WshShell.Run "C:\vbscript\install_flash_player_10_active_x.MSI /qn",,true 'no wrapping paraentheses[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top