Jump to content

winrar auto install


Recommended Posts

New to the Autoit tool. Trying to get a feel for a simple automatic software install.

Trying to get firefox (i know there is a silent install, but trying to learn this tool) installed on a windows 7 machine.

Following is my script

Run("firefox Setup 4.0.1.exe")

WinWaitActive("Open File - Security Warning")

Send("{TAB}{TAB}{TAB}{TAB}{TAB}{ENTER}")

WinWaitActive("Mozilla Firefox Setup","")

Send("!n")

WinWaitActive("Mozilla Firefox Setup","Choose the type of setup")

Send("!n")

WinWaitActive("Mozilla Firefox Setup","Firefox will be installed")

Send("{TAB}{TAB}{TAB}{SPACE}")

Send("!i")

When i run this script it never moves past line #4 (the window just sits there). I have tried different things but not sure what i am missing. For somereason it is not clicking through the Next button.

any help would be appreciated

-P

Link to comment
Share on other sites

Firefox is no problem silently

It has switches available for that purpose

For eg

I use the version from here

http://www.filehippo.com/download_firefox/

then i auto change the name within my naming conventions to install_firefox.exe then use this command within a cmd window to install it

install_firefox.exe -ms -ma

Chimaera Edited by Chimaera
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...