{"id":1349,"date":"2017-12-04T07:32:03","date_gmt":"2017-12-04T07:32:03","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=1349"},"modified":"2021-02-27T09:34:25","modified_gmt":"2021-02-27T09:34:25","slug":"windows-xp-sp3-installation-question","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/windows-xp-sp3-installation-question\/","title":{"rendered":"Windows XP SP3 installation question&#8230;"},"content":{"rendered":"<p><strong>deployexpert created the topic: Windows XP SP3 installation question&#8230;<\/strong><br \/>\nI need help in suppressing CANCEL button during Windows XP SP3 install.<\/p>\n<p>I&#8217;m using \/quiet \/norestart switches along with the SP3 EXE. Are there any other switches to remove\/suppress CANCEL button during the install?<br \/>\nAny help is greatly appreciated.<\/p>\n<p><strong>applicationPackaging replied the topic: Re: Windows XP SP3 installation question&#8230;<\/strong><br \/>\nRight now i&#8217;m packaging Windows XP SP3 for our SP2 environment and i used AutoIT script to do the job.<\/p>\n<p>Use \/passive \/nobackup \/norestart \/log swicthes as<\/p>\n<p>\/passive will install with a progress bar<br \/>\n\/nobackup will remove the backup for uninstall<br \/>\n\/log will create a log file<\/p>\n<p>Try the following AutoIT script:<\/p>\n<p>;===================================================================================================<br \/>\n;Hides the AutoIT icon<br \/>\nOpt(&#8220;TrayIconHide&#8221;,1)<\/p>\n<p>; 1st section gives the user a warning that the sevice pack install will start<br \/>\n$PID=SplashTextOn(&#8220;Windows XP SP3 Installation&#8221;, &#8220;Installing Microsoft Windows XP Service Pack 3. The installation can take 30 minutes. Please wait until the completion message appears.&#8221;, 450, 85, -1, -1, 4, &#8220;10&#8221;)<br \/>\nSleep(20000)<br \/>\nSplashOff()<br \/>\nProcessWaitClose($PID)<\/p>\n<p>;RUN WINDOWS XP SP3 IN PASSIVE MODE WITH NO RESTART, NO BACKUP AND A LOG FILE<br \/>\nRun ( &#8220;WindowsXP-KB936929-SP3-x86-ENU.exe \/passive \/norestart \/nobackup \/log:c:\\WindowsXP-KB936929-SP3-x86-ENU.log&#8221; )<\/p>\n<p>; WAIT UNTILL SP3 WINDOW IS ACTIVE<br \/>\nWinWaitActive(&#8220;Software Update Installation Wizard&#8221;, &#8220;&#8221;)<\/p>\n<p>; SET SP3 WINDOW ACTIVE IF IT DOESN&#8217;T HAVE FOCUS<br \/>\nIf Not WinActive(&#8220;Software Update Installation Wizard&#8221;,&#8221;&#8221;) Then WinActivate(&#8220;Software Update Installation Wizard&#8221;,&#8221;&#8221;)<\/p>\n<p>; HIDE BACK BUTTON<br \/>\nControlHide ( &#8220;Software Update Installation Wizard&#8221;, &#8220;&#8221;, 12323 )<\/p>\n<p>; HIDE FINISH BUTTON<br \/>\nControlHide ( &#8220;Software Update Installation Wizard&#8221;, &#8220;&#8221;, 12325 )<\/p>\n<p>;CHANGE FOCUS TO HELP BUTTON<br \/>\nControlFocus(&#8220;Software Update Installation Wizard&#8221;, &#8220;&#8221;, 9)<\/p>\n<p>; HIDE CANCEL BUTTON<br \/>\nControlHide ( &#8220;Software Update Installation Wizard&#8221;, &#8220;&#8221;, 2 )<\/p>\n<p>; WAIT UNTILL SP3 WINDOW IS ACTIVE<br \/>\nWinWaitActive(&#8220;Software Update Installation Wizard&#8221;, &#8220;&#8221;)<br \/>\nSend(&#8220;{TAB}&#8221;)<\/p>\n<p>;HIDE HELP BUTTON<br \/>\nControlHide ( &#8220;Software Update Installation Wizard&#8221;, &#8220;&#8221;, 9 )<\/p>\n<p>;===================================================================================================<\/p>\n<p>You can actually change the script according to your requirement and it is easy to use.<\/p>\n<p>Let me know if you need anything.<\/p>\n<p><strong>deployexpert replied the topic: Re: Windows XP SP3 installation question&#8230;<\/strong><br \/>\nI will definitely give it a try.<\/p>\n<p>I&#8217;m aware of AutoIT but never created a script. Let me create an EXE with the above code and install.<\/p>\n<p>Thanks you very much for your solution. I really appreciate it.<\/p>\n<p><strong>deployexpert replied the topic: Re: Windows XP SP3 installation question&#8230;<\/strong><br \/>\nYou still can prevent<\/p>\n<p>You still can prevent shutdown. The following AutoIT code works for Windows XP provided you are using required silent switches:<\/p>\n<p>#NoTrayIcon<\/p>\n<p>$WM_QUERYENDSESSION = 0x0011<br \/>\nGUIRegisterMsg($WM_QUERYENDSESSION, &#8220;Cancel_Shutdown&#8221;)<\/p>\n<p>GUICreate(&#8220;PreventShutdownGUI&#8221;)<br \/>\nGUISetSTate(@SW_HIDE)<\/p>\n<p>While 1<br \/>\nsleep(10)<br \/>\nWEnd<\/p>\n<p>Func Cancel_Shutdown($hWndGUI, $MsgID, $WParam, $LParam)<br \/>\nReturn False<br \/>\nEndFunc<\/p>\n<p>I installed Symantec Endpoint Protection managed client on 250 PCs this way:<\/p>\n<p>#NoTrayIcon<\/p>\n<p>; Exit the script after 30 minutes<br \/>\nAdlibEnable( &#8220;Shutdown_Machine&#8221;, 1800000)<\/p>\n<p>$WM_QUERYENDSESSION = 0x0011<br \/>\nGUIRegisterMsg($WM_QUERYENDSESSION, &#8220;Cancel_Shutdown&#8221;)<\/p>\n<p>GUICreate(&#8220;PreventShutdownGUI&#8221;)<br \/>\nGUISetSTate(@SW_HIDE)<\/p>\n<p>MsgBox (0, &#8220;Symantec Endpoint&#8221;, &#8220;Symantec Endpoint Protection Will be Installed Now&#8221; &#038; @CRLF &#038; &#8220;Please DO NOT SHUTDOWN This Machine&#8221; &#038; @CRLF &#8220;Machine Will Restart When Setup is Finished&#8221;, 10)<br \/>\nRunAs(&#8220;Administrator&#8221;, &#8220;Domain_Name&#8221;, &#8220;Password&#8221;, 4, &#8220;\\\\Server_Name\\Shared_Folder_Name\\Setup.exe&#8221;)<\/p>\n<p>While 1<br \/>\nsleep(10)<br \/>\nWEnd<\/p>\n<p>Func Cancel_Shutdown($hWndGUI, $MsgID, $WParam, $LParam)<br \/>\nReturn False<br \/>\nEndFunc<\/p>\n<p>Func Shutdown_Machine()<br \/>\nExit<br \/>\nEndFunc<\/p>\n<p>It is worth noting that I changed setup.ini file under [Startup] section as follows:<br \/>\nCmdLine=\/l*v &#8220;%TEMP%\\SEP_INST.LOG&#8221;<br \/>\nTo:<br \/>\nCmdLine=\/q<\/p>\n<p>I don&#8217;t need the log file, so that I removed [\/l*v &#8220;%TEMP%\\SEP_INST.LOG&#8221;] switch.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>deployexpert created the topic: Windows XP SP3 installation question&#8230; I need help in suppressing CANCEL button during Windows XP SP3 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[49],"tags":[235],"class_list":["post-1349","post","type-post","status-publish","format-standard","hentry","category-general","tag-installation"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Windows XP SP3 installation question... - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/windows-xp-sp3-installation-question\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Windows XP SP3 installation question... - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"deployexpert created the topic: Windows XP SP3 installation question&#8230; I need help in suppressing CANCEL button during Windows XP SP3 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/windows-xp-sp3-installation-question\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-04T07:32:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-27T09:34:25+00:00\" \/>\n<meta name=\"author\" content=\"scmgalaxy K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"scmgalaxy K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/windows-xp-sp3-installation-question\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/windows-xp-sp3-installation-question\\\/\"},\"author\":{\"name\":\"scmgalaxy K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"headline\":\"Windows XP SP3 installation question&#8230;\",\"datePublished\":\"2017-12-04T07:32:03+00:00\",\"dateModified\":\"2021-02-27T09:34:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/windows-xp-sp3-installation-question\\\/\"},\"wordCount\":553,\"commentCount\":0,\"keywords\":[\"Installation\"],\"articleSection\":[\"General\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/windows-xp-sp3-installation-question\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/windows-xp-sp3-installation-question\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/windows-xp-sp3-installation-question\\\/\",\"name\":\"Windows XP SP3 installation question... - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2017-12-04T07:32:03+00:00\",\"dateModified\":\"2021-02-27T09:34:25+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/windows-xp-sp3-installation-question\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/windows-xp-sp3-installation-question\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/windows-xp-sp3-installation-question\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Windows XP SP3 installation question&#8230;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\",\"name\":\"scmgalaxy K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"caption\":\"scmgalaxy K\"},\"sameAs\":[\"http:\\\/\\\/www.DevOpsSchool.com\"],\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/scmgalaxy\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Windows XP SP3 installation question... - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/windows-xp-sp3-installation-question\/","og_locale":"en_US","og_type":"article","og_title":"Windows XP SP3 installation question... - scmGalaxy","og_description":"deployexpert created the topic: Windows XP SP3 installation question&#8230; I need help in suppressing CANCEL button during Windows XP SP3 [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/windows-xp-sp3-installation-question\/","og_site_name":"scmGalaxy","article_published_time":"2017-12-04T07:32:03+00:00","article_modified_time":"2021-02-27T09:34:25+00:00","author":"scmgalaxy K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"scmgalaxy K","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/windows-xp-sp3-installation-question\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/windows-xp-sp3-installation-question\/"},"author":{"name":"scmgalaxy K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"headline":"Windows XP SP3 installation question&#8230;","datePublished":"2017-12-04T07:32:03+00:00","dateModified":"2021-02-27T09:34:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/windows-xp-sp3-installation-question\/"},"wordCount":553,"commentCount":0,"keywords":["Installation"],"articleSection":["General"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/windows-xp-sp3-installation-question\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/windows-xp-sp3-installation-question\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/windows-xp-sp3-installation-question\/","name":"Windows XP SP3 installation question... - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2017-12-04T07:32:03+00:00","dateModified":"2021-02-27T09:34:25+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/windows-xp-sp3-installation-question\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/windows-xp-sp3-installation-question\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/windows-xp-sp3-installation-question\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Windows XP SP3 installation question&#8230;"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102","name":"scmgalaxy K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","caption":"scmgalaxy K"},"sameAs":["http:\/\/www.DevOpsSchool.com"],"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/scmgalaxy\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/1349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=1349"}],"version-history":[{"count":1,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/1349\/revisions"}],"predecessor-version":[{"id":1350,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/1349\/revisions\/1350"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=1349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=1349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=1349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}