{"id":3062,"date":"2014-11-30T16:00:45","date_gmt":"2014-11-30T14:00:45","guid":{"rendered":"http:\/\/www.samlogic.net\/blog\/?p=3062"},"modified":"2019-07-07T19:51:44","modified_gmt":"2019-07-07T19:51:44","slug":"how-to-install-and-uninstall-a-windows-service-using-visual-installer","status":"publish","type":"post","link":"https:\/\/www.samlogic.net\/blog\/2014\/11\/how-to-install-and-uninstall-a-windows-service-using-visual-installer\/","title":{"rendered":"How to install and uninstall a Windows service using Visual Installer"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignright\" src=\"https:\/\/www.samlogic.net\/visual-installer\/tips\/tips-pages\/install-windows-service-from-script\/img\/windows-service-icon-h164.jpg\" border=\"0\" alt=\"\">The <a href=\"https:\/\/www.samlogic.net\/visual-installer\/visual-installer.htm\">Visual Installer<\/a> installation tool can be used to install and uninstall a Windows service. By combining the <strong>XRUN<\/strong> script command with the new script command <strong>UNINSTALL_XRUN<\/strong> this is very easy done. <strong>UNINSTALL_XRUN<\/strong> is a new script command that vi added to Visual Installer&#8217;s scripting language in the version 10.0.27 update of Visual Installer. <strong>UNINSTALL_XRUN<\/strong> runs a program during Visual Installer&#8217;s uninstallation process.<\/p>\n<p><strong>XRUN<\/strong> can be used to install (register) the Windows service and <strong>UNINSTALL_XRUN<\/strong> can be used to uninstall (unregister) the Windows service. In this new tip on our website we will explain in detail how to install and uninstall a Windows service using the scripting language in Visual Installer 2014 \/ Professional:<\/p>\n<p><strong><span style=\"color: #ff0000;\">&gt;<\/span><\/strong> <a href=\"https:\/\/www.samlogic.net\/visual-installer\/tips\/tips-pages\/install-windows-service-from-script\/install-windows-service-from-script.htm\">Tip: How to install a Windows service using script<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Visual Installer installation tool can be used to install and uninstall a Windows service. By combining the XRUN script command with the new script command UNINSTALL_XRUN this is very easy done. UNINSTALL_XRUN is a new script command that vi added to Visual Installer&#8217;s scripting language in the version 10.0.27 update of Visual Installer. UNINSTALL_XRUN &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.samlogic.net\/blog\/2014\/11\/how-to-install-and-uninstall-a-windows-service-using-visual-installer\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to install and uninstall a Windows service using Visual Installer&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6,10],"tags":[],"_links":{"self":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/3062"}],"collection":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/comments?post=3062"}],"version-history":[{"count":1,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/3062\/revisions"}],"predecessor-version":[{"id":6089,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/3062\/revisions\/6089"}],"wp:attachment":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/media?parent=3062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/categories?post=3062"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/tags?post=3062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}