{"id":20,"date":"2008-12-04T12:28:48","date_gmt":"2008-12-04T19:28:48","guid":{"rendered":"http:\/\/www.chuonthis.com\/tips\/2008\/12\/04\/visual-studio-2008-service-pack-1-install-hangs-near-the-end-command-prompt\/"},"modified":"2008-12-17T12:43:20","modified_gmt":"2008-12-17T19:43:20","slug":"visual-studio-2008-service-pack-1-install-hangs-near-the-end-command-prompt-lnk","status":"publish","type":"post","link":"https:\/\/chuonthis.com\/tips\/2008\/12\/04\/visual-studio-2008-service-pack-1-install-hangs-near-the-end-command-prompt-lnk\/","title":{"rendered":"Visual Studio 2008 Service Pack 1 install hangs near the end (warning 1909 command prompt lnk)"},"content":{"rendered":"<p>So continuing with my Visual Studio 2008 installs (and how horrible the installation procedure is), I had a system that ran the Service Pack 1 install and seemed to hang at the end.  Normally, I just schedule the install and let it do its thing with unattended setups and an auto-reboot at the end.  I got a call from the user saying the SP1 was still installing and this was 5 hours later.  I know the SP1 install takes forever, but 5 hours was a little much.  So I tried to cancel the install but no luck, so I had to end task SPInstaller.exe.<\/p>\n<p>Off to the log files I go.  Wait a minute&#8230;the SP1 log file is 5GB!  What&#8217;s going on?!  I wasn&#8217;t about to open such a huge file so I deleted all the log files and re-ran the install in non-unattended mode.  Shortly after starting the install, it failed with an &#8220;Installation suspended, incomplete&#8221; message.  I thought this meant something but in the end, all it means is that a previous install failed and it rolled some stuff back.<\/p>\n<p>So I ran the install again and this time, it went further, like normal.  I noticed on other systems the log file would only grow to 20-30MB so I waited until the log file grew to about 50MB and then end tasked the installer again.  I opened up the log file and the end was filled with this message over and over:<\/p>\n<p><strong>Warning 1909. Could not create Shortcut Visual Studio 2008 Command Prompt.lnk. Verify that the destination folder exists and that you can access it.<\/strong><\/p>\n<p>Why couldn&#8217;t it create the shortcut?  Who knows?  Google, probably.  I just searched for &#8220;warning 1909&#8221; and saw a bunch of stuff about the Office installer failing with this message.  None of the fixes seemed to apply to me.  I checked the permissions at C:\\Documents and Settings\\All Users\\Start Menu\\Programs and everything seemed good.  The VS2008 program folder existed and permissions were also normal.<\/p>\n<p>Well, long story short, <a href=\"http:\/\/social.msdn.microsoft.com\/Forums\/en-US\/vssetup\/thread\/7f6ffd7a-444f-4f9d-b8ad-4be7a8ac2d5c\/\">this forum thread<\/a> helped me resolve my issue (I guess this problem also occurs with VS2005).  It was on the second page of my search and it&#8217;s weird that if I had searched for my message with quotes around certain parts, this result would&#8217;ve been hidden by Google.<\/p>\n<p>Anyway, I looked at the system environment variables to see if the ComSpec variable was set incorrectly.  And it sure was.  It was&#8230;missing.  Argh, why did the user do that for?!  I recreated the ComSpec variable and set it to %SystemRoot%\\system32\\cmd.exe and re-ran the installer.  Everything worked after that.  I guess the installer uses that environment variable to determine how to create that command prompt shortcut.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So continuing with my Visual Studio 2008 installs (and how horrible the installation procedure is), I had a system that ran the Service Pack 1 install and seemed to hang at the end. Normally, I just schedule the install and let it do its thing with unattended setups and an auto-reboot at the end. I got a call from the&hellip; <a class=\"continue-reading-link\" href=\"https:\/\/chuonthis.com\/tips\/2008\/12\/04\/visual-studio-2008-service-pack-1-install-hangs-near-the-end-command-prompt-lnk\/\">Continue reading <span class=\"screen-reader-text\">Visual Studio 2008 Service Pack 1 install hangs near the end (warning 1909 command prompt lnk)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-computers","entry"],"_links":{"self":[{"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/comments?post=20"}],"version-history":[{"count":0,"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/posts\/20\/revisions"}],"wp:attachment":[{"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/media?parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/categories?post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/tags?post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}