I am ready to distribute a small utility to a large number of customers.
This utility requires WSE 3.0 (Web Service Enhancements) installed on the client machine because it needs to connect to a web service on which I don't have any control.
In the setup package I have included the redistributable MSI from Microsoft.
Now, I wish to execute the install action only if on the client machine the WSE isn't already installed.
How to check this? Any registry key, componentID or whatelse?
我准备向大量客户分发一个小型实用程序。此实用程序需要在客户端计算机上安装WSE 3.0(Web服务增强功能),因为它需要连接到我无法控制的Web服务。在安装程序包中,我包含了Microsoft的可再发行MSI。现在,我希望仅在客户端计算机上尚未安装WSE时才执行安装操作。怎么检查这个?任何注册表项,componentID或whatelse?
1 个解决方案
#1
1
check if a registry key exists before installing
在安装之前检查是否存在注册表项
#1
1
check if a registry key exists before installing
在安装之前检查是否存在注册表项