Novell Home

Not-so-Silent Install

Novell Cool Solutions: Trench
By Jan Visser

Digg This - Slashdot This

Posted: 11 Jan 2005
 

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)


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell