Novell Home

Not-so-Silent Install

Novell Cool Solutions: Trench
By Jan Visser

Rate This Page

Reader Rating  stars  from 7 ratings

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)

Reader Comments

  • The # for comments doesn'r work, I'd use ' instead... /paul
  • This works! I always read and thought that anything put into the pre/post or launch scripts was only "seen" by the System account, so that the user never saw anything. Guess not... Thanks, VERY useful.

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

© 2008 Novell, Inc. All Rights Reserved.