Popup messagebox - Advanced Installer Community
scorpio92
Posts: 8
Joined: Mon Jun 25, 2012 7:25 am

Popup messagebox

Hi All,

I need help to bring up a message that would disappear by itself after some time (5 seconds for example)
Is this possible?
If so, how?
the messagebox CustomActions wait for the user press a button. I do not want.

My vbs do not work by making a CustomAction "Script Inline"
Dim WshShell: Set WshShell = WScript.CreateObject ("Wscript.Shell")
WshShell.popup "Running the script:" & vbcrlf & _ & wscript.scriptname
"Please wait ...." & VbCrLf & "This message will close in 5 seconds!" & VbCrLf & VbCrLf & _
"DO NOT TOUCH ***** *****" 5, "Message", 64

Can you give me a solution?

Best regards
Scorpio92
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Popup messagebox

Hi Scorpio92,

In order to display a message that will disappear automatically after a specified number of seconds, you can use the code from the dialog question thread.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
scorpio92
Posts: 8
Joined: Mon Jun 25, 2012 7:25 am

Re: Popup messagebox

Hi Eusebiu,

It's works fine...very tanks.

Best regards

Scorpio92
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Popup messagebox

You're welcome. I'm glad you got this working.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”