{"id":538,"date":"2011-05-20T12:39:30","date_gmt":"2011-05-20T11:39:30","guid":{"rendered":"http:\/\/www.autoitconsulting.com\/site\/?p=538"},"modified":"2025-07-14T23:07:08","modified_gmt":"2025-07-14T22:07:08","slug":"app-v-recipe-autoit-v3","status":"publish","type":"post","link":"https:\/\/www.autoitconsulting.com\/site\/deployment\/app-v-recipe-autoit-v3\/","title":{"rendered":"App-V Recipe: AutoIt v3"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p>This blog post will show you how to sequence AutoIt using App-V 4.6 SP1 (the latest version at the time of writing). Now, AutoIt is probably the easiest application to sequence in the world and doesn&#8217;t really need a blog post describing how to do it. However, I intend to write some more posts around using App-V in System Center Configuration Manager (ConfigMgr) 2007 for deployment and upgrades so a nice easy to follow recipe for an application that is free should be useful.<\/p>\n\n\n\n<p>For sequencing I&#8217;ll be using Windows XP SP3 and creating a package that can be used on all later operating systems. I&#8217;ve set up the Windows XP machine as per the recommendations in <a title=\"App-V 4.6 SP1 Sequencing Guide\" href=\"http:\/\/download.microsoft.com\/download\/F\/7\/8\/F784A197-73BE-48FF-83DA-4102C05A6D44\/App-V\/App-V%204.6%20Service%20Pack%201%20Sequencing%20Guide.docx\" target=\"_blank\" rel=\"noopener\">App-V 4.6 SP1 Sequencing Guide<\/a> &#8211; essentially all AV has been turned off, Windows update is off, and the App-V 4.6 SP1 sequencer has been installed. In my case the App-V sequencer machine is a Hyper-V virtual machine so that I can use snapshots to quickly get it back to a clean state.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Recipe<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download the AutoIt full installer from <a title=\"AutoIt Downloads\" href=\"http:\/\/www.autoitscript.com\/site\/autoit\/downloads\/\" target=\"_blank\" rel=\"noopener\">this page<\/a>.<\/li>\n\n\n\n<li>Run the Microsoft Application Virtualization Sequencer.<\/li>\n\n\n\n<li>Select <strong>Create a New Virtual Application Package<\/strong>.<\/li>\n\n\n\n<li>Select <strong>Create Package (default)<\/strong>.<\/li>\n\n\n\n<li>On the <strong>Prepare Computer<\/strong> screen check that there are no warnings (Windows Defender is running, etc.) and then click <strong>Next<\/strong>.<figure><img loading=\"lazy\" decoding=\"async\" title=\"Prepare Computer\" width=\"542\" height=\"122\" class=\"aligncenter size-full wp-image-546\" style=\"border: 1px solid black;\" src=\"http:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/prepare_computer.png\" alt=\"\" srcset=\"https:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/prepare_computer.png 677w, https:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/prepare_computer-300x67.png 300w\" sizes=\"auto, (max-width: 542px) 100vw, 542px\" \/><\/figure><\/li>\n\n\n\n<li>Select <strong>Standard Application (default)<\/strong> and click <strong>Next<\/strong>.<\/li>\n\n\n\n<li>At the <strong>Select Installer<\/strong> screen browse to the AutoIt installer (it should be something like &#8216;autoit-v3.3.14.2-setup.exe&#8217;) and then click <strong>Next<\/strong>.<\/li>\n\n\n\n<li>In the <strong>Package Name<\/strong> screen enter the name <strong>AutoIt v3<\/strong> as the package name. Note that this automatically generates the &#8216;Primary Virtual Application Directory&#8217; of <strong>Q:\\AutoIt v3<\/strong>. (in App-V 4.6 you no longer have to use 8.3 filenames so this automatically generated name is OK). Click <strong>Next<\/strong>.<figure><img loading=\"lazy\" decoding=\"async\" title=\"Package Name\" width=\"460\" height=\"179\" class=\"aligncenter size-full wp-image-549\" style=\"border: 1px solid black;\" src=\"http:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/package_name.png\" alt=\"\" srcset=\"https:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/package_name.png 575w, https:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/package_name-300x117.png 300w\" sizes=\"auto, (max-width: 460px) 100vw, 460px\" \/><\/figure><\/li>\n\n\n\n<li>The AutoIt installer will start. Use the defaults for all installation questions except for the installation folder which must be changed to match the Primary Virtual Application Directory of <strong>Q:\\AutoIt v3<\/strong>.<figure><img loading=\"lazy\" decoding=\"async\" title=\"Install Location\" width=\"373\" height=\"142\" class=\"aligncenter size-full wp-image-552\" style=\"border: 1px solid black;\" src=\"http:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/install_location.png\" alt=\"\" srcset=\"https:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/install_location.png 466w, https:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/install_location-300x115.png 300w\" sizes=\"auto, (max-width: 373px) 100vw, 373px\" \/><\/figure><\/li>\n\n\n\n<li>At the end of installation deselect <strong>Show release notes<\/strong> and then click <strong>Finish<\/strong>.<\/li>\n\n\n\n<li>Back in the App-V sequencer, select <strong>I am finished installing<\/strong> and then click <strong>Next<\/strong>.<figure><img loading=\"lazy\" decoding=\"async\" title=\"I am finished installing\" width=\"439\" height=\"149\" class=\"aligncenter size-full wp-image-555\" style=\"border: 1px solid black;\" src=\"http:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/finished_installing.png\" alt=\"\" srcset=\"https:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/finished_installing.png 549w, https:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/finished_installing-300x102.png 300w\" sizes=\"auto, (max-width: 439px) 100vw, 439px\" \/><\/figure><\/li>\n\n\n\n<li>Select the following tasks to run: AutoIt Window Info, Compile Script to .exe, Run Script, SciTE Script Editor. Then click <strong>Run Selected<\/strong>.<figure><img loading=\"lazy\" decoding=\"async\" title=\"Run Selected\" width=\"460\" height=\"166\" class=\"aligncenter size-full wp-image-558\" style=\"border: 1px solid black;\" src=\"http:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/run_selected.png\" alt=\"\" srcset=\"https:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/run_selected.png 575w, https:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/run_selected-300x108.png 300w\" sizes=\"auto, (max-width: 460px) 100vw, 460px\" \/><\/figure><\/li>\n\n\n\n<li>Close down all the launched applications then back in the App-V Sequencer click <strong>Next<\/strong>.<\/li>\n\n\n\n<li>Review the <strong>Installation Report<\/strong> and then click <strong>Next<\/strong>.<\/li>\n\n\n\n<li>We need to customize the package a little so select <strong>Customize<\/strong> and then click <strong>Next<\/strong>.<\/li>\n\n\n\n<li>Remove shortcuts as required for your corporate environment and then click <strong>Next<\/strong>. I would recommend removing &#8216;AutoIt v3 Website&#8217; and &#8216;Check for Updates&#8217;.<figure><img loading=\"lazy\" decoding=\"async\" title=\"Remove Shortcuts\" width=\"446\" height=\"170\" class=\"aligncenter size-full wp-image-561\" style=\"border: 1px solid black;\" src=\"http:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/remove_shortcuts.png\" alt=\"\" srcset=\"https:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/remove_shortcuts.png 557w, https:\/\/www.autoitconsulting.com\/site\/wp-content\/uploads\/2011\/05\/remove_shortcuts-300x114.png 300w\" sizes=\"auto, (max-width: 446px) 100vw, 446px\" \/><\/figure><\/li>\n\n\n\n<li>At the <strong>Prepare for Streaming<\/strong> page run the same applications as shown in step 12, close them after launch, and then click <strong>Next<\/strong>.<\/li>\n\n\n\n<li>Select <strong>Allow this package to run on any operating system<\/strong> and then click <strong>Next<\/strong>. (In theory, you could also create a specific 64-bit package as the AutoIt installer only installs 64-bit components when installed on a 64-bit machine, but the 32-bit version is fine for 99% of cases).<\/li>\n\n\n\n<li>Select <strong>Save the package now<\/strong> and <strong>Compress Package<\/strong> and click <strong>Create<\/strong>. Optionally enter the version name in the comments field.<\/li>\n\n\n\n<li>Click <strong>Close<\/strong> and you&#8217;re done!<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Overview This blog post will show you how to sequence AutoIt using App-V 4.6 SP1 (the latest version at the time of writing). Now, AutoIt is probably the easiest application to sequence in the world and doesn&#8217;t really need a blog post describing how to do it. However, I intend to write some more posts [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1756,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[23,62],"class_list":["post-538","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-deployment","tag-app-v","tag-deployment"],"_links":{"self":[{"href":"https:\/\/www.autoitconsulting.com\/site\/wp-json\/wp\/v2\/posts\/538","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.autoitconsulting.com\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.autoitconsulting.com\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.autoitconsulting.com\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.autoitconsulting.com\/site\/wp-json\/wp\/v2\/comments?post=538"}],"version-history":[{"count":5,"href":"https:\/\/www.autoitconsulting.com\/site\/wp-json\/wp\/v2\/posts\/538\/revisions"}],"predecessor-version":[{"id":100124,"href":"https:\/\/www.autoitconsulting.com\/site\/wp-json\/wp\/v2\/posts\/538\/revisions\/100124"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.autoitconsulting.com\/site\/wp-json\/wp\/v2\/media\/1756"}],"wp:attachment":[{"href":"https:\/\/www.autoitconsulting.com\/site\/wp-json\/wp\/v2\/media?parent=538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.autoitconsulting.com\/site\/wp-json\/wp\/v2\/categories?post=538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.autoitconsulting.com\/site\/wp-json\/wp\/v2\/tags?post=538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}