Connect with Expertise | Find Experts, Get Answers, Share Insights

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

shaddock
 
Posts: n/a
#1: Nov 16 '05
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


Peter Rilling
 
Posts: n/a
#2: Nov 16 '05

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


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" <shaddock@gmail-dot-com.no-spam.invalid> wrote in message
news:4140b6ea$1_3@Usenet.com...[color=blue]
> 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
>[/color]


.NET Undertaker
 
Posts: n/a
#3: Nov 16 '05

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




"shaddock" wrote:
[color=blue]
> 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
>
>[/color]
.NET Undertaker
 
Posts: n/a
#4: Nov 16 '05

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




"shaddock" wrote:
[color=blue]
> 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
>
>[/color]
.NET Undertaker
 
Posts: n/a
#5: Nov 16 '05

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


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:
[color=blue]
> 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" <shaddock@gmail-dot-com.no-spam.invalid> wrote in message
> news:4140b6ea$1_3@Usenet.com...[color=green]
> > 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
> >[/color]
>
>
>[/color]
shaddock
 
Posts: n/a
#6: Nov 16 '05

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


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

.NET Undertaker
 
Posts: n/a
#7: Nov 16 '05

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


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:
[color=blue]
> 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
>
>[/color]
.NET Undertaker
 
Posts: n/a
#8: Nov 16 '05

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


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:
[color=blue]
> 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
>
>[/color]
shaddock
 
Posts: n/a
#9: Nov 16 '05

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


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.

Ravichandran J.V.
 
Posts: n/a
#10: Nov 16 '05

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


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!
Closed Thread

Tags
install util, installutil, installutil.exe