Best Practices Question

Using AutoIT to create Postinstall Scripts K2000

03/26/2012 22383 views
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 ;

Sleep (1000)
Sleep (500)

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:
0 Comments   [ + ] Show comments


Community Chosen Answer

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.


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.

All Answers

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

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