Jump to content

Athlon1000

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Location
    Sweden

Athlon1000's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Well, that didn't work =) How can I tell autoit to import a .reg file to the registry ? Run didn't work UPDATE: Got it to work finally. After about 5000 lines of code (at lest it felt like that) I ended up with this, which managed to just what I wanted to do: Run("data.exe /silent /sp-") sleep(5000) Run("REGEDIT /S settings.reg") Man that was hard to achieve Thanks a bunch for all the help, I've managed to learn a lot about autoit during this my first project.
  2. Update: found the registry keys That works fine, but I need to automate the config process also. Do you, or anyone, who how to export the RealVNC Server settings (password, etc.) from the registry as a .reg file ? This way I can tell autoit to import the regfile after the installation. But still, something must be very wrong since autoit cannot install realvnc.
  3. http://www.crille.se/files/files/program/v...1-x86_win32.exe Please do, I'm going nuts here
  4. UPDATE: SmOke_N: Tried your code without any luck. Must be something funny with that one window. Ok, I'm kinda new to this stuff so I'm using very basic stuff at this point. 3000 seconds, wow. I thought it was miliseconds =) Here's the code: Run("data.exe") WinWaitActive("Setup - VNC", "Welcome to the VNC Setup Wizard") Send("!n") WinWaitActive("Setup - VNC", "License Agreement") Send("!a") Send("!n") WinWaitActive("Setup - VNC", "Select Destination Location") Send("!n") WinWaitActive("Setup - VNC", "Select Components") Send("{TAB}") Send("{SPACE}") Send("{SPACE}") Send("{DOWN}") Send("{SPACE}") Send("!n") WinWaitActive("Setup - VNC", "Select Start Menu Folder") Send("!n") WinWaitActive("Setup - VNC", "Select Additional Tasks") Send("!n") WinWaitActive("Setup - VNC", "Setup is now ready to begin installing VNC on your computer.", 3) Send("!i") WinWaitActive("VNC Server Properties (Service-Mode)", 3) Send("{TAB}") Send("{ENTER}") WinWaitActive("VNC Server Password") Send("123456") Send("{TAB}") Send("123456") Send("{TAB}") Send("{ENTER}") WinWaitActive("VNC Server Properties (Service-Mode)", 3) Send("{ENTER}") Send("{TAB}") Send("{TAB}") WinWaitActive("VNC Free Edition Binary Distribution for Windows platforms") Send("!n") WinWaitActive("Setup has finished installing VNC on your computer.") Send("{ENTER}")
  5. Hi I have a rather annoying problem with my installation script for RealVNC Server and Viewer. I'm using AutoIt 3.1.1 and the latest beta (autoit-v3.1.1.114-beta-Setup.exe) along with RealVNC (vnc-4_1_1-x86_win32.exe) which is a InnoSetup installation file. The script works great until it reaches this window: This is the code for that window: WinWaitActive("Setup - VNC", "Setup is now ready to begin installing VNC on your computer.", 3000) Send("!i") And here is a screenshot of the window info: I'm using the same technique for my whole script, and as I said it works like a charm up until that window. If you need it I can post my whole installation script. What the heck could be wrong here ? Please heeeeelp
×
×
  • Create New...