{"id":833,"date":"2009-01-27T20:33:00","date_gmt":"2009-01-27T20:33:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/heaths\/2009\/01\/27\/unadvertise-features\/"},"modified":"2019-02-17T15:29:54","modified_gmt":"2019-02-17T22:29:54","slug":"unadvertise-features","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/setup\/unadvertise-features\/","title":{"rendered":"Unadvertise Features"},"content":{"rendered":"<p>The attached Windows Script file allows you to unadvertise features in a Windows Installer product by specifying either a ProductCode or the path to an MSP. If any features are advertised &#8211; whether <a title=\"incidental\" href=\"http:\/\/blogs.msdn.com\/heaths\/archive\/2006\/01\/23\/516457.aspx\">incidental<\/a> or intentional &#8211; the product will be reinstalled and those features added locally to your computer.<\/p>\n<h3>Usage<\/h3>\n<p><code>Repairs a Windows Installer product by unadvertising features.<\/p>\n<p>Usage: Unadvertise.wsf [\/Patch:value] [\/ProductCode:value] [\/Verbose] [\/WhatIf] [\/MSIOptions:value]<\/p>\n<p>Options:<\/p>\n<p>Patch : Path to a Windows Installer patch package<br \/>ProductCode : ProductCode for a Windows Installer product<br \/>Verbose : Displays verbose output<br \/>WhatIf : Only displays what would happen without actually doing it<br \/>MSIOptions : Additional properties to pass to Windows Installer when repairing<\/p>\n<p>Example: unadvertise.wsf \/patch:patch.msp \/verbose<\/code><\/p>\n<p>Only one of \/Patch or \/ProductCode can be specified.<\/p>\n<p><a href=\"https:\/\/msdnshared.blob.core.windows.net\/media\/MSDNBlogsFS\/prod.evol.blogs.msdn.com\/CommunityServer.Components.PostAttachments\/00\/09\/37\/94\/19\/Unadvertise.zip\">Unadvertise.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The attached Windows Script file allows you to unadvertise features in a Windows Installer product by specifying either a ProductCode or the path to an MSP. If any features are advertised &#8211; whether incidental or intentional &#8211; the product will be reinstalled and those features added locally to your computer. Usage Repairs a Windows Installer [&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,28,34,51],"class_list":["post-833","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-installation","tag-pages","tag-script","tag-vs2008sp1"],"acf":[],"blog_post_summary":"<p>The attached Windows Script file allows you to unadvertise features in a Windows Installer product by specifying either a ProductCode or the path to an MSP. If any features are advertised &#8211; whether incidental or intentional &#8211; the product will be reinstalled and those features added locally to your computer. Usage Repairs a Windows Installer [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts\/833","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=833"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts\/833\/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=833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/categories?post=833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/tags?post=833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}