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?
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.
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.
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
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With