Questions tagged [installutil]

The Installer tool is a command-line utility that allows you to install and uninstall server resources by executing the installer components in specified assemblies. This tool works in conjunction with classes in the System.Configuration.Install namespace.

This tool is automatically installed with Visual Studio and with the Windows SDK. To run the tool, you can use the Visual Studio Command Prompt or the Windows SDK Command Prompt (CMD Shell). These utilities enable you to run the tool easily, without navigating to the installation folder.

127 questions
0
votes
2 answers

Can installutil be used to install a service written with a newer version of the .NET Framework

Can the installutil be used to install a service written with a newer version of the .NET Framework? For example can the version from .NET Framework 2.0 be used to install a service written in .NET 4? I'm aware that technically the version from .NET…
Chris Nevill
  • 5,922
  • 11
  • 44
  • 79
0
votes
0 answers

the change in the windows service's name does not take effect

This is essentially a follow up of the following question: How to increase/decrease the number of instances of a windows service? I've tried the following: installutil /instance_name=instance1 mysvc.exe The above command does the job of installing…
deostroll
  • 11,661
  • 21
  • 90
  • 161
0
votes
1 answer

Windows Service to run batch file, InstallUtil /i prevents service from starting?

I have a simple Windows service that calls a batch file to setup some processes on startup. Most of the batch file is fired correctly but InstallUtil /i fails to run as the Windows Service fails to start. (InstallUtil /u beforehand works though…
Colin Brown
  • 589
  • 1
  • 8
  • 15
-1
votes
1 answer

Error starting custom service using nsis script

I'm receiving the error "14001- wrong configuration of Side by Side" when I use InstallUtil via my NSIS script. When I use the same command manually, the service install and start just fine, but when I put on NSIS it broke and show this error. I'd…
Andre Moraes
  • 379
  • 1
  • 8
-1
votes
1 answer

Installed Microsoft Service with success, but doesn't see on service list

i need an help. I follow this tutorial to install microsoft service, with success, but I don't see in the service list. My service: public partial class Service1 : ServiceBase { public Service1() { InitializeComponent(); } …
Mr. Developer
  • 3,295
  • 7
  • 43
  • 110
-1
votes
1 answer

InstallUtil Errors

I am still trying to install my service so I can test it and have had help in solving the previous errors of System.IO filenotfoundexception The command I am running is: installutil…
-5
votes
1 answer

Run exe with pre arguments in Java

I want to run an exe with a pre-argument in java. For example, if this is executed in a command prompt. C:\> installutil myApp.exe installutil is the pre-argument (or command) to myApp.exe. Here it is different than passing normal arguments to…
M P Mathugama
  • 1,418
  • 1
  • 20
  • 31
1 2 3
8
9