{"id":14613,"date":"2018-03-05T06:00:50","date_gmt":"2018-03-05T14:00:50","guid":{"rendered":"https:\/\/www.sapien.com\/blog\/?p=14613"},"modified":"2018-03-02T09:31:30","modified_gmt":"2018-03-02T17:31:30","slug":"installing-windows-services-created-with-powershell","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/","title":{"rendered":"Installing Windows Services Created with PowerShell"},"content":{"rendered":"<p>Last week we introduced a new <a href=\"https:\/\/www.sapien.com\/blog\/?p=14555\" rel=\"noopener\">PrimalScript template for Windows PowerShell<\/a> which makes writing Windows Services much easier. In this article, we will show you how to use MSI Builder to create an installer for your Windows Services.<\/p>\n<p>We created the services packager engine to allow for self-install \/ uninstall of a service, but that is not always the best option. For example, if your service requires other files, you will most likely want to create an installer. It is quite easy to create an installer using the MSI builder, which is part of the PrimalScript and PowerShell Studio deployment package.<\/p>\n<p>The MSI Builder had no special accommodation for Windows Services\u2014until now. Since a service needs to be registered and started on install rather than just copied as a file, the MSI file needs to contain some extra information. Likewise, when uninstalling, the service needs to be stopped and unregistered before the file can be removed.<\/p>\n<p>But fear not, there is not much for you to do.\u00a0When you create the installer, simply select <em><strong>Windows Service<\/strong><\/em> as the &#8216;Product Type&#8217;, and you are\u00a0<em>almost<\/em> done:<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2018\/02\/image-9.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px; border: 0px currentcolor; display: inline; background-image: none;\" title=\"image\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2018\/02\/image_thumb-9.png\" alt=\"image\" width=\"640\" height=\"353\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><em>Almost\u2014<\/em>because there is one important detail that needs your attention. Since MSI does not know which file in your installer is a service and which is not, you need to make sure the actual service executable is the first file in the &#8216;Files&#8217; list:<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2018\/02\/image-10.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px; border: 0px currentcolor; display: inline; background-image: none;\" title=\"image\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2018\/02\/image_thumb-10.png\" alt=\"image\" width=\"640\" height=\"353\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>In future releases, we will add some more options for your service installers, but for this scenario, you simply need to select <em><strong>Windows Service<\/strong><\/em> as the &#8216;Product Type&#8217; and choose the service executable as the first file. The installer will install your files, register the service, and start it. On uninstall it will stop the service and unregister it before it removes any files.<\/p>\n<p><em>Note:<\/em> <em>Uninstalls can take longer for services since Windows Installer will wait for the service to stop.<\/em> Depending on how you programmed the service, that can mean a 20 to 30-second delay.<\/p>\n<p>Learning from a working example is always a little easier, so we updated last years <a href=\"https:\/\/www.sapien.com\/blog\/2017\/07\/12\/write-a-windows-service-in-powershell\/\" rel=\"noopener\">SolitaireKiller service<\/a> to use the new service template and create an installer for it. Download the code and working installer here: <a title=\"https:\/\/sapien.s3.amazonaws.com\/Blog_Post_Files\/SolitaireKiller2018.zip\" href=\"https:\/\/sapien.s3.amazonaws.com\/Blog_Post_Files\/SolitaireKiller2018.zip\">https:\/\/sapien.s3.amazonaws.com\/Blog_Post_Files\/SolitaireKiller2018.zip<\/a><\/p>\n<h3>Feedback<\/h3>\n<p>As always, if you have any ideas, comments, or feedback, please <a href=\"https:\/\/www.sapien.com\/forums\/viewforum.php?f=23\">visit our feedback forum<\/a> and reference this post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week we introduced a new PrimalScript template for Windows PowerShell which makes writing Windows Services much easier. In this article, we will show you how to use MSI Builder to create an installer for your Windows Services. We created the services packager engine to allow for self-install \/ uninstall of a service, but that [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1143,703,410,21,25],"tags":[816,548,28,1016,37,300],"class_list":["post-14613","post","type-post","status-publish","format-standard","hentry","category-powershell","category-powershell-studio","category-primalscript-software-news","category-software-news","category-windows-powershell","tag-installer","tag-msi","tag-powershell","tag-powershell-studio","tag-primalscript","tag-service"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Last week we introduced a new PrimalScript template for Windows PowerShell which makes writing Windows Services much easier. In this article, we will show you how to use MSI Builder to create an installer for your Windows Services. We created the services packager engine to allow for self-install \/ uninstall of a service, but that\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Alex Riedel\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"DEV SAPIEN Blog - Tools for IT Success\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Installing Windows Services Created with PowerShell - DEV SAPIEN Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Last week we introduced a new PrimalScript template for Windows PowerShell which makes writing Windows Services much easier. In this article, we will show you how to use MSI Builder to create an installer for your Windows Services. We created the services packager engine to allow for self-install \/ uninstall of a service, but that\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2018-03-05T14:00:50+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2018-03-02T17:31:30+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Installing Windows Services Created with PowerShell - DEV SAPIEN Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Last week we introduced a new PrimalScript template for Windows PowerShell which makes writing Windows Services much easier. In this article, we will show you how to use MSI Builder to create an installer for your Windows Services. We created the services packager engine to allow for self-install \/ uninstall of a service, but that\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2018\\\/03\\\/05\\\/installing-windows-services-created-with-powershell\\\/#blogposting\",\"name\":\"Installing Windows Services Created with PowerShell - DEV SAPIEN Blog\",\"headline\":\"Installing Windows Services Created with PowerShell\",\"author\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/alexander-riedel\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.sapien.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/image_thumb-9.png\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2018\\\/03\\\/05\\\/installing-windows-services-created-with-powershell\\\/#articleImage\"},\"datePublished\":\"2018-03-05T06:00:50-08:00\",\"dateModified\":\"2018-03-02T09:31:30-08:00\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2018\\\/03\\\/05\\\/installing-windows-services-created-with-powershell\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2018\\\/03\\\/05\\\/installing-windows-services-created-with-powershell\\\/#webpage\"},\"articleSection\":\"PowerShell, PowerShell Studio, PrimalScript, Software News, Windows PowerShell, installer, MSI, powershell, PowerShell Studio, PrimalScript, Service\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2018\\\/03\\\/05\\\/installing-windows-services-created-with-powershell\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/#listItem\",\"name\":\"Software News\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/#listItem\",\"position\":2,\"name\":\"Software News\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/primalscript-software-news\\\/#listItem\",\"name\":\"PrimalScript\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/primalscript-software-news\\\/#listItem\",\"position\":3,\"name\":\"PrimalScript\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/primalscript-software-news\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2018\\\/03\\\/05\\\/installing-windows-services-created-with-powershell\\\/#listItem\",\"name\":\"Installing Windows Services Created with PowerShell\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/#listItem\",\"name\":\"Software News\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2018\\\/03\\\/05\\\/installing-windows-services-created-with-powershell\\\/#listItem\",\"position\":4,\"name\":\"Installing Windows Services Created with PowerShell\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/primalscript-software-news\\\/#listItem\",\"name\":\"PrimalScript\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\",\"name\":\"DEV SAPIEN Blog\",\"description\":\"Tools for IT Success\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/alexander-riedel\\\/#author\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/alexander-riedel\\\/\",\"name\":\"Alex Riedel\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2018\\\/03\\\/05\\\/installing-windows-services-created-with-powershell\\\/#webpage\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2018\\\/03\\\/05\\\/installing-windows-services-created-with-powershell\\\/\",\"name\":\"Installing Windows Services Created with PowerShell - DEV SAPIEN Blog\",\"description\":\"Last week we introduced a new PrimalScript template for Windows PowerShell which makes writing Windows Services much easier. In this article, we will show you how to use MSI Builder to create an installer for your Windows Services. We created the services packager engine to allow for self-install \\\/ uninstall of a service, but that\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2018\\\/03\\\/05\\\/installing-windows-services-created-with-powershell\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/alexander-riedel\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/alexander-riedel\\\/#author\"},\"datePublished\":\"2018-03-05T06:00:50-08:00\",\"dateModified\":\"2018-03-02T09:31:30-08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/\",\"name\":\"DEV SAPIEN Blog\",\"description\":\"Tools for IT Success\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Installing Windows Services Created with PowerShell - DEV SAPIEN Blog","description":"Last week we introduced a new PrimalScript template for Windows PowerShell which makes writing Windows Services much easier. In this article, we will show you how to use MSI Builder to create an installer for your Windows Services. We created the services packager engine to allow for self-install \/ uninstall of a service, but that","canonical_url":"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/#blogposting","name":"Installing Windows Services Created with PowerShell - DEV SAPIEN Blog","headline":"Installing Windows Services Created with PowerShell","author":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/alexander-riedel\/#author"},"publisher":{"@id":"https:\/\/dev.sapien.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2018\/02\/image_thumb-9.png","@id":"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/#articleImage"},"datePublished":"2018-03-05T06:00:50-08:00","dateModified":"2018-03-02T09:31:30-08:00","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/#webpage"},"isPartOf":{"@id":"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/#webpage"},"articleSection":"PowerShell, PowerShell Studio, PrimalScript, Software News, Windows PowerShell, installer, MSI, powershell, PowerShell Studio, PrimalScript, Service"},{"@type":"BreadcrumbList","@id":"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/dev.sapien.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/#listItem","name":"Software News"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/#listItem","position":2,"name":"Software News","item":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/primalscript-software-news\/#listItem","name":"PrimalScript"},"previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/primalscript-software-news\/#listItem","position":3,"name":"PrimalScript","item":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/primalscript-software-news\/","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/#listItem","name":"Installing Windows Services Created with PowerShell"},"previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/#listItem","name":"Software News"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/#listItem","position":4,"name":"Installing Windows Services Created with PowerShell","previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/primalscript-software-news\/#listItem","name":"PrimalScript"}}]},{"@type":"Organization","@id":"https:\/\/dev.sapien.com\/blog\/#organization","name":"DEV SAPIEN Blog","description":"Tools for IT Success","url":"https:\/\/dev.sapien.com\/blog\/"},{"@type":"Person","@id":"https:\/\/dev.sapien.com\/blog\/author\/alexander-riedel\/#author","url":"https:\/\/dev.sapien.com\/blog\/author\/alexander-riedel\/","name":"Alex Riedel"},{"@type":"WebPage","@id":"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/#webpage","url":"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/","name":"Installing Windows Services Created with PowerShell - DEV SAPIEN Blog","description":"Last week we introduced a new PrimalScript template for Windows PowerShell which makes writing Windows Services much easier. In this article, we will show you how to use MSI Builder to create an installer for your Windows Services. We created the services packager engine to allow for self-install \/ uninstall of a service, but that","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/dev.sapien.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/#breadcrumblist"},"author":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/alexander-riedel\/#author"},"creator":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/alexander-riedel\/#author"},"datePublished":"2018-03-05T06:00:50-08:00","dateModified":"2018-03-02T09:31:30-08:00"},{"@type":"WebSite","@id":"https:\/\/dev.sapien.com\/blog\/#website","url":"https:\/\/dev.sapien.com\/blog\/","name":"DEV SAPIEN Blog","description":"Tools for IT Success","inLanguage":"en-US","publisher":{"@id":"https:\/\/dev.sapien.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"DEV SAPIEN Blog - Tools for IT Success","og:type":"article","og:title":"Installing Windows Services Created with PowerShell - DEV SAPIEN Blog","og:description":"Last week we introduced a new PrimalScript template for Windows PowerShell which makes writing Windows Services much easier. In this article, we will show you how to use MSI Builder to create an installer for your Windows Services. We created the services packager engine to allow for self-install \/ uninstall of a service, but that","og:url":"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/","article:published_time":"2018-03-05T14:00:50+00:00","article:modified_time":"2018-03-02T17:31:30+00:00","twitter:card":"summary_large_image","twitter:title":"Installing Windows Services Created with PowerShell - DEV SAPIEN Blog","twitter:description":"Last week we introduced a new PrimalScript template for Windows PowerShell which makes writing Windows Services much easier. In this article, we will show you how to use MSI Builder to create an installer for your Windows Services. We created the services packager engine to allow for self-install \/ uninstall of a service, but that"},"aioseo_meta_data":{"post_id":"14613","title":null,"description":null,"keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-08-28 15:16:15","updated":"2026-08-28 15:16:15"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dev.sapien.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/\" title=\"Software News\">Software News<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/primalscript-software-news\/\" title=\"PrimalScript\">PrimalScript<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tInstalling Windows Services Created with PowerShell\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/dev.sapien.com\/blog"},{"label":"Software News","link":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/"},{"label":"PrimalScript","link":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/primalscript-software-news\/"},{"label":"Installing Windows Services Created with PowerShell","link":"https:\/\/dev.sapien.com\/blog\/2018\/03\/05\/installing-windows-services-created-with-powershell\/"}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/14613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=14613"}],"version-history":[{"count":6,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/14613\/revisions"}],"predecessor-version":[{"id":14626,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/14613\/revisions\/14626"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=14613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=14613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=14613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}