Keerwen Posted January 16, 2007 Share Posted January 16, 2007 I'm trying to silently and remotley install a patch for the program called HCS+ 5.2 I have already contacted the vendor and the patch file does not have any silent switches. I have also extracted the files from the patch exe file and tried running the setup with switches to no avail. I came across AutoIt and have been working with the program on getting the script written. I've tried the winmove and it will move it just enough but it still is shown. I also tried the @sw_hide and that hasn't worked either. The Script here shows me using the @sw_minimize and that didn't help at all either. Any help would be great. Currently I am waiting to hear back from HCS on whether they have a download of the full program with the current patch or not. RunAsSet("user", "domain", "pw") Run("setup.exe","",@SW_MINIMIZE) WinWaitActive("HCS+ Software Update System","",@SW_MINIMIZE) ControlClick("HCS+ Software Update System", "", 1) WinWaitActive("Location Confirmation","",@SW_MINIMIZE) send("{ENTER}") WinWaitActive("HCS+ Software Update System","",@SW_MINIMIZE) Send("{ENTER}") Keerwen Good sign = Tech says nothing and walks away with a smile, Bad sign = Tech says oops and walks away with a smile. Link to comment Share on other sites More sharing options...
BrettF Posted January 16, 2007 Share Posted January 16, 2007 Dont see why this wouldn't work: RunAsSet("user", "domain", "pw") Run("setup.exe","",@SW_HIDE) WinWaitActive("HCS+ Software Update System","") ControlClick("HCS+ Software Update System", "", 1) WinWaitActive("Location Confirmation","") send("{ENTER}") WinWaitActive("HCS+ Software Update System","") Send("{ENTER}") Untested.... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Keerwen Posted January 16, 2007 Author Share Posted January 16, 2007 Thanks Bert, but I did try that already and was a no go. It still opened all the screens in would had I just clicked on the setup file. Link to comment Share on other sites More sharing options...
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