473,513 Members | 2,441 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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

Nov 16 '05 #1
9 81283
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" <sh******@gmail-dot-com.no-spam.invalid> wrote in message
news:41**********@Usenet.com...
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

Nov 16 '05 #2


"shaddock" wrote:
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

Nov 16 '05 #3


"shaddock" wrote:
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

Nov 16 '05 #4
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


"Peter Rilling" wrote:
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" <sh******@gmail-dot-com.no-spam.invalid> wrote in message
news:41**********@Usenet.com...
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


Nov 16 '05 #5
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.43 22\;C:\WINDOWS\Microsoft.NET\F
ramework\v1.1.4322\;C:\WINDOWS\Microsoft.NET\Frame work\v1.1.4322\;C:\WINDOWS\Mic
rosoft.NET\Framework\v1.1.4322\;C:\WINDOWS\Microso ft.NET\Framework\v1.1.4322\;C:
\WINDOWS\Microsoft.NET\Framework\v1.1.4322\

Thank you,

Stewart

Nov 16 '05 #6
hi

I beleive the issue is related to the space inside your solution name (DOS
file format ), it did happen to me before , consider this thread from
experts-exchange :

http://www.experts-exchange.com/Prog..._21073415.html

let me know what comes out

"shaddock" wrote:
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.43 22\;C:\WINDOWS\Microsoft.NET\F
ramework\v1.1.4322\;C:\WINDOWS\Microsoft.NET\Frame work\v1.1.4322\;C:\WINDOWS\Mic
rosoft.NET\Framework\v1.1.4322\;C:\WINDOWS\Microso ft.NET\Framework\v1.1.4322\;C:
\WINDOWS\Microsoft.NET\Framework\v1.1.4322\

Thank you,

Stewart

Nov 16 '05 #7
hi

I beleive the issue is related to the space inside your solution name (DOS
file format ), it did happen to me before , consider this thread from
experts-exchange :

http://www.experts-exchange.com/Prog..._21073415.html

let me know what comes out

"shaddock" wrote:
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.43 22\;C:\WINDOWS\Microsoft.NET\F
ramework\v1.1.4322\;C:\WINDOWS\Microsoft.NET\Frame work\v1.1.4322\;C:\WINDOWS\Mic
rosoft.NET\Framework\v1.1.4322\;C:\WINDOWS\Microso ft.NET\Framework\v1.1.4322\;C:
\WINDOWS\Microsoft.NET\Framework\v1.1.4322\

Thank you,

Stewart

Nov 16 '05 #8
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.

Nov 16 '05 #9
You should be using the Visual Studio .Net 2003 Command Prompt.

with regards,
J.V.Ravichandran
- http://www.geocities.com/
jvravichandran
- http://www.411asp.net/func/search?
qry=Ravichandran+J.V.&cob=aspnetpro
- http://www.southasianoutlook.com
- http://www.MSDNAA.Net
- http://www.csharphelp.com
- http://www.poetry.com/Publications/
display.asp?ID=P3966388&BN=999&PN=2
- Or, just search on "J.V.Ravichandran"
at http://www.Google.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2165
by: Mike R | last post by:
I have 2 questions about custom options in InstallUtil. The help screen for InstallUtil says this: --- quote --- Options take the form /switch= <...a list of options follows...> Individual...
7
34370
by: scarred wind | last post by:
when i run my program, an error message prompt me that i should add the installutil.exe. How do i checked for the installutil.exe? How can i add it to my Timer program? ...
2
6648
by: scarred wind | last post by:
when i tried to do the command prompt installutil.exe i got this error: 'installUtil' is not recognized as an internal or external command, operable program or batch file. can someone please...
0
2607
by: Benny Ng | last post by:
Hi,All, When i deploy Enterprise library with my application ,i used XCOPY to deploy it into my test server. But when application runs, shown some error related registry. (But actually I haven't...
3
11934
by: Installutil System.BadImageFormatExcepti | last post by:
I've tried to make a Windows Service using the 2005 C# and when I go to use Installutil it returns with an System.BadImageFormatException error while intializing the installation. I've even gone as...
4
10493
by: Ê÷Éϲä»Ò | last post by:
'rar' is not recognized as an internal or external command, operable program or batch file. import os import time source = target_dir = r'e:\temp\bak' target =...
1
6443
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting"...
2
3272
savanm
by: savanm | last post by:
i downloaded modules from cpan.... when i type perl -V:make i get make= 'nmake' bt if i type nmake There is a error occured like this: 'nmask' is not recognized as an internal or external...
8
22211
by: crs27 | last post by:
Hai, can anyone tel me what dose this error mean. 'more' is not recognized as an internal or external command, operable program or batch file.
0
7259
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
7098
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5683
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5085
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3232
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1592
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.