Jump to content

comc49

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by comc49

  1. jdelaney your code only works for popups right? I think in my case its a new window everytime. Also the error messages happen in the middle of the installation so the while loop is going to run infinitely because the finish button won't get pressed
  2. Thanks that works! Now I have to legit testing and see if I can update
  3. So I found out that I can't run the installer from autoit but I have to use psexec. Since I am using psexec to open the installer the autoit script can't access the PID of the installer.. Is there a way to pass in the pid or find the pid of the windows that are open?
  4. Anyone? Is it possible to automate install remotely through powershell(powershell is just for connecting remotely and running the autoit compiled .exe)?
  5. #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Compile_Both=y #AutoIt3Wrapper_UseX64=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #region ---Au3Recorder generated code Start (v3.3.7.0) --- #region --- Internal functions Au3Recorder Start --- #requireadmin Run("\\xxx-fs-1.xxx.uxx.edu\software\npp.6.3.3.Installer.exe") WinWait("Installer Language","Please select a language") WinActivate("Installer Language","Please select a language") ControlClick("Installer Language","Please select a language",1) WinWait("Notepad++ v6.3.3 Setup","Welcome to the Notepad++ v6.3.3 Setup") WinActivate("Notepad++ v6.3.3 Setup","Welcome to the Notepad++ v6.3.3 Setup") ControlClick("Notepad++ v6.3.3 Setup","Welcome to the Notepad++ v6.3.3 Setup",1) WinWait("Notepad++ v6.3.3 Setup","License Agreement") WinActivate("Notepad++ v6.3.3 Setup","License Agreement") ControlClick("Notepad++ v6.3.3 Setup","License Agreement",1) WinWait("Notepad++ v6.3.3 Setup","Choose Install Location") WinActivate("Notepad++ v6.3.3 Setup","Choose Install Location") ControlClick("Notepad++ v6.3.3 Setup","Choose Install Location",1) WinWait("Notepad++ v6.3.3 Setup","Choose Components") WinActivate("Notepad++ v6.3.3 Setup","Choose Components") ControlClick("Notepad++ v6.3.3 Setup","Choose Components",1) WinWait("Notepad++ v6.3.3 Setup","Choose Components") WinActivate("Notepad++ v6.3.3 Setup","Install") ControlClick("Notepad++ v6.3.3 Setup","Install",1) WinWait("Notepad++ v6.3.3 Setup","Completing the Notepad++ v6.3.3 Setup") WinActivate("Notepad++ v6.3.3 Setup","Completing the Notepad++ v6.3.3 Setup") ControlClick("Notepad++ v6.3.3 Setup","Completing the Notepad++ v6.3.3 Setup",1203) ControlClick("Notepad++ v6.3.3 Setup","Completing the Notepad++ v6.3.3 Setup",1) Exit #endregion --- Au3Recorder generated code End --- This is my test code to install notepad++ remotely and it fails to install remotely.. Is there a better way to code this? Also is it possible to repackage the Installer file so that instead of having the installer.exe and the autoit script.exe I can have one .exe that can automatically install?
  6. Can you run autoit script that automates install remotely?
  7. Hm.. When I run the .exe created by the script, my powershell hangs.. Is there a way to run the .exe in the background?
  8. So that code will loop through all the installation titles? What does the number 6 represent?
  9. Hi I am trying to install an update through autoit script and during install there will be 4-6 error messages and I need to click "ok" through all of them. My boss tells me that every new update will bring more error messages so I want to create a loop that clicks through all the error messages. I am really new to autoit so is there any tips?
  10. Hi I am totaly autoit noob and I am wondering if I can use this with powershell. I am trying to install software on 5 different servers remotely and I think UAC is in my way of installing. Can I combine this script and powershell?
×
×
  • Create New...