Admin Script Editor 3.2 Send comments on this topic.
Packaging AutoIt
Welcome to Admin Script Editor v3.2 > Features > ScriptPackager > Creating a Package > Examples by Language > Packaging AutoIt

Glossary Item Box

Packaging AutoIt Scripts

When creating a package for AutoIt, it is recommended that you include the autoit3.exe or autoit.exe interpreter in your package using the Additional Files option of the ScriptPackager (or check the new option to have it automatically included).

The interpreter should be selected as autoit3.exe or typed as autoit.exe, with no additional arguments, paths or quotes.

AutoIt does not support any command line arguments itself, and therefore the Arguments field in the Script Packager should be left blank for AutoIt scripts.

Note: If you are using the AutoIt include function, the included script files are not automatically included in your package, and must be added manually. Second, the path to the include files must be explicitly specified in your script using the %ASESCRIPTPATH% variable. Warning: problems have been reported with AutoIt's include command in its ability to specify an explicit path. The easiest and safest way to use code form other files when creating an AutoIt packaged scripts, is to physically copy and paste the contents of the file you wish to include into your script.

Also, unless there is a particular feature of the ScriptPackager you require or are just more comfortable staying within ASE, it is recommended that you look into the Aut2Exe tool which actually compiles AutoIt scripts (verses packaging them) with many of the same features provided by the ASE ScriptPackager.