Jump to content

noob help - creating a install script


Fredricz
 Share

Recommended Posts

Hello everyone! First time on the forum...

I've just started working with Autoit and are very new at this.

RunAs("Administrator", "", "password", "", "install_flash_player.exe", "C:\temp\install_flash_player.exe")

I want to run it as administrator and install flash player.. Tried to find a good tutorial thread, but didnt find anyone that explained the code. So help me please. :graduated:

/Fred

Link to comment
Share on other sites

Welcome to the Forums Fred :graduated:

Now...your line of code: you may need to specify the logon_flag which is your 4th parameter. Also, specify full path for what you want to run, the 5th parameter. The last parameter is only working directory, you don't really even need it.

Do you have the help file? You can find tutorials here.

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