Jump to content

automaticly set-up a program ?


YpR^
 Share

Recommended Posts

Is it possible to automaticly set-up a program in the background ? ...

descripe:

1: u download a program and place at in folder x.

2: u run an autoit-script, which open the file placed in the folder x, and installs it.

3: then the program opens the program and click "here and there :idiot:" until til program is completly configurated for this user...

4: Is it possible to do all this in "silent" mode ? ... so it's runing and configurating in bagground ?...

Link to comment
Share on other sites

It depends on the program.

Some programs have thier own -silent Install functions. You can also use control commands on certain installs.

Bascially

urldownloadtofile("http://somesite.com/some.exe","c:\some.exe")

run("c:\some.exe","",@sw_hide)

winwait("some install","where")

controlsend("some install","where","Edit1","c:\program files\somedir\{enter}")

Something like that, but depends on the installer.

AutoIt3, the MACGYVER Pocket Knife for computers.

Link to comment
Share on other sites

There are no definite answer for this question. As ScriptKitty mentionned, some software allows silent or scripted installs, other do not.

By using the @sh_hide to run the install, you will have to get the name of all the controls (buttons, editboxes etc) then use the controlsend function to assign a value to these controls. Again as hinted by ScriptKitty.

If you are looking at intalling the same program many times, there are other options, such as wininstaller, or installright that keeps track of all file and registry changes, which you can re-package and run in no user input mode.

But if you are looking at installing many different programs only a few times, scripting is as time consuming as doing the install.

CheersNobby

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