I am a decent AutoIT scripter, and was wondering if there are any good ways to use an AutoIT script as a answerfile of sorts to "manually" do "scripted" installs for software that don't work very well as K2000 Postinstall softwares.
I'm thinking :
Package the software installer Setup*.exe along with an autoit script compiled to an *.exe. Have K2000 run the AutoIT program that looks like this ;

Send("{ENTER}")
Sleep (1000)
Send("{TAB}")
Sleep (500)
Send("{TAB}")

It seems silly, but at least it's simple and should work. I say should because I haven't been able to get it to work.

Any input?
Answer Summary:
http://www.itninja.com/question/useful-xp-win7-scripted-installs-tips-tasks
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

3
I'm using compiled AutoIT scripts for exactly this, as well as for some Windows config items that would be cumbersome via other means. For app installs, I just put the compiled AutoIT script in the same folder with the install file(s) and then invoke it in the post install command field (found using "start /wait" and pwarme's postinstall converter to help considerably with the Win7 postinstalls, but XP works fine without). Here's a post on the subject with some examples I did a couple of weeks ago, in case they might help.

http://www.itninja.com/question/useful-xp-win7-scripted-installs-tips-tasks

John
Answered 03/26/2012 by: jverbosk
Red Belt

  • @jverbosk OMG! That is seriously the greatest little post in the world. Thank you so much. Super informative and well written. Thank you thank you thank you.
Please log in to comment

Answers

1
Its not silly. I've done this for those extreme pieces of software that just don't place nice.
Answered 03/26/2012 by: dchristian
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity