[an error occurred while processing this directive]

Not-so-Silent Install
ZENworks Cool Solutions Article
by Jan Visser

Posted on 16 Dec 2004

Sometimes when you make a silent installation for your users, it is too silent for the user. Something is happening on his pc but he doesn't know a thing.

I made a simple solution with a vb script which can be launched at the launch script. This lets you notify your users that something is going on.

Place this line in the app object - run before launching

@C:\Windows\System32\wscript.exe "\%path%install.vbs"
File: install.vbs

# wait 6 seconds before launching this script
wscript.sleep 6000

# Play a sound 
Dim Shell,WaveFile
WaveFile = "c:\windows\media\notify.wav"
Set Shell = CreateObject("Wscript.Shell")
Shell.Run "sndrec32 /play /close """ & WaveFile & """",0,True

# display message
message	= "Your Text"
Title	= "Title"

intDoit = MsgBox(message,,Title)