{"id":3979,"date":"2019-02-28T09:25:24","date_gmt":"2019-02-28T09:25:24","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=3979"},"modified":"2019-02-28T09:25:24","modified_gmt":"2019-02-28T09:25:24","slug":"how-to-get-the-uninstall-command-for-a-win32-application","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/intune\/how-to-get-the-uninstall-command-for-a-win32-application","title":{"rendered":"How to get the Uninstall Command for a Win32 Application"},"content":{"rendered":"<p>So you have installed an App silenty via the <a href=\"https:\/\/github.com\/Microsoft\/Intune-Win32-App-Packaging-Tool\">Intune App Packager<\/a>\u00a0<\/p><p>You&#8217;ve used something like setup.exe \/silent , as the application didn&#8217;t come with a .msi as the install command , how do you get the uninstall command?<\/p><p>You will need to install it first on a test pc<\/p><p>You will then need to run the following powershell to find the GUID of the program in {}<\/p><p><code><span class=\"kwd\">get<\/span><span class=\"pun\">-<\/span><span class=\"pln\">wmiobject <\/span><span class=\"typ\">Win32_Product<\/span> <span class=\"pun\">|<\/span> <span class=\"typ\">Format<\/span><span class=\"pun\">-<\/span><span class=\"typ\">Table<\/span> <span class=\"typ\">IdentifyingNumber<\/span><span class=\"pun\">,<\/span> <span class=\"typ\">Name<\/span><span class=\"pun\">,<\/span> <span class=\"typ\">LocalPackage<\/span> <span class=\"pun\">-<\/span><span class=\"typ\">AutoSize<\/span><\/code><\/p><p>The uninstall command will be<\/p><p>msiexec.exe \/x {GUID OF APPLICATION) \/qb<\/p><pre class=\"lang-ps prettyprint prettyprinted\">\u00a0<\/pre>","protected":false},"excerpt":{"rendered":"<p>So you have installed an App silenty via the Intune App Packager\u00a0You&#8217;ve used something like setup.exe \/silent , as the application didn&#8217;t come with a .msi as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2836],"tags":[2873,33,2837,2872,971],"class_list":["post-3979","post","type-post","status-publish","format-standard","hentry","category-intune","tag-command","tag-guid","tag-intune","tag-msiexec","tag-uninstall"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=3979"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3979\/revisions"}],"predecessor-version":[{"id":3980,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3979\/revisions\/3980"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=3979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=3979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=3979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}