是否有 WMI 可再发行软件包?
我一直在开发一个项目,该项目访问 WMI 以获取有关用户计算机上安装的软件的信息。 我们一直在查询 Win32_Product,结果发现它在 64 位版本的 Windows 中不存在,因为它是一个 "可选组件"。
我知道有很多非常好的替代方法可以查询 WMI 来获取此信息,但我有一些 既得利益就是想知道这件事的效果如何。
我想知道是否有某种可再发行组件可以与我们的软件打包在一起,以允许 64 位用户将 WMI Installer Provider 安装到他们的计算机上? 现在,他们必须手动安装它,并且安装需要他们手边有 Windows 光盘。
编辑:
您没有提及适用于什么操作系统,但 WMI 可再发行组件版本 1.0 肯定存在。
对于操作系统,我们一直使用 .NET 3.5,因此我们需要可在 XP64 和 64 位版本的 Windows Vista 上运行的软件包。
I've been working on a project that accesses the WMI to get information about the software installed on a user's machine. We've been querying Win32_Product only to find that it doesn't exist in 64-bit versions of Windows because it's an "optional component".
I know there are a lot of really good alternatives to querying the WMI for this information, but I've got a bit of a vested interest in finding out how well this is going to work out.
What I want to know is if there's some kind of redistributable that can be packaged with our software to allow 64-bit users to get the WMI Installer Provider put onto their machines? Right now, they have to install it manually and the installation requires they have their Windows disc handy.
Edit:
You didn't mention for what OS, but the WMI Redistributable Components version 1.0 definitely exists.
For Operation System, we've been using .NET 3.5 so we need packages that will work on XP64 and 64bit versions of Windows Vista.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Windows 组件的正常方法不是让一组服务器的管理员使用其本地软件推送技术(即 SMS)来确保安装该组件吗? 通过 WMI 远程管理服务器的需求并不罕见。
顺便说一下,服务器产品的标准版中不提供WMI Installer Provider,但在企业版中提供。 因此,Windows 2003 Server 默认情况下不会安装此软件,但 Windows 2003 Server Enterprise(和 DataCenter)会安装该软件。
这个答案确实意味着您将安装的负担重新推给了您的用户群,但对于 Windows 管理员来说这不应该是任何问题。
Wouldn't the normal approach for a Windows component be that the administrators of a set of servers use whatever their local software push technology (i.e. SMS) to ensure that component is installed? This is not that uncommon of a requirement for the remote management of servers via WMI.
By the way, the WMI Installer Provider is not provided in the Standard Edition of the server products, but it is in the Enterprise Edition. So, Windows 2003 Server will not have this installed by default, but Windows 2003 Server Enterprise (and DataCenter) will.
This answer does imply that you are putting the burden of installation back on your user base, but for Windows administrators this should not be any issue.
您没有提到什么操作系统,但 WMI 可再发行组件版本 1.0 确实存在。
对于 Windows Server 2003,WMI SDK 和可再发行组件是 服务器 SDK
我相信对于 Server 2008 SDK
You didn't mention for what OS, but the WMI Redistributable Components version 1.0 definitely exists.
For Windows Server 2003, the WMI SDK and redistributables are part of the Server SDK
I believe that the same is true for the Server 2008 SDK