YpR^ Posted December 1, 2004 Share Posted December 1, 2004 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 " 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 More sharing options...
scriptkitty Posted December 1, 2004 Share Posted December 1, 2004 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 More sharing options...
YpR^ Posted December 2, 2004 Author Share Posted December 2, 2004 I think u only have to press enter at the install screen... but im thinking about the "open-program-and-setup" thing :] Link to comment Share on other sites More sharing options...
nobby Posted December 2, 2004 Share Posted December 2, 2004 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 More sharing options...
YpR^ Posted December 2, 2004 Author Share Posted December 2, 2004 same program many times... thanks for the answer's ... i'll try to play a little with it... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now