{"id":672,"date":"2017-03-25T00:30:39","date_gmt":"2017-03-25T00:30:39","guid":{"rendered":"http:\/\/jonescarvalho.com\/Blog\/?p=672"},"modified":"2020-05-13T20:48:36","modified_gmt":"2020-05-13T23:48:36","slug":"instalar-servico-com-bat-installutil","status":"publish","type":"post","link":"https:\/\/jonescarvalho.com\/Blog\/?p=672","title":{"rendered":"Instalar Servi\u00e7o com BAT InstallUtil"},"content":{"rendered":"<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">This is the batch files I used to install.\n\n@ECHO OFF\n\nREM The following directory is for .NET 2.0\nset DOTNETFX2=%SystemRoot%\\Microsoft.NET\\Framework\\v2.0.50727\nset PATH=%PATH%;%DOTNETFX2%\n\necho Installing MyService...\necho ---------------------------------------------------\nInstallUtil \/i MyService.exe\necho ---------------------------------------------------\necho Done.\npause\n\nTo Uninstall I used the following:\n\n@ECHO OFF\n\nREM The following directory is for .NET 2.0\nset DOTNETFX2=%SystemRoot%\\Microsoft.NET\\Framework\\v2.0.50727\nset PATH=%PATH%;%DOTNETFX2%\n\necho Uninstalling MyService...\necho ---------------------------------------------------\nInstallUtil \/u MyService.exe\necho ---------------------------------------------------\necho Done<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This is the batch files I used to install. @ECHO OFF REM The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[62,63,64],"class_list":["post-672","post","type-post","status-publish","format-standard","hentry","category-dicas","tag-bat","tag-installutil","tag-visualstudio"],"_links":{"self":[{"href":"https:\/\/jonescarvalho.com\/Blog\/index.php?rest_route=\/wp\/v2\/posts\/672"}],"collection":[{"href":"https:\/\/jonescarvalho.com\/Blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jonescarvalho.com\/Blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jonescarvalho.com\/Blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jonescarvalho.com\/Blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=672"}],"version-history":[{"count":2,"href":"https:\/\/jonescarvalho.com\/Blog\/index.php?rest_route=\/wp\/v2\/posts\/672\/revisions"}],"predecessor-version":[{"id":838,"href":"https:\/\/jonescarvalho.com\/Blog\/index.php?rest_route=\/wp\/v2\/posts\/672\/revisions\/838"}],"wp:attachment":[{"href":"https:\/\/jonescarvalho.com\/Blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jonescarvalho.com\/Blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jonescarvalho.com\/Blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}