Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Pop up when install is complete

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,49475
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Pop up when install is complete
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Pop up when install is complete - 7/13/2007 5:11:44 AM   
  aburt

 

Posts: 104
Score: 0
Joined: 12/4/2006
Status: offline

I have an application that I need to give to our remote users. I also have a utility that will allow me to create encrypted runas rights for exe and msi files. After discussion with company that distributes the application they recommend that I use the setup.exe and their setup.ini for customization of the install. MSI an MST is not supported. The problem I am having is If I want to customizedthe install of my application they only offer a run silent option. The user would not know when the install has completed.
Because I was planning on burning the install to a disc and giving it to the end user, when they run the install they can’t see wants going on unless they go to task manager to see when the install is complete.
Is there anyway to script a message at the end of the install that states install successful so that the end user knows that the install is finished.

 
 
Post #: 1
 
 RE: Pop up when install is complete - 7/13/2007 6:15:49 AM   
  LANlazy

 

Posts: 82
Score: 0
Joined: 4/11/2007
Status: offline
You are going to want to use a Do While command.  See below.

Set oWsc = CreateObject("WScript.Shell")
Set oExec = oWsc.Exec ("WindowsXP-KB929123-x86-ENU.exe /quiet /passive /norestart")
Do While oExec.Status <> 1
wscript.sleep 10
Loop
msgbox "Done"

(in reply to aburt)
 
 
Post #: 2
 
 RE: Pop up when install is complete - 7/13/2007 6:40:48 AM   
  ebgreen


Posts: 5035
Score: 31
Joined: 7/12/2005
Status: online
Owww...a Do While loop like that will cause the script engine to peg the processor at the same time that you are trying to install something. I would suggest reading the WSH documentation and search it for Run. The run method can be told to wait until the process that it started completes.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to aburt)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Pop up when install is complete Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts