Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

InstallUtil missing on .Net

Tags:

c#

.net

I find it only available for .Net 2.0 but if the user install .Net 3 or later, how do I get InstallUtil.exe to bundle in my setup so that they can install my engine as a Windows Service?

like image 405
Proyb2 Avatar asked Nov 08 '10 03:11

Proyb2


People also ask

Where do I find InstallUtil?

NET Framework 4 or 4.5 and later, if your Windows installation directory is C:\Windows, the default path is C:\Windows\Microsoft.NET\Framework\v4. 0.30319\InstallUtil.exe. For the 64-bit version of the . NET Framework 4 or 4.5 and later, the default path is C:\Windows\Microsoft.NET\Framework64\v4.

How do I install a service in Windows 10?

NET Framework) use the utility InstallUtil.exe. Step 1. Open the Command Prompt window. Open InstallUtil.exe in the directory for Framework 2.0; the path is “C:\WINDOWS\Microsoft.NET\Framework\v2.


1 Answers

You should continue to use the InstallUtil.exe from \Microsoft.NET\Framework\v2.0.50727. Thats probably because there has been no change to this utility from 2.0 --> 3.0 --> 3.5. Hence this does not exist in the 3.0 / 3.5 folders

NOTE: In Windows Server 2008 R2 with SP1 with .NET 3.5 installed, this is pretty much available here \Microsoft.NET\Framework\v2.0.50727. In 64 bit Win 2008 R2- the folder path is slightly different but the installutil.exe very much available under \Microsoft.NET\Framework64\v2.0.50727.

alt text

like image 79
Jagmag Avatar answered Oct 16 '22 16:10

Jagmag