Registered member login:
Register Now
Altirigos » Deployment Solution » Deployment Server » Need a popup alert window before a job

» Current Poll
Do you leave the Aclient enabled?
YES - 82.44%
216 Votes
NO - 17.56%
46 Votes
Total Votes: 262
You may not vote on this poll.
» Stats
Members: 10,090
Threads: 12,230
Posts: 57,322
Top Poster: Nick (4,991)
Welcome our newest member, garcia
» Online Users: 40
2 members and 38 guests
andykn, Magic_25
Most users online at once 294, 06-30-2007 at 12:24 PM.
» September 2010
S M T W T F S
293031 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 12
Reply
Old 04-20-2009, 02:39 PM   #1 (permalink)
 
Status: Altiris Admin
Join Date: 09-10-2008
Location: Topeka, Kansas
Posts: 50


Need a popup alert window before a job

Ok, here's what I need, and I was hoping someone could help me out or point me in the right direction.

Right now we're doing a massive rollout, uninstalling Groupwise and Installing Outlook 07. I have a job that runs perfectly, but I would like some sort of popup "windows alert" type of thing that says something to the effect of "We're installing Outlook on your computer and it will be automatically restarted in 5 minutes. Please save all your work right away, otherwise it will be lost."

I've had some complaints because people lost some of the stuff they were working on. I sent out MANY e-mails leading up to the install, and told people to LEAVE YOUR LAPTOP AT YOUR DESK, DOCKED, AND TURNED ON so that I could push out the job. Like users do, several of them ignored what I said and took their laptops home over the weekend...which means it kicked off first thing monday morning. I have about 500 more people to do, and I'd like to be able to give them ANOTHER warning before the restart is forced on them.

Thanks!
Rawtashk is offline   Reply With Quote
Old 04-20-2009, 02:56 PM   #2 (permalink)
 
JeffreyJRiggs's Avatar
 
Status: Super Altiris Admin
Join Date: 02-22-2006
Location: Williamstown, NJ
Age: 37
Posts: 597


how about just creating a vb script to popup a message....

you could even have it not continue until they click ok....
__________________
SQL Fundamentals 101:
SELECT * FROM dbo.User WHERE Clue > '0'
Query batch completed, 0 rows
JeffreyJRiggs is offline   Reply With Quote
Old 04-20-2009, 02:57 PM   #3 (permalink)
 
Status: Altiris Admin
Join Date: 09-10-2008
Location: Topeka, Kansas
Posts: 50


Sounds like a plan...but I'm no good when it comes to VB (I know, it's sad). Can I get some help, or should I just google and find it that way?
Rawtashk is offline   Reply With Quote
Old 04-20-2009, 03:13 PM   #4 (permalink)
 
Status: Junior Altiris Admin
Join Date: 09-30-2005
Location: Vancouver, WA
Posts: 18


Have you tried using the SWD task Programs setting "User can defer for: xx minutes" or have it run "Only when no user is logged on".
__________________
Greg Englund
Clark County Information Services
Clark County, WA
englundg is offline   Reply With Quote
Old 04-20-2009, 03:39 PM   #5 (permalink)
 
Status: Junior Altiris Admin
Join Date: 01-20-2009
Location: the Netherlands
Posts: 5


have a look at miniNotify. Google to it or search on myitforum.com.
gompie1403 is offline   Reply With Quote
Old 04-20-2009, 06:35 PM   #6 (permalink)
 
Status: Super Altiris Admin
Join Date: 10-28-2005
Location: Colorado
Posts: 1,404


Here is an example with no cancel button. The 180 is the automatic timeout.

Code:
'vbscript
set WshShell = CreateObject("WScript.Shell") 
WshShell.Popup"The imaging process is complete." & vbcrlf & vbcrlf & _
 "Remaining Steps:" & vbcrlf & vbcrlf & _
 "- Install Office and any additional division specific applications", 180, "Finished", 64
If you actually want them to acknowledge it use this (note no timeout):
Code:
'vbscript blah blah
Dim intClicked
set WshShell = CreateObject("WScript.Shell") 
intClicked = WshShell.Popup("Office is going to instal.", ,"READ THIS. . .", 49)
If intClicked = 2 Then
WScript.Quit(2) 
End If
Then capture code 2 in the DS job as a Failure with a message like "user cancelled installation"

Research the vbscripts on google. I think you have ample information to start your search.
__________________
Brandon
Brandon is offline   Reply With Quote
Old 04-21-2009, 04:10 AM   #7 (permalink)
 
Status: Junior Altiris Admin
Join Date: 02-05-2009
Location: Belgium
Posts: 2


Lightbulb back to the basics

What we do sometimes,
We create an HTML file with logo and blinking red message.I know it sounds sick in 2009...

You can start this page at the first line of your batch & kill it at the end.
apascucci is offline   Reply With Quote
Old 04-27-2009, 10:01 PM   #8 (permalink)
 
rdvanorman's Avatar
 
Status: Super Altiris Admin
Join Date: 05-25-2005
Location: Fort Worth, Texas
Posts: 145


I needed something like this too so I used AUTOIT to create a message box with a specified timeout. AUTOIT is very easy to use and you may find it handy for other things. VBScript is a great tool but like you I'm not really very good at it though I'd like to be better... Just not enough time in a minute to learn all the technology screaming by.
__________________
Roger VanOrman
Network Analyst
Holt Cat
rdvanorman is offline   Reply With Quote
Old 09-11-2009, 02:07 AM   #9 (permalink)
 
IRRISysAd's Avatar
 
Status: Altiris Admin
Join Date: 08-14-2009
Location: Philippines
Posts: 57


We find AutoIT very useful. However, our problem is that the message alert pops up while the installation is starting.

What we need to do is to install first the application (IE8) and have the message show up after the installation.

Any help is appreciated.
__________________
International Rice Research Institute
www.irri.org

Have you had your RiceToday?
IRRISysAd is offline   Reply With Quote
Old 09-11-2009, 07:37 AM   #10 (permalink)
 
rdvanorman's Avatar
 
Status: Super Altiris Admin
Join Date: 05-25-2005
Location: Fort Worth, Texas
Posts: 145


What type of install package is it? You can add the Start /Wait at the beginning so it doesn't release the job until finished or in the case of an Windows Installer package there's a application here, "OSetup", that doesn't release the job until it's complete. Then put your message in as the next task.
__________________
Roger VanOrman
Network Analyst
Holt Cat
rdvanorman is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 03:12 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
vB.Sponsors
Altirigos