Afternoon all,

I have a script that runs an install silently but what I'd like is to be able to display a dialog box after the script has run to inform the user that's it's finished.  I thought this would be pretty simple with the KACE scripts but can't see how to do this - any ideas?

Dave.

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

4

Are you sure you are installing with a script rather than doing a managed install?

If you are doing a script, then all you'd have to do under "On Success" is click:

Add... > Add a new step... > Create a message window...

However, you might do a /passive install rather than silent so they receive notifications but don't need to provide input.

Answered 12/18/2012 by: gcarpenter
Green Belt

  • I don't see a Create a message window option listed anywhere in my script. I'm running v5.4 of the K1100.
    • Then it kind of sounds like you are doing a managed installation. I posted a photo of the window above from some random script to show you the window. Snipping tool wouldn't let me grab it with the dropdown open.
  • I'm still running 5.3.53053 and the option is under On Remediation Success and On Remediation Failure under the Policy or Job Rules > Task section. I can't speak for 5.4 (yet).

    John
    • It's there on 5.4. Make sure you have Windows selected as your OS.
    • Yeah, it is under Verify, On Success, Remediation, On Remediation Success, and On Remediation Failure.
    • John, why haven't you updated yet? It is a tad better.
Please log in to comment

Answers

2

I've used AutoIT in the past for this. It's a free download. Compile the script and it creates an exe. Just add the exe to the end of your install script.

http://www.autoitscript.com/site/autoit/

Example Script:

$answer = MsgBox(0, "Software Install", "This software has been successfully installed. Click OK to continue." 10)

 

If $answer = 1 Then

Exit

EndIf
Answered 12/18/2012 by: dugullett
Red Belt

  • This one will prompt for restart if needed.

    $answer = MsgBox(4, "Install Restart", "Your computer need to be restarted complete the install. Click yes to restart now or no to cancel.")

    If $answer = 7 Then
    Exit
    EndIf

    Shutdown(6)
Please log in to comment
Answer this question or Comment on this question for clarity