How to solve "The installation source for this product is not available" problem?

来源:互联网 发布:js typeof function 编辑:程序博客网 时间:2024/05/20 06:07

/*Author: Jiangong SUN*/


When you develop your enterprise application and deploy your application as a window service, you may encounter the following problem : 

"The installation source for this product is not available. Verify that the source exists and that you can access it."


In this case, you can not install a new version of windows service because the installed service is corrupted and exists in the system.

The installed service should be existed in "Administration Tools -> Services" and "Control panel -> Programs" 

And to deploy or install a new version of service, you need to remove the two services.

Here are two steps to make it:

1. Use windows "Fix It" tool to solve the registry corruption problem

http://support.microsoft.com/kb/971187

It will remove the installed programs.

2. Use "Service Control" command to delete the service 

sc delete serviceName

http://technet.microsoft.com/en-us/library/bb490995.aspx

It will remove the installed service.


If you have followed the previous steps, you should be able to install the new version of service.

Hope this helps! 



0 0
原创粉丝点击