Error Installing Windows Service- Please Help

S

Steve, Putman

I am getting an error whild installing the Windows Service from Command
Prompt or from Process.Start command in vb.net.

C:\>installutil C:\Program Files\SomeDirectory\WindowsServices.exe /u

Error Is
Microsoft (R) .NET Framework Installation utility Version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.

Exception occurred while initializing the installation:
System.IO.FileNotFoundException: Could not load file or assembly
'file:///C:\Pro
gram' or one of its dependencies. The system cannot find the file
specified..

But it works fine when I go the directory directly and run the command
without c:\prog....
My situation is that I need to call it from some other place.

Thanks for any help you can provide.
Steve.
 
J

Jim Hughes

put it in quotes

C:\>installutil "C:\Program Files\SomeDirectory\WindowsServices.exe" /u
 

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