{"id":2495,"date":"2015-10-12T16:06:34","date_gmt":"2015-10-12T20:06:34","guid":{"rendered":"http:\/\/batchpatch.com\/?p=2495"},"modified":"2015-10-12T16:16:41","modified_gmt":"2015-10-12T20:16:41","slug":"remote-software-installation-with-batchpatch","status":"publish","type":"post","link":"https:\/\/batchpatch.com\/remote-software-installation-with-batchpatch","title":{"rendered":"Remote Software Installation with BatchPatch"},"content":{"rendered":"<p>Today I&#8217;d like to demonstrate a silent remote software installation with BatchPatch.  We&#8217;ll deploy 7-zip to the computers in our lab.  Once deployed, we&#8217;ll then go ahead and remotely uninstall it too.<\/p>\n<h2 class=\"brownishOrange\">Remote Software Installation &#8211; Deploying 7-zip to remote computers<\/h2>\n<ol>\n<li>Select the desired target host(s) in the BatchPatch grid, and then choose &#8216;Actions > Deploy > Create\/modify deployment&#8217;<br \/>\n<a href=\"\/wp-content\/uploads\/2015\/10\/2015-10-12-15_43_39-Deploy-.msi-.msp-.msu-.exe-.reg-.vbs-.bat-.cmd-.ps1-etc1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/10\/2015-10-12-15_43_39-Deploy-.msi-.msp-.msu-.exe-.reg-.vbs-.bat-.cmd-.ps1-etc1.png\" alt=\"2015-10-12 15_43_39-Deploy .msi .msp .msu .exe .reg .vbs .bat .cmd .ps1 etc\" width=\"857\" height=\"450\" class=\"aligncenter size-full wp-image-2515\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/10\/2015-10-12-15_43_39-Deploy-.msi-.msp-.msu-.exe-.reg-.vbs-.bat-.cmd-.ps1-etc1.png 857w, https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/10\/2015-10-12-15_43_39-Deploy-.msi-.msp-.msu-.exe-.reg-.vbs-.bat-.cmd-.ps1-etc1-300x158.png 300w\" sizes=\"auto, (max-width: 857px) 100vw, 857px\" \/><\/a>\n<\/li>\n<li>In the &#8216;Deploy&#8217; window, browse to the 7-zip installer that you previously downloaded from 7-zip.org.  I did a google search to see what the silent installation parameter is for the 7-zip 32-bit .exe installer, and it&#8217;s just a \/S (case-sensitive).  So, you can see in the &#8216;Deploy&#8217; window screenshot above, I&#8217;ve browsed to the location of the 7z920.exe, and I&#8217;ve added the \/S parameter.\n<\/li>\n<li>All we have to do is execute the deployment now by clicking the &#8216;Execute now&#8217; button.  BatchPatch prompts us to confirm the deployment.  Click OK to proceed.<br \/>\n<a href=\"\/wp-content\/uploads\/2015\/10\/2015-10-12-15_47_43-new-1-BatchPatch-X1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/10\/2015-10-12-15_47_43-new-1-BatchPatch-X1.png\" alt=\"2015-10-12 15_47_43-new 1 - BatchPatch X1\" width=\"663\" height=\"417\" class=\"aligncenter size-full wp-image-2497\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/10\/2015-10-12-15_47_43-new-1-BatchPatch-X1.png 663w, https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/10\/2015-10-12-15_47_43-new-1-BatchPatch-X1-300x189.png 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/a>\n<\/li>\n<li>A few seconds later the &#8216;All Messages&#8217; column reports &#8216;<font style color=\"blue\">Deployment: Exit Code: 0 (SUCCESS)<\/font>,&#8217; and we&#8217;re all done!  In the screenshow below I&#8217;ve expanded the &#8216;All Messages&#8217; contents so that you can see exactly what BatchPatch did.<br \/>\n<a href=\"\/wp-content\/uploads\/2015\/10\/2015-10-12-15_48_57-Program-Manager.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/10\/2015-10-12-15_48_57-Program-Manager.png\" alt=\"2015-10-12 15_48_57-Program Manager\" width=\"843\" height=\"418\" class=\"aligncenter size-full wp-image-2498\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/10\/2015-10-12-15_48_57-Program-Manager.png 843w, https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/10\/2015-10-12-15_48_57-Program-Manager-300x149.png 300w\" sizes=\"auto, (max-width: 843px) 100vw, 843px\" \/><\/a>\n<\/li>\n<\/ol>\n<h2 class=\"brownishOrange\">Remote Software Installation &#8211; Uninstalling 7-zip from remote computers<\/h2>\n<ol>\n<li>For the removal \/ uninstallation, we don&#8217;t need to deploy any files to target computers.  Instead we simply need to execute a command.  In the case of a default installation, the 7-zip files will be stored in &#8220;C:\\Program Files\\7-zip.&#8221;  Make sure you identify the correct directory in your environment.  Then highlight the host and select &#8216;Actions > Execute remote process\/command > Create\/modify remote command.&#8217;<br \/>\n<a href=\"\/wp-content\/uploads\/2015\/10\/2015-10-12-15_56_10-Program-Manager.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/10\/2015-10-12-15_56_10-Program-Manager.png\" alt=\"2015-10-12 15_56_10-Program Manager\" width=\"732\" height=\"751\" class=\"aligncenter size-full wp-image-2502\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/10\/2015-10-12-15_56_10-Program-Manager.png 732w, https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/10\/2015-10-12-15_56_10-Program-Manager-292x300.png 292w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/a>\n<\/li>\n<li>In the &#8216;Remote process\/command&#8217; window, add the uninstallation command exactly as follows:\n\n<div class=\"wp_syntax\"><table><tr><td class=\"code\"><pre class=\"dos\" style=\"font-family:monospace;\">&quot;C:\\Program Files\\7-Zip\\Uninstall.exe&quot; \/S<\/pre><\/td><\/tr><\/table><\/div>\n\n<p><a href=\"\/wp-content\/uploads\/2015\/10\/2015-10-12-16_00_03-new-1-BatchPatch-X1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/10\/2015-10-12-16_00_03-new-1-BatchPatch-X1.png\" alt=\"2015-10-12 16_00_03-new 1 - BatchPatch X1\" width=\"663\" height=\"417\" class=\"aligncenter size-full wp-image-2507\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/10\/2015-10-12-16_00_03-new-1-BatchPatch-X1.png 663w, https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/10\/2015-10-12-16_00_03-new-1-BatchPatch-X1-300x189.png 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/a>\n<\/li>\n<li>Click &#8216;Execute&#8217; to initiate the uninstallation.  Then click &#8216;OK&#8217; to confirm that you want to proceed.<br \/>\n<a href=\"\/wp-content\/uploads\/2015\/10\/2015-10-12-16_01_22-new-1-BatchPatch-X1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/10\/2015-10-12-16_01_22-new-1-BatchPatch-X1.png\" alt=\"2015-10-12 16_01_22-new 1 - BatchPatch X1\" width=\"663\" height=\"417\" class=\"aligncenter size-full wp-image-2509\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/10\/2015-10-12-16_01_22-new-1-BatchPatch-X1.png 663w, https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/10\/2015-10-12-16_01_22-new-1-BatchPatch-X1-300x189.png 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/a>\n<\/li>\n<li>After a few seconds we see &#8216;<font style color=\"blue\">Remote Command: Exit Code: 0 (SUCCESS)<\/font>&#8216; to indicate that the command has been executed.  We can now check the target machine to confirm that the software has been removed.<br \/>\n<a href=\"\/wp-content\/uploads\/2015\/10\/2015-10-12-16_02_08-Program-Manager.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/10\/2015-10-12-16_02_08-Program-Manager.png\" alt=\"2015-10-12 16_02_08-Program Manager\" width=\"843\" height=\"419\" class=\"aligncenter size-full wp-image-2510\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/10\/2015-10-12-16_02_08-Program-Manager.png 843w, https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/10\/2015-10-12-16_02_08-Program-Manager-300x149.png 300w\" sizes=\"auto, (max-width: 843px) 100vw, 843px\" \/><\/a>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Today I&#8217;d like to demonstrate a silent remote software installation with BatchPatch. We&#8217;ll deploy 7-zip to the computers in our lab. Once deployed, we&#8217;ll then go ahead and remotely uninstall it too. Remote Software Installation &#8211; Deploying 7-zip to remote computers Select the desired target host(s) in the BatchPatch grid, and then choose &#8216;Actions > [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1,17,3],"tags":[156,155],"class_list":["post-2495","post","type-post","status-publish","format-standard","hentry","category-blog","category-general","category-tutorials","tag-remote-software-installation","tag-software-depoyment"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts\/2495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/comments?post=2495"}],"version-history":[{"count":12,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts\/2495\/revisions"}],"predecessor-version":[{"id":2516,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts\/2495\/revisions\/2516"}],"wp:attachment":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/media?parent=2495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/categories?post=2495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/tags?post=2495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}