Jump to content

Need Help


Keerwen
 Share

Recommended Posts

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

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....

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...