473,396 Members | 1,894 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,396 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 81244
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.