Guest Posted February 18, 2006 Posted February 18, 2006 I am pretty new to writing these scripts. I don't think this one should be nearly as hard as i'm making it though. This is what I have so far: RunAsSet("Administrator",@ComputerName,"password") Run("cmd.exe") send("setup.exe /S /v/qn") RunAsSet() So far it runs fine except it opens the command prompt and inputs: etup.exe /S /v/q It doens't include the S in setup. Can anyone point out the mistake that I am making?
GaryFrost Posted February 18, 2006 Posted February 18, 2006 I am pretty new to writing these scripts. I don't think this one should be nearly as hard as i'm making it though. This is what I have so far: RunAsSet("Administrator",@ComputerName,"password") Run("cmd.exe") send("setup.exe /S /v/qn") RunAsSet() So far it runs fine except it opens the command prompt and inputs: etup.exe /S /v/q It doens't include the S in setup. Can anyone point out the mistake that I am making? RunAsSet("Administrator",@ComputerName,"password") Run("cmd.exe") Sleep ( 1000 ) send("setup.exe /S /v/qn") RunAsSet() that's one way, but maybe RunAsSet("Administrator",@ComputerName,"password") Run(@comspec & ' /c ' & "setup.exe /S /v/qn") RunAsSet() SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
MHz Posted February 18, 2006 Posted February 18, 2006 Can anyone point out the mistake that I am making?The window does not exist when the s is sent.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now