|
smsjourney -> Vbscript (4/27/2008 12:49:55 PM)
|
I am having a problem launching a notification for end user to see before an application is to be loaded. I found a script to do just the job but it would not lauch . It is scheduled to execute first then the app will begin once they click ok. I used cscript.exe file.vbs in the package and it is not working . If ran manually it will work and yes I am using an account with sufficient right in sccm to run the program. Can some look at this script and let me know how to implement this properly. Set WshShell = Wscript.CreateObject("Wscript.Shell") set oEnv = WshShell.Environment("PROCESS") oEnv("SEE_MASK_NOZONECHECKS") = 1 WshShell.Popup "The Adobe Reader 8 Installation will now begin." & VBLF & "Please save your work and close all open programs." _ & VBLF & "After Installation your workstation will reboot." & VBLF & "Click OK to begin installation.", 3600," sample", 0 + 64 oEnv.Remove("SEE_MASK_NOZONECHECKS") wscript.quit smsjourney
|
|
|
|