Using InstallUtil - Unknown Error "-1"

C

Clancy

I've built a small windows service on .NET 2.0 framework. In order to
test/debug the application if first must be installed using the
InstallUtil command from the vs command prompt. Everything I have
tried results in: Unknown Error "-1"

I built a similar service on my personal machine at home and I am able
to install it doing the same things I have tried above. The problem is
on my work machine. I have local Admin rights, but suspect that there
may be a policy or something preventing it from running. Of course,
our desktop architects don't have any ideas...

Any ideas? (there was an older post on this same subject, but no
replies).
 
C

Clancy

I solved my problem by copying the Installutil.exe from the framework
folder (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727) directly into
the \bin\Release and/or Debug folder and running if from there.

Kudo's to ms for their awesome error coding. And for all this command
line crap. I'm so glad we've progressed so far since dos.

</sarcasm>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top