Jump to content

scarr

Members
  • Posts

    5
  • Joined

  • Last visited

About scarr

  • Birthday October 18

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

scarr's Achievements

Seeker

Seeker (1/7)

1

Reputation

  1. Silent was not an option. I am working on installing an .exe to upgrade iseries client software. Earthshine this is exactly what I needed to be looking at! Thank you.
  2. Hi, I have a noob question. I would like to automate installations but sometimes I have to wait and click "next" several times until I finally click "finish" I have tried the sleep command with keystrokes, and also X,Y coordinates with a mouse click but I often miss. How do I get autoit to wait for the "next" button to not be grayed out and automatically click the button during the program installation. The next button is highlighted by default each time it appears. This would be in a scenario where I'd have to click next 4 times and then click "finish". I hope this makes sense. Any help would be appreciated.
  3. Using the UNC path for the network location variables totally worked! Thank you Jos.
  4. #RequireAdmin #include <FileConstants.au3> #include <MsgBoxConstants.au3> #include <WinAPIFiles.au3> ;Variables Local Const $fpath="C:\bomgar" Local Const $bomsource32="G:\Bomgar\Workstations\32-bit" Local Const $bomsource64="G:\Bomgar\Workstations\64-bit\bomgar.exe" Local Const $bomfile64="C:\bomgar\bomgar.exe" ;Create path and copy file to path DirCreate($fpath) FileCopy($bomsource64, $fpath, 1) Run($bomfile64) ;UAC on .exe  So here it is. Like I mentioned, it copies over and must execute because I get the AUC prompt on the .exe when I don't have #RequireAdmin. Thank you.
  5. Hello! I have a script that makes a directory, copies a file locally from a server, and executes it. I know the file gets there and executes but then I get the UAC prompt. When I put #RequireAdmin at the top of my script, the file doesn't even get to the directory. I was hoping someone could help since I am new to this. Does anyone know what is going on?
×
×
  • Create New...