
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2015 10:36 AM
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
Solved! Go to Solution.
- Labels:
-
General Discussion

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2015 02:03 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2016 03:02 PM
is it possible to hide the taskeng.exe field?
Thanks for helping

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2015 10:56 PM
An other way is to deploy something like a powershell script.
However, this would require you to pass or hard code admin credentials to/in the script.
Needless to say this is not in any way secure

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2015 07:49 PM
Your suggestion is really complicated, when i want to roll out multiple packages there is enormously to do.
A really nice solution would be to add the userrights (optional) at every step of deployment. (or change userrights in vbs during code execution, if this would be possible).
Günther

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2015 07:09 PM
- Set some specific error code as return code in the script
- Run the script as logged on user
- Make a report of assets based on tsysdeploymentlogs (where return value was specified above).
- Make a package to deploy on that report
- Create a deployment schedule that runs every 2 minutes

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2015 07:00 PM
As i already wrote 'Currently logged on' is not an option, because logged in users does not have admin rights.
Günther

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2015 05:52 PM
Or isn't that an option?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2015 05:42 PM
No, i get the popup only when run as "currently logged on".
With vbs it is possible to get a list of logged in users, but i am not an expert in vbs, maybe it is possible to run a second script with something imilar to a "runas" command?
Günther

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2015 05:10 PM
Scanning credentials can also work, but only if the current logged on user is using the Scanning credentials.
In general:
Messageboxes, and other forms of user interaction, will only be visible for the user if they run in his/her session.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2015 04:21 PM
Thank you for the script, but the problem is that this will only work if you select "Currently Logged On" at run mode.
The problem is that our users do not have admin rights, so the installation itself will fail in the next step.
Günther
