→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
guenther_rupitz
Engaged Sweeper II
Hello

Is it possible to ask the user at the beginning of installation if it is ok to install an software package now?
In case of upgrades it is necessary to shutdown the programm before, and i dont want to do this without warning.

Installation during the night with WOL does not work for us.

thanks
1 ACCEPTED SOLUTION
Daniel_B
Lansweeper Alumni
You could add a script step before your installer step. Save a VBS script with a code like the following example onto your Package share and refer to this script in the first step. It will bring up a popup and ask the user if he would like to continue with the installation.

result = MsgBox ("Do you agree with the installation of Software XXX and reboot?", vbYesNo, "Message Box Title")

Select Case result
Case vbYes
MsgBox("The installation will now begin.")
WScript.Quit(0)
Case vbNo
MsgBox("The installation was cancelled.")
WScript.Quit(-1)
End Select

View solution in original post

10 REPLIES 10
Daniel_B
Lansweeper Alumni
You could add a script step before your installer step. Save a VBS script with a code like the following example onto your Package share and refer to this script in the first step. It will bring up a popup and ask the user if he would like to continue with the installation.

result = MsgBox ("Do you agree with the installation of Software XXX and reboot?", vbYesNo, "Message Box Title")

Select Case result
Case vbYes
MsgBox("The installation will now begin.")
WScript.Quit(0)
Case vbNo
MsgBox("The installation was cancelled.")
WScript.Quit(-1)
End Select