{"id":893,"date":"2008-11-05T20:06:22","date_gmt":"2008-11-05T20:06:22","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/heaths\/2008\/11\/05\/visual-studio-2008-sp1-may-complain-that-another-patch-is-installed-even-after-removing-it\/"},"modified":"2019-02-17T15:29:56","modified_gmt":"2019-02-17T22:29:56","slug":"visual-studio-2008-sp1-may-complain-that-another-patch-is-installed-even-after-removing-it","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/setup\/visual-studio-2008-sp1-may-complain-that-another-patch-is-installed-even-after-removing-it\/","title":{"rendered":"Visual Studio 2008 SP1 may complain that another patch is installed even after removing it"},"content":{"rendered":"<p>If <a href=\"http:\/\/go.microsoft.com\/?linkid=8835254\">Visual Studio 2008 SP1<\/a> prompts you to run the <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=121685\">Microsoft Visual Studio Patch removal tool<\/a>, it means that a patch or product is installed that would cause issues when installing VS2008 SP1. The dialog is shown below.<\/p>\n<\/p>\n<div class=\"wlWriterEditableSmartContent\" id=\"scid:6960CE03-38FC-44df-87D4-FA4540212B06:8e90ee91-fdd8-45ac-adbe-6db888ee1b61\" style=\"padding-right: 0px;padding-left: 0px;float: none;padding-bottom: 0px;margin: 0px;padding-top: 0px\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/heaths\/wp-content\/uploads\/sites\/13\/2008\/11\/VS200820SP120Blockers.png\" alt=\"Microsoft Visual Studio Patch removal tool\" style=\"width:546px;height:470px\" \/><\/div>\n<\/p>\n<p>If you run the the patch removal tool and are still seeing this dialog, please follow the workaround below.<\/p>\n<h3>Workaround<\/h3>\n<p>You will need to search and possible modify your machine\u2019s registry.<\/p>\n<blockquote>\n<p><b>Warning<\/b> If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.<\/p>\n<\/blockquote>\n<p>You need to search for \u201cE4F34490B4BE97847AB7446D8AB3D908\u201d which is a representation of the patch code for SP1 Beta &#8211; ENU. Only if it is found under key locations described below can you remove it.<\/p>\n<ol>\n<li>Click <strong>Start<\/strong> and then click <strong>Run<\/strong>. <\/li>\n<li>In the <strong>Open<\/strong> box, type regedit.exe and click <strong>OK<\/strong>. If you are prompted with a User Account Control (UAC) dialog, please authenticate as an administrator or click <strong>Continue<\/strong>. <\/li>\n<li>In the Registry Editor, click on the very top node on the left. <\/li>\n<li>Click on the <strong>Edit<\/strong> menu and then <strong>Find<\/strong>. <\/li>\n<li>Paste \u201cE4F34490B4BE97847AB7446D8AB3D908\u201d (without quotes) into the <strong>Find<\/strong> dialog, and click <strong>Find Next<\/strong>. <\/li>\n<li>For each key location it\u2019s found, take note of the path shown in the status bar at the bottom of the Registry Editor window. You may also click on the <strong>Favorites<\/strong> menu and click <strong>Add to Favorites<\/strong>, then record the full key location. <\/li>\n<\/ol>\n<p>If you find this key under \u201cHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Products\u201d then the patch is still installed for a product. Try running the patch removal tool again and make sure it completes successfully. If you\u2019re prompted for source, please provide that source to continue.<\/p>\n<p>If you do <strong>not<\/strong> find this key under \u201cHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Products\u201d then you may delete the other keys where this was found. This may include one or both of the following locations.<\/p>\n<ul>\n<li>HKEY_LOCAL_MACHINESOFTWAREClassesInstallerPatchesE4F34490B4BE97847AB7446D8AB3D908 <\/li>\n<li>HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18PatchesE4F34490B4BE97847AB7446D8AB3D908 <\/li>\n<\/ul>\n<p>If you do find it under \u201cHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18PatchesE4F34490B4BE97847AB7446D8AB3D908\u201d, before deleting that key look at the LocalPackage value in that key. If that file exists you may delete it but <strong>only<\/strong> if \u201cE4F34490B4BE97847AB7446D8AB3D908\u201d was <strong>not<\/strong> found under \u201cHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Products\u201d anywhere.<\/p>\n<p>Other patch code representations that the removal tool searches for are listed below. If you continue to have problems after following the steps above, please follow the directions replacing \u201cE4F34490B4BE97847AB7446D8AB3D908\u201d with each of the codes below.<\/p>\n<table cellspacing=\"0\" cellpadding=\"2\" border=\"0\">\n<thead>\n<tr>\n<td><strong>Search String<\/strong><\/td>\n<td><strong>Description<\/strong><\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>94E9A4505F113244FB4A3C28380E768A<\/td>\n<td>VS 2008 SP1 Beta &#8211; JPN<\/td>\n<\/tr>\n<tr>\n<td>9C468D694DD2B6B43A37E83C10FB9BDC<\/td>\n<td>VS 2008 SP1 Beta &#8211; ENU<\/td>\n<\/tr>\n<tr>\n<td>E0C2BE1E3AD62954F9889DB3B7EB8DE9<\/td>\n<td>VS 2008 SP1 Beta &#8211; JPN<\/td>\n<\/tr>\n<tr>\n<td>785EB8DAEAC5A0C43986F470702962A2<\/td>\n<td>VS 2008 SP1 Beta &#8211; ENU<\/td>\n<\/tr>\n<tr>\n<td>879E3F5E6076B744EBA74D306B78A666<\/td>\n<td>VS 2008 SP1 Beta &#8211; JPN<\/td>\n<\/tr>\n<tr>\n<td>39B697780D497C0AFE4CFF43246662CB<\/td>\n<td>WinSDK for VS 2008 SP1 Beta<\/td>\n<\/tr>\n<tr>\n<td>B6CB70ACD357B9847BB73583153965BE<\/td>\n<td>WinSDK for VS 2008 SP1 Beta &#8211; ENU<\/td>\n<\/tr>\n<tr>\n<td>87AA009B3D988074B9983389699E0D47<\/td>\n<td>WinSDK for VS 2008 SP1 Beta &#8211; JPN<\/td>\n<\/tr>\n<tr>\n<td>A09F7473B850ED84B84A805EE9C85218<\/td>\n<td>Remote Debugger (Kb944899) (v1)<\/td>\n<\/tr>\n<tr>\n<td>2C3B4567357090C4CBD2FA9F6A3E92EF<\/td>\n<td>Silverlight Tools 2 Beta 1<\/td>\n<\/tr>\n<tr>\n<td>970C23E898B72094ABE1D569D8A2D119<\/td>\n<td>VS Shell SP1 Beta &#8211; ENU<\/td>\n<\/tr>\n<tr>\n<td>E4E045C3623C16E43A1C2F6693C19081<\/td>\n<td>VS Shell SP1 Beta &#8211; JPN<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Details<\/h3>\n<p>VS2008 SP1 calls <a href=\"http:\/\/msdn.microsoft.com\/library\/aa370127.aspx\">MsiGetPatchInfo()<\/a> to determine if the patch is already installed before it attempts to download it if needed. This API does not require a ProductCode and checks the bulleted locations above for product-independent information which is only the LocalPackage. The source list for the patch is also stored independently of the product but is not relevant.<\/p>\n<p>Since the patch removal tool does not need to carry payload, a list of target ProductCodes is authored into the package and the tool calls <a href=\"http:\/\/msdn.microsoft.com\/library\/aa370128.aspx\">MsiGetPatchInfoEx()<\/a> which does require a ProductCode. This queries the product-specific key under \u201cHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Products\u201d for product-specific patch information.<\/p>\n<p>Windows Installer should remove the patch when the last product to which the patch is applied is removed or has the patch uninstalled from it. That is, when the patch is no longer applied to any products on the machine the patch information should be removed completely and the cached patch package itself removed from the %WINDIR%Installer directory. If you run msizap.exe on products to which the patch was applied it can cause this problem since <a href=\"http:\/\/blogs.msdn.com\/heaths\/archive\/2008\/04\/22\/msizap-is-not-uninstall.aspx\">msizap is not uninstall<\/a>. Some other applications also wrap msizap and can cause the same issue.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If Visual Studio 2008 SP1 prompts you to run the Microsoft Visual Studio Patch removal tool, it means that a patch or product is installed that would cause issues when installing VS2008 SP1. The dialog is shown below. If you run the the patch removal tool and are still seeing this dialog, please follow the [&hellip;]<\/p>\n","protected":false},"author":389,"featured_media":3843,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[45,51],"class_list":["post-893","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-visual-studio","tag-vs2008sp1"],"acf":[],"blog_post_summary":"<p>If Visual Studio 2008 SP1 prompts you to run the Microsoft Visual Studio Patch removal tool, it means that a patch or product is installed that would cause issues when installing VS2008 SP1. The dialog is shown below. If you run the the patch removal tool and are still seeing this dialog, please follow the [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts\/893","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/users\/389"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/comments?post=893"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts\/893\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/media\/3843"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/media?parent=893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/categories?post=893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/tags?post=893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}