Discussion:
probelm with InstallUtil.exe
(too old to reply)
Kumar
2006-07-26 14:37:11 UTC
Permalink
Hi,





Thanks in advance, if any one can help me.



I have created a Windows Service application in VC.Net and it is working
fine. Here problem is registering the service. When i am trying to use
InstallUtil.exe, it gives me an error



"Exception occurred while initializing the installation:

System.IO.FileLoadException: Unverifiable image 'vcservice.exe' can
not be run.."



So, i have written in my coding with "-Install" & it's working fine. But
here the problem is, i am able to register the service with -Install.

But how can i unregister the service. InstallUtil.exe is working for VB
& other programming applications.



I am doing that manually by registry. So how can I do that
programmatically? Why InstallUtil.exe is not working for VC.NET
application.



So can any body can help me regarding this !!!



Regards & Thanks,



B B S Kumar Katikireddy
Ajay Kalra
2006-07-31 17:49:37 UTC
Permalink
This is not the correct newsgroup for this problem. You should post
this in managed code newsgroup instead of a MFC related ng.

---
Ajay
Post by Kumar
I have created a Windows Service application in VC.Net and it is working
fine. Here problem is registering the service. When i am trying to use
InstallUtil.exe, it gives me an error
System.IO.FileLoadException: Unverifiable image 'vcservice.exe' can
not be run.."
So, i have written in my coding with "-Install" & it's working fine. But
here the problem is, i am able to register the service with -Install.
But how can i unregister the service. InstallUtil.exe is working for VB
& other programming applications.
I am doing that manually by registry. So how can I do that
programmatically? Why InstallUtil.exe is not working for VC.NET
application.
So can any body can help me regarding this !!!
Regards & Thanks,
B B S Kumar Katikireddy
Loading...