InstallUtil.exe is not recognized as an internal....

  • Thread starter Thread starter shaddock
  • Start date Start date
S

shaddock

Hello,

When trying to run the InstallUtil.exe, I get the error below. Any
insights?

'installutil' is not recognized as an internal or external command,
operable program or batch file.

Thanks

Stewart
 
The .NET path is not added to the environment variable by default. To use
this tool either navigate to the folder where .NET is installed into (i.e.
c:\windows\Microsoft.NET\...), or open the command prompt that is installed
with VS.NET which sets the environment correctly.
 
shaddock said:
Hello,

When trying to run the InstallUtil.exe, I get the error below. Any
insights?

'installutil' is not recognized as an internal or external command,
operable program or batch file.

Thanks

Stewart
 
shaddock said:
Hello,

When trying to run the InstallUtil.exe, I get the error below. Any
insights?

'installutil' is not recognized as an internal or external command,
operable program or batch file.

Thanks

Stewart
 
Hi

Here is a .BAT File that you can use to install your Service :

@ECHO Installing Service...
@SET PATH=%PATH%;D:\WINNT\Microsoft.NET\Framework\v1.1.4322\
@InstallUtil ILDTransactionUpdater.exe
@ECHO Install Done.
@pause

Copy and paste the code onto a notepad and save it as install.bat, you will
need to edit the ILDTransactionUpdater.exe (Service name ) to your own
service name , also makee sure you chnage the
D:\WINNT\Microsoft.NET\Framework\v1.1.4322\ paht to where your .NEt is
installed.

good Luck
 
Hello,

Unfortunately, neither of these suggestions worked.

When I run the batch I get a dialog box with the 'installutil.exe is
not a valid Win32 application'. However, in the command prompt I
get an 'Access is Denied' warning. I am guessing that access is
denied to the installutil.exe and this is the root source of the
error, but I do not know for sure and I do not know how to fix it.

I assumed that I needed to save the install.bat in the bin/debug
directory of the project. Please tell me if this is wrong.

I echoed the %Path% and the results are below.


%Path% value...
C:\Program
Files\CA\pec\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\W
bem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program
Files\CA\CCC_
Harvest;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\;C:\WINDOWS\Microsoft.NET\F
ramework\v1.1.4322\;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\;C:\WINDOWS\Mic
rosoft.NET\Framework\v1.1.4322\;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\;C:
\WINDOWS\Microsoft.NET\Framework\v1.1.4322\



Thank you,

Stewart
 
I just got another copy of the installutil.exe, copied it to the
directory and it seems to be working great now. I have no idea how
the original file got corrupted.
 
Back
Top