Installing a Windows Service without Visual Studio's installutil.exe
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
In a few days I'll be installing a Windows Service I developed on my development machine (which ultimately hosts a WCF-over-SOAP service) on a staging machine.
Since I have Visual Studio 2013, I can use VS command prompt to install that service using installutil.exe
.
But target machine runs a plain old Windows Server 2008 R2
How do I install a .NET windows service on WS2008 that has no installutil.exe
?
windows installation windows-server-2008-r2 .net-framework windows-services
add a comment |
In a few days I'll be installing a Windows Service I developed on my development machine (which ultimately hosts a WCF-over-SOAP service) on a staging machine.
Since I have Visual Studio 2013, I can use VS command prompt to install that service using installutil.exe
.
But target machine runs a plain old Windows Server 2008 R2
How do I install a .NET windows service on WS2008 that has no installutil.exe
?
windows installation windows-server-2008-r2 .net-framework windows-services
From StackOverflow: Install windows service without InstallUtil.exe, Install a .NET windows service without InstallUtil.exe
– Ƭᴇcʜιᴇ007
Mar 11 '14 at 17:27
add a comment |
In a few days I'll be installing a Windows Service I developed on my development machine (which ultimately hosts a WCF-over-SOAP service) on a staging machine.
Since I have Visual Studio 2013, I can use VS command prompt to install that service using installutil.exe
.
But target machine runs a plain old Windows Server 2008 R2
How do I install a .NET windows service on WS2008 that has no installutil.exe
?
windows installation windows-server-2008-r2 .net-framework windows-services
In a few days I'll be installing a Windows Service I developed on my development machine (which ultimately hosts a WCF-over-SOAP service) on a staging machine.
Since I have Visual Studio 2013, I can use VS command prompt to install that service using installutil.exe
.
But target machine runs a plain old Windows Server 2008 R2
How do I install a .NET windows service on WS2008 that has no installutil.exe
?
windows installation windows-server-2008-r2 .net-framework windows-services
windows installation windows-server-2008-r2 .net-framework windows-services
asked Mar 11 '14 at 17:21
usr-local-ΕΨΗΕΛΩΝusr-local-ΕΨΗΕΛΩΝ
2,263145187
2,263145187
From StackOverflow: Install windows service without InstallUtil.exe, Install a .NET windows service without InstallUtil.exe
– Ƭᴇcʜιᴇ007
Mar 11 '14 at 17:27
add a comment |
From StackOverflow: Install windows service without InstallUtil.exe, Install a .NET windows service without InstallUtil.exe
– Ƭᴇcʜιᴇ007
Mar 11 '14 at 17:27
From StackOverflow: Install windows service without InstallUtil.exe, Install a .NET windows service without InstallUtil.exe
– Ƭᴇcʜιᴇ007
Mar 11 '14 at 17:27
From StackOverflow: Install windows service without InstallUtil.exe, Install a .NET windows service without InstallUtil.exe
– Ƭᴇcʜιᴇ007
Mar 11 '14 at 17:27
add a comment |
3 Answers
3
active
oldest
votes
Unfortunately, as of Visual Studio 2012, Microsoft has deleted the "Setup Project" built-in feature of Visual Studio, in a move which I opine was a nod to their long-time business partner, InstallShield (owned by Flexera software). They removed this feature because they wanted to direct their customers to use hideously expensive third-party software to graphically build Windows Installers using InstallShield. Now, if you want to graphically design a setup project in Visual Studio 2012 or 2013, you must either:
Download the free but extremely feature-limited "InstallShield LE", which constantly tries to upsell you to their extraordinarily expensive products, and is unable to do 99% of the useful things you might need it to do (highly un-recommended after trying this);
Learn WiX and use the free WiX toolkit to build an installer (not particularly easy, but doable);
Learn NSIS and use the free NSIS toolkit to build an installer (not particularly easy, but doable);
Write a C# program that programmatically registers the service, per the example here on Stack Overflow. Your code will depend on the
System.Configuration.Install
assembly, which is available in the Client Profile (thankfully). See MSDN for details. This is perhaps the "simplest" way; you just ship your service as an EXE with a Main method...
To be fair to Microsoft theirSetup Project
was horrible and had a bug list about 3 pages long just for myself when I worked with it. The alternatives of WiX and NSIS are more complicated but don't nearly have as many problems. While its true was likely a decision to benfit their business partner it wasn't the only reason. Won't even mention the fact it didn't support any of the new system variables that were supported by VS2010 and .NET 4.0
– Ramhound
Mar 11 '14 at 18:12
Any final sample windows service and installer (setup.exe, wix, etc) with full source code using VS 2012 ? Now, june 2014, any updates ? Notes: The install shield limited edition that cannot install services. The WIX Toolset, which, while powerful is exceeding user-unfriendly and has a steep learning curve. There is even a downloadable template for installing windows services.
– Kiquenet
Jun 9 '14 at 12:27
It isn't our job to write complete samples for you. NSIS and WiX both have samples built into the (free) download. If for some reason you can't use that, you may need to consider the alternative of paying someone to do it for you.
– allquixotic
Jun 9 '14 at 13:14
add a comment |
"InstallUtil" will exist on the server without Visual Studio being deployed, despite some documentation stating that it is installed as part of Visual Studio. Depending on your version of Windows and the .NET framework required, the "installutil" tool can be found here:
C:WindowsMicrosoft.NETFrameworkv4.0.30319InstallUtil.exe
C:WindowsMicrosoft.NETFrameworkv2.0.50727InstallUtil.exe
C:WINNTMicrosoft.NETFrameworkv1.1.4322 installutil
Use the version matching the .NET Framework version that the service is targeting.
I suspect the downvote may have been from someone assuming I haven't answered the question. However, the premise of the question is that installutil will not exist on the server. I contend that it will, hence the premise of the question is wrong. I was left under the same impression by the documentation, only to find the reality was otherwise. I have edited the question to make it more obvious that this is the reason for the answer.
– Josh Gallagher
Feb 8 at 17:00
add a comment |
Here you go:
- Install .net framework
- Go to run+ cmd then click ok or directly go to your window command prompt
type
cd C:WindowsMicrosoft.NETFrameworkv4.0.30319InstallUtil.exe E:testtestbinDebugtest.exe
E:testtestbinDebug
is the path where my window service setup is saved,
C:WindowsMicrosoft.NETFrameworkv4.0.30319
is path whereInstallUtil.exe
exist.
In bothInstallUtil.exe
exist. and path must give a space, otherwise it raises error.
- Enjoy..your service is installed...now you can check it from control panel > administrative tool >Services.
1
This is rather a duplicate of @JoshGallagher answer and goes against the scope of the question: installing a service on a machine that has no InstallUtil tools, for whatever reason
– usr-local-ΕΨΗΕΛΩΝ
Feb 7 at 13:01
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f727643%2finstalling-a-windows-service-without-visual-studios-installutil-exe%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Unfortunately, as of Visual Studio 2012, Microsoft has deleted the "Setup Project" built-in feature of Visual Studio, in a move which I opine was a nod to their long-time business partner, InstallShield (owned by Flexera software). They removed this feature because they wanted to direct their customers to use hideously expensive third-party software to graphically build Windows Installers using InstallShield. Now, if you want to graphically design a setup project in Visual Studio 2012 or 2013, you must either:
Download the free but extremely feature-limited "InstallShield LE", which constantly tries to upsell you to their extraordinarily expensive products, and is unable to do 99% of the useful things you might need it to do (highly un-recommended after trying this);
Learn WiX and use the free WiX toolkit to build an installer (not particularly easy, but doable);
Learn NSIS and use the free NSIS toolkit to build an installer (not particularly easy, but doable);
Write a C# program that programmatically registers the service, per the example here on Stack Overflow. Your code will depend on the
System.Configuration.Install
assembly, which is available in the Client Profile (thankfully). See MSDN for details. This is perhaps the "simplest" way; you just ship your service as an EXE with a Main method...
To be fair to Microsoft theirSetup Project
was horrible and had a bug list about 3 pages long just for myself when I worked with it. The alternatives of WiX and NSIS are more complicated but don't nearly have as many problems. While its true was likely a decision to benfit their business partner it wasn't the only reason. Won't even mention the fact it didn't support any of the new system variables that were supported by VS2010 and .NET 4.0
– Ramhound
Mar 11 '14 at 18:12
Any final sample windows service and installer (setup.exe, wix, etc) with full source code using VS 2012 ? Now, june 2014, any updates ? Notes: The install shield limited edition that cannot install services. The WIX Toolset, which, while powerful is exceeding user-unfriendly and has a steep learning curve. There is even a downloadable template for installing windows services.
– Kiquenet
Jun 9 '14 at 12:27
It isn't our job to write complete samples for you. NSIS and WiX both have samples built into the (free) download. If for some reason you can't use that, you may need to consider the alternative of paying someone to do it for you.
– allquixotic
Jun 9 '14 at 13:14
add a comment |
Unfortunately, as of Visual Studio 2012, Microsoft has deleted the "Setup Project" built-in feature of Visual Studio, in a move which I opine was a nod to their long-time business partner, InstallShield (owned by Flexera software). They removed this feature because they wanted to direct their customers to use hideously expensive third-party software to graphically build Windows Installers using InstallShield. Now, if you want to graphically design a setup project in Visual Studio 2012 or 2013, you must either:
Download the free but extremely feature-limited "InstallShield LE", which constantly tries to upsell you to their extraordinarily expensive products, and is unable to do 99% of the useful things you might need it to do (highly un-recommended after trying this);
Learn WiX and use the free WiX toolkit to build an installer (not particularly easy, but doable);
Learn NSIS and use the free NSIS toolkit to build an installer (not particularly easy, but doable);
Write a C# program that programmatically registers the service, per the example here on Stack Overflow. Your code will depend on the
System.Configuration.Install
assembly, which is available in the Client Profile (thankfully). See MSDN for details. This is perhaps the "simplest" way; you just ship your service as an EXE with a Main method...
To be fair to Microsoft theirSetup Project
was horrible and had a bug list about 3 pages long just for myself when I worked with it. The alternatives of WiX and NSIS are more complicated but don't nearly have as many problems. While its true was likely a decision to benfit their business partner it wasn't the only reason. Won't even mention the fact it didn't support any of the new system variables that were supported by VS2010 and .NET 4.0
– Ramhound
Mar 11 '14 at 18:12
Any final sample windows service and installer (setup.exe, wix, etc) with full source code using VS 2012 ? Now, june 2014, any updates ? Notes: The install shield limited edition that cannot install services. The WIX Toolset, which, while powerful is exceeding user-unfriendly and has a steep learning curve. There is even a downloadable template for installing windows services.
– Kiquenet
Jun 9 '14 at 12:27
It isn't our job to write complete samples for you. NSIS and WiX both have samples built into the (free) download. If for some reason you can't use that, you may need to consider the alternative of paying someone to do it for you.
– allquixotic
Jun 9 '14 at 13:14
add a comment |
Unfortunately, as of Visual Studio 2012, Microsoft has deleted the "Setup Project" built-in feature of Visual Studio, in a move which I opine was a nod to their long-time business partner, InstallShield (owned by Flexera software). They removed this feature because they wanted to direct their customers to use hideously expensive third-party software to graphically build Windows Installers using InstallShield. Now, if you want to graphically design a setup project in Visual Studio 2012 or 2013, you must either:
Download the free but extremely feature-limited "InstallShield LE", which constantly tries to upsell you to their extraordinarily expensive products, and is unable to do 99% of the useful things you might need it to do (highly un-recommended after trying this);
Learn WiX and use the free WiX toolkit to build an installer (not particularly easy, but doable);
Learn NSIS and use the free NSIS toolkit to build an installer (not particularly easy, but doable);
Write a C# program that programmatically registers the service, per the example here on Stack Overflow. Your code will depend on the
System.Configuration.Install
assembly, which is available in the Client Profile (thankfully). See MSDN for details. This is perhaps the "simplest" way; you just ship your service as an EXE with a Main method...
Unfortunately, as of Visual Studio 2012, Microsoft has deleted the "Setup Project" built-in feature of Visual Studio, in a move which I opine was a nod to their long-time business partner, InstallShield (owned by Flexera software). They removed this feature because they wanted to direct their customers to use hideously expensive third-party software to graphically build Windows Installers using InstallShield. Now, if you want to graphically design a setup project in Visual Studio 2012 or 2013, you must either:
Download the free but extremely feature-limited "InstallShield LE", which constantly tries to upsell you to their extraordinarily expensive products, and is unable to do 99% of the useful things you might need it to do (highly un-recommended after trying this);
Learn WiX and use the free WiX toolkit to build an installer (not particularly easy, but doable);
Learn NSIS and use the free NSIS toolkit to build an installer (not particularly easy, but doable);
Write a C# program that programmatically registers the service, per the example here on Stack Overflow. Your code will depend on the
System.Configuration.Install
assembly, which is available in the Client Profile (thankfully). See MSDN for details. This is perhaps the "simplest" way; you just ship your service as an EXE with a Main method...
edited May 23 '17 at 11:33
Community♦
1
1
answered Mar 11 '14 at 17:36
allquixoticallquixotic
30.9k696130
30.9k696130
To be fair to Microsoft theirSetup Project
was horrible and had a bug list about 3 pages long just for myself when I worked with it. The alternatives of WiX and NSIS are more complicated but don't nearly have as many problems. While its true was likely a decision to benfit their business partner it wasn't the only reason. Won't even mention the fact it didn't support any of the new system variables that were supported by VS2010 and .NET 4.0
– Ramhound
Mar 11 '14 at 18:12
Any final sample windows service and installer (setup.exe, wix, etc) with full source code using VS 2012 ? Now, june 2014, any updates ? Notes: The install shield limited edition that cannot install services. The WIX Toolset, which, while powerful is exceeding user-unfriendly and has a steep learning curve. There is even a downloadable template for installing windows services.
– Kiquenet
Jun 9 '14 at 12:27
It isn't our job to write complete samples for you. NSIS and WiX both have samples built into the (free) download. If for some reason you can't use that, you may need to consider the alternative of paying someone to do it for you.
– allquixotic
Jun 9 '14 at 13:14
add a comment |
To be fair to Microsoft theirSetup Project
was horrible and had a bug list about 3 pages long just for myself when I worked with it. The alternatives of WiX and NSIS are more complicated but don't nearly have as many problems. While its true was likely a decision to benfit their business partner it wasn't the only reason. Won't even mention the fact it didn't support any of the new system variables that were supported by VS2010 and .NET 4.0
– Ramhound
Mar 11 '14 at 18:12
Any final sample windows service and installer (setup.exe, wix, etc) with full source code using VS 2012 ? Now, june 2014, any updates ? Notes: The install shield limited edition that cannot install services. The WIX Toolset, which, while powerful is exceeding user-unfriendly and has a steep learning curve. There is even a downloadable template for installing windows services.
– Kiquenet
Jun 9 '14 at 12:27
It isn't our job to write complete samples for you. NSIS and WiX both have samples built into the (free) download. If for some reason you can't use that, you may need to consider the alternative of paying someone to do it for you.
– allquixotic
Jun 9 '14 at 13:14
To be fair to Microsoft their
Setup Project
was horrible and had a bug list about 3 pages long just for myself when I worked with it. The alternatives of WiX and NSIS are more complicated but don't nearly have as many problems. While its true was likely a decision to benfit their business partner it wasn't the only reason. Won't even mention the fact it didn't support any of the new system variables that were supported by VS2010 and .NET 4.0– Ramhound
Mar 11 '14 at 18:12
To be fair to Microsoft their
Setup Project
was horrible and had a bug list about 3 pages long just for myself when I worked with it. The alternatives of WiX and NSIS are more complicated but don't nearly have as many problems. While its true was likely a decision to benfit their business partner it wasn't the only reason. Won't even mention the fact it didn't support any of the new system variables that were supported by VS2010 and .NET 4.0– Ramhound
Mar 11 '14 at 18:12
Any final sample windows service and installer (setup.exe, wix, etc) with full source code using VS 2012 ? Now, june 2014, any updates ? Notes: The install shield limited edition that cannot install services. The WIX Toolset, which, while powerful is exceeding user-unfriendly and has a steep learning curve. There is even a downloadable template for installing windows services.
– Kiquenet
Jun 9 '14 at 12:27
Any final sample windows service and installer (setup.exe, wix, etc) with full source code using VS 2012 ? Now, june 2014, any updates ? Notes: The install shield limited edition that cannot install services. The WIX Toolset, which, while powerful is exceeding user-unfriendly and has a steep learning curve. There is even a downloadable template for installing windows services.
– Kiquenet
Jun 9 '14 at 12:27
It isn't our job to write complete samples for you. NSIS and WiX both have samples built into the (free) download. If for some reason you can't use that, you may need to consider the alternative of paying someone to do it for you.
– allquixotic
Jun 9 '14 at 13:14
It isn't our job to write complete samples for you. NSIS and WiX both have samples built into the (free) download. If for some reason you can't use that, you may need to consider the alternative of paying someone to do it for you.
– allquixotic
Jun 9 '14 at 13:14
add a comment |
"InstallUtil" will exist on the server without Visual Studio being deployed, despite some documentation stating that it is installed as part of Visual Studio. Depending on your version of Windows and the .NET framework required, the "installutil" tool can be found here:
C:WindowsMicrosoft.NETFrameworkv4.0.30319InstallUtil.exe
C:WindowsMicrosoft.NETFrameworkv2.0.50727InstallUtil.exe
C:WINNTMicrosoft.NETFrameworkv1.1.4322 installutil
Use the version matching the .NET Framework version that the service is targeting.
I suspect the downvote may have been from someone assuming I haven't answered the question. However, the premise of the question is that installutil will not exist on the server. I contend that it will, hence the premise of the question is wrong. I was left under the same impression by the documentation, only to find the reality was otherwise. I have edited the question to make it more obvious that this is the reason for the answer.
– Josh Gallagher
Feb 8 at 17:00
add a comment |
"InstallUtil" will exist on the server without Visual Studio being deployed, despite some documentation stating that it is installed as part of Visual Studio. Depending on your version of Windows and the .NET framework required, the "installutil" tool can be found here:
C:WindowsMicrosoft.NETFrameworkv4.0.30319InstallUtil.exe
C:WindowsMicrosoft.NETFrameworkv2.0.50727InstallUtil.exe
C:WINNTMicrosoft.NETFrameworkv1.1.4322 installutil
Use the version matching the .NET Framework version that the service is targeting.
I suspect the downvote may have been from someone assuming I haven't answered the question. However, the premise of the question is that installutil will not exist on the server. I contend that it will, hence the premise of the question is wrong. I was left under the same impression by the documentation, only to find the reality was otherwise. I have edited the question to make it more obvious that this is the reason for the answer.
– Josh Gallagher
Feb 8 at 17:00
add a comment |
"InstallUtil" will exist on the server without Visual Studio being deployed, despite some documentation stating that it is installed as part of Visual Studio. Depending on your version of Windows and the .NET framework required, the "installutil" tool can be found here:
C:WindowsMicrosoft.NETFrameworkv4.0.30319InstallUtil.exe
C:WindowsMicrosoft.NETFrameworkv2.0.50727InstallUtil.exe
C:WINNTMicrosoft.NETFrameworkv1.1.4322 installutil
Use the version matching the .NET Framework version that the service is targeting.
"InstallUtil" will exist on the server without Visual Studio being deployed, despite some documentation stating that it is installed as part of Visual Studio. Depending on your version of Windows and the .NET framework required, the "installutil" tool can be found here:
C:WindowsMicrosoft.NETFrameworkv4.0.30319InstallUtil.exe
C:WindowsMicrosoft.NETFrameworkv2.0.50727InstallUtil.exe
C:WINNTMicrosoft.NETFrameworkv1.1.4322 installutil
Use the version matching the .NET Framework version that the service is targeting.
edited Apr 4 at 7:15
answered Feb 7 at 11:31
Josh GallagherJosh Gallagher
1093
1093
I suspect the downvote may have been from someone assuming I haven't answered the question. However, the premise of the question is that installutil will not exist on the server. I contend that it will, hence the premise of the question is wrong. I was left under the same impression by the documentation, only to find the reality was otherwise. I have edited the question to make it more obvious that this is the reason for the answer.
– Josh Gallagher
Feb 8 at 17:00
add a comment |
I suspect the downvote may have been from someone assuming I haven't answered the question. However, the premise of the question is that installutil will not exist on the server. I contend that it will, hence the premise of the question is wrong. I was left under the same impression by the documentation, only to find the reality was otherwise. I have edited the question to make it more obvious that this is the reason for the answer.
– Josh Gallagher
Feb 8 at 17:00
I suspect the downvote may have been from someone assuming I haven't answered the question. However, the premise of the question is that installutil will not exist on the server. I contend that it will, hence the premise of the question is wrong. I was left under the same impression by the documentation, only to find the reality was otherwise. I have edited the question to make it more obvious that this is the reason for the answer.
– Josh Gallagher
Feb 8 at 17:00
I suspect the downvote may have been from someone assuming I haven't answered the question. However, the premise of the question is that installutil will not exist on the server. I contend that it will, hence the premise of the question is wrong. I was left under the same impression by the documentation, only to find the reality was otherwise. I have edited the question to make it more obvious that this is the reason for the answer.
– Josh Gallagher
Feb 8 at 17:00
add a comment |
Here you go:
- Install .net framework
- Go to run+ cmd then click ok or directly go to your window command prompt
type
cd C:WindowsMicrosoft.NETFrameworkv4.0.30319InstallUtil.exe E:testtestbinDebugtest.exe
E:testtestbinDebug
is the path where my window service setup is saved,
C:WindowsMicrosoft.NETFrameworkv4.0.30319
is path whereInstallUtil.exe
exist.
In bothInstallUtil.exe
exist. and path must give a space, otherwise it raises error.
- Enjoy..your service is installed...now you can check it from control panel > administrative tool >Services.
1
This is rather a duplicate of @JoshGallagher answer and goes against the scope of the question: installing a service on a machine that has no InstallUtil tools, for whatever reason
– usr-local-ΕΨΗΕΛΩΝ
Feb 7 at 13:01
add a comment |
Here you go:
- Install .net framework
- Go to run+ cmd then click ok or directly go to your window command prompt
type
cd C:WindowsMicrosoft.NETFrameworkv4.0.30319InstallUtil.exe E:testtestbinDebugtest.exe
E:testtestbinDebug
is the path where my window service setup is saved,
C:WindowsMicrosoft.NETFrameworkv4.0.30319
is path whereInstallUtil.exe
exist.
In bothInstallUtil.exe
exist. and path must give a space, otherwise it raises error.
- Enjoy..your service is installed...now you can check it from control panel > administrative tool >Services.
1
This is rather a duplicate of @JoshGallagher answer and goes against the scope of the question: installing a service on a machine that has no InstallUtil tools, for whatever reason
– usr-local-ΕΨΗΕΛΩΝ
Feb 7 at 13:01
add a comment |
Here you go:
- Install .net framework
- Go to run+ cmd then click ok or directly go to your window command prompt
type
cd C:WindowsMicrosoft.NETFrameworkv4.0.30319InstallUtil.exe E:testtestbinDebugtest.exe
E:testtestbinDebug
is the path where my window service setup is saved,
C:WindowsMicrosoft.NETFrameworkv4.0.30319
is path whereInstallUtil.exe
exist.
In bothInstallUtil.exe
exist. and path must give a space, otherwise it raises error.
- Enjoy..your service is installed...now you can check it from control panel > administrative tool >Services.
Here you go:
- Install .net framework
- Go to run+ cmd then click ok or directly go to your window command prompt
type
cd C:WindowsMicrosoft.NETFrameworkv4.0.30319InstallUtil.exe E:testtestbinDebugtest.exe
E:testtestbinDebug
is the path where my window service setup is saved,
C:WindowsMicrosoft.NETFrameworkv4.0.30319
is path whereInstallUtil.exe
exist.
In bothInstallUtil.exe
exist. and path must give a space, otherwise it raises error.
- Enjoy..your service is installed...now you can check it from control panel > administrative tool >Services.
edited Feb 7 at 13:39
Ahmed Ashour
1,3872716
1,3872716
answered Feb 7 at 12:22
pte coachingpte coaching
1
1
1
This is rather a duplicate of @JoshGallagher answer and goes against the scope of the question: installing a service on a machine that has no InstallUtil tools, for whatever reason
– usr-local-ΕΨΗΕΛΩΝ
Feb 7 at 13:01
add a comment |
1
This is rather a duplicate of @JoshGallagher answer and goes against the scope of the question: installing a service on a machine that has no InstallUtil tools, for whatever reason
– usr-local-ΕΨΗΕΛΩΝ
Feb 7 at 13:01
1
1
This is rather a duplicate of @JoshGallagher answer and goes against the scope of the question: installing a service on a machine that has no InstallUtil tools, for whatever reason
– usr-local-ΕΨΗΕΛΩΝ
Feb 7 at 13:01
This is rather a duplicate of @JoshGallagher answer and goes against the scope of the question: installing a service on a machine that has no InstallUtil tools, for whatever reason
– usr-local-ΕΨΗΕΛΩΝ
Feb 7 at 13:01
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f727643%2finstalling-a-windows-service-without-visual-studios-installutil-exe%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
From StackOverflow: Install windows service without InstallUtil.exe, Install a .NET windows service without InstallUtil.exe
– Ƭᴇcʜιᴇ007
Mar 11 '14 at 17:27