/build/static/layout/Breadcrumb_cap_w.png

How to Lock keyboard and mouse during installation?

Hi,

Basically we've got some old obscure educational packages where we use some .dlls from the discontinuted livestate (wininter) which literally pushes and clicks buttons on the setup windows. We've just upgraded to Altiris.

Does anyone know how to easily lock the keyboard and mouse to stop the user during installation of interfering with the install windows?

Thanks,

Sukh

0 Comments   [ + ] Show comments

Answers (4)

Posted by: Timokirch 7 years ago
Posted by: anonymous_9363 14 years ago
Red Belt
0
Why make it harder than it needs to be, by piling on tools to disable this and disable that? The simplest solution is to re-package the install into MSI format and install it silently.
Posted by: JEBO 14 years ago
Senior Yellow Belt
0
If you have Altiris, there is a utility called "wndctl.exe" which you can use do a lot of things, for instance lock userinput.

To lock input run "path-to-exe-file\wndctl.exe -lock"..

See the following list of commands:

-activate Make the window active
-minimize Minimize the window [for <n> seconds]
-maximize Maximize the window [for <n> seconds]
-restore Restore the window to prior state
-hide Hide the window [for <n> seconds]
-show Show the window [for <n> seconds]
-flash Flash the window title bar [<n> times (def=3, 0=forever)]
-close Close the window
-disable Disable the window [for <n> seconds]
-enable Enable the window [for <n> seconds]
-transparent[:<m>] Make the window transparent [for <n> seconds]
-opaque Make the window opaque [for <n> seconds]
-tile_h Tile all windows horizontally on desktop
-tile_v Tile all windows vertically on desktop
-cascade Cascade all windows on desktop
-center Move window to center of screen
-move:<x>,<y> Move window to <x> and <y>
-size:<w>,<h> Resize window to <w> and <h>
-top Make window topmost
-bottom Make window bottommost
-mid Make window not topmost
-title:<title> Set window title (to <title>
-poweroff[:force,noprompt] Power system off
-shutdown[:force,noprompt] Shut system down
-reboot[:force,noprompt] Reboot system
-logoff[:force,noprompt] Log user off
-lockuser[:force,noprompt] Lock workstation
-lock Lock input for all windows [for <n> seconds]
-unlock Unlock and allow input for all windows
Posted by: skhudy 14 years ago
Senior Yellow Belt
0
yes, we are looking at purchasing a packaging tool, it's just too much of a headache with some of the packages we have

JEBO - Thanks! will definately have a look at that, useful to know, even if we are getting a packaging tool.

Sukh
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ