{"id":3223,"date":"2005-05-04T03:51:17","date_gmt":"2005-05-04T03:51:17","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/heaths\/2005\/05\/04\/windows-installer-3-1-fails-when-attempting-to-update-protected-files\/"},"modified":"2005-05-04T03:51:17","modified_gmt":"2005-05-04T03:51:17","slug":"windows-installer-3-1-fails-when-attempting-to-update-protected-files","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/setup\/windows-installer-3-1-fails-when-attempting-to-update-protected-files\/","title":{"rendered":"Windows Installer 3.1 Fails when Attempting to Update Protected Files"},"content":{"rendered":"<p><a href=\"http:\/\/support.microsoft.com\/kb\/222193\">Windows File Protection<\/a> is a feature that prevents critical files from being replaced by unauthorized programs. Currently, the only applications capable of updating WFP-protected files are the following:<\/p>\n<ul>\n<li><em>Hotfix.exe<\/em> for hotfix installations<\/li>\n<li><em>Update.exe<\/em> for hotfix and service pack installations<\/li>\n<li><em>Winnt32.exe<\/em> for operating system upgrades<\/li>\n<li><a href=\"http:\/\/windowsupdate.microsoft.com\/\">Windows Update<\/a><\/li>\n<\/ul>\n<p><a href=\"http:\/\/msdn.microsoft.com\/library\/en-us\/msi\/setup\/windows_installer_start_page.asp\">Windows Installer<\/a> (MSI) is not among the list of authorized applications. Any package that attempts to replace a WFP-protected file will cause an error that previously was logged and the package continued. Support article <a href=\"http:\/\/support.microsoft.com\/kb\/898628\">KB898628<\/a>&nbsp;mentions that one work around is to author your component or components that would update WFP-protected files so that the components would not install on platforms that supported WFP, which include Windows 2000, XP, and 2003.<\/p>\n<p>To author your components accordingly, set the Condition column value for your components in the <a href=\"http:\/\/msdn.microsoft.com\/library\/en-us\/msi\/setup\/component_table.asp\">Component<\/a> table to something like the following:<\/p>\n<pre>Version9X Or VersionNT &lt; 500<\/pre>\n<p>For a list of operating system values read <a href=\"http:\/\/msdn.microsoft.com\/library\/en-us\/msi\/setup\/operating_system_property_values.asp\">Operating System Property Values<\/a> in the Windows Installer SDK. Quite simply, these values are obtained by multiplying the major Windows version number by 100 and adding the minor version number.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows File Protection is a feature that prevents critical files from being replaced by unauthorized programs. Currently, the only applications capable of updating WFP-protected files are the following: Hotfix.exe for hotfix installations Update.exe for hotfix and service pack installations Winnt32.exe for operating system upgrades Windows Update Windows Installer (MSI) is not among the list of [&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":[20],"class_list":["post-3223","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-installation"],"acf":[],"blog_post_summary":"<p>Windows File Protection is a feature that prevents critical files from being replaced by unauthorized programs. Currently, the only applications capable of updating WFP-protected files are the following: Hotfix.exe for hotfix installations Update.exe for hotfix and service pack installations Winnt32.exe for operating system upgrades Windows Update Windows Installer (MSI) is not among the list of [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts\/3223","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=3223"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts\/3223\/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=3223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/categories?post=3223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/tags?post=3223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}