473,326 Members | 2,438 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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 81205
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
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
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
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
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
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
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
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
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
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
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.