how can i install a software on the domain computer whit a .exe file ,can i use the policy to do this ,i try to write a startup script but it cannt run ,my script likes this, where errores.
set WshShell = CreateObject("WScript.Shell")
WshShell.run "runas /user:sins\installer ""cmd /c start /wait \\fileserver\Project\msi_PCAlert4073\Setup.exe -s -f1\\fileserver\Project\msi_PCAlert4073\Setup.iss"""
WshShell.appActivate "runas"
wscript.sleep 200
WshShell.Sendkeys "instaler" 'password
wscript.sleep 200
WshShell.Sendkeys "{ENTER}"
i use the runas to give the domain computer the installed policy
when a execute the command on local machine like this
runas /user:sins\installer ""cmd /c start /wait \\fileserver\Project\msi_PCAlert4073\Setup.exe -s -f1\\fileserver\Project\msi_PCAlert4073\Setup.iss""
it can install the software on the local machine
where i make it on a local group policy it also can work .
thanks all
set WshShell = CreateObject("WScript.Shell")
WshShell.run "runas /user:sins\installer ""cmd /c start /wait \\fileserver\Project\msi_PCAlert4073\Setup.exe -s -f1\\fileserver\Project\msi_PCAlert4073\Setup.iss"""
WshShell.appActivate "runas"
wscript.sleep 200
WshShell.Sendkeys "instaler" 'password
wscript.sleep 200
WshShell.Sendkeys "{ENTER}"
i use the runas to give the domain computer the installed policy
when a execute the command on local machine like this
runas /user:sins\installer ""cmd /c start /wait \\fileserver\Project\msi_PCAlert4073\Setup.exe -s -f1\\fileserver\Project\msi_PCAlert4073\Setup.iss""
it can install the software on the local machine
where i make it on a local group policy it also can work .
thanks all