/build/static/layout/Breadcrumb_cap_w.png

Using AutoIT to create Postinstall Scripts K2000

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?

0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
http://www.itninja.com/question/useful-xp-win7-scripted-installs-tips-tasks
Posted by: jverbosk 8 years ago
Red Belt
4
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

Comments:
  • @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. - lan.pham 8 years ago
Posted by: dchristian 8 years ago
Red Belt
1
Its not silly. I've done this for those extreme pieces of software that just don't place nice.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ