Software scripts don't show install message on W7 boot
Hi,
I have some software that installs via Group Policy to some Windows 7 Machines. As part of the script we got it to run a .bat file with the message that software was installing and not to touch the computer. On Windows 7 the software installs fine but the .bat message doesn't appear on screen. Is there any way round this or anything I can do to put a message on screen to stop the user from logging into the computer until the software has installed?
I have some software that installs via Group Policy to some Windows 7 Machines. As part of the script we got it to run a .bat file with the message that software was installing and not to touch the computer. On Windows 7 the software installs fine but the .bat message doesn't appear on screen. Is there any way round this or anything I can do to put a message on screen to stop the user from logging into the computer until the software has installed?
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
On Windows 7 the software installs fine but the .bat message doesn't appear on screenThis implies that it *does* appear on other OSes. Is that the case? I can't imagine that it is, since GP executes in local System context. As such, there is no console for it to display messages on. In any event, doesn't the normal GP message "Installing managed software '[whatever]' give your users a clue?
Posted by:
alphabeta
14 years ago
We had Windows XP installed before and it open in a cmd window with a message saying basically 'Do not touch'. The software would install in the backgorund and the last thing the script would do is cancel the message window. Below is an example of the vbs script linked in GP. The message.bat would contain the 'Do not touch' message.
Set WshShell = WScript.CreateObject("WScript.Shell")
Set oShell = WScript.CreateObject ("WSCript.shell")
oshell.Run """\\servername\folder\message.bat"""
oshell.Run """\\servername\folder\setup.exe""",1,True
oshell.Run "taskkill /F /IM:cmd.exe"
Set WshShell = WScript.CreateObject("WScript.Shell")
Set oShell = WScript.CreateObject ("WSCript.shell")
oshell.Run """\\servername\folder\message.bat"""
oshell.Run """\\servername\folder\setup.exe""",1,True
oshell.Run "taskkill /F /IM:cmd.exe"
Posted by:
anonymous_9363
14 years ago
Posted by:
alphabeta
14 years ago
Posted by:
anonymous_9363
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.