<p>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 <a href="http://msdn.microsoft.com/en-us/library/aa392726(VS.85).aspx" rel="nofollow noreferrer">"optional component"</a>.</p>

<p>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 <a href="http://www.codeplex.com/linq2wmi" rel="nofollow noreferrer">vested interest</a> in finding out how well this is going to work out.</p>

<p>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.</p>

<p>Edit:</p>

<blockquote>
  <p>You didn't mention for what OS, but the WMI Redistributable Components version 1.0 definitely exists.</p>
</blockquote>

<p>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.</p>

[{'answer_id': 3833, 'author': 'Greg Hurlman', 'author_id': 35, 'author_profile': 'https://Stackoverflow.com/users/35', 'pm_score': 3, 'selected': True, 'text': '<p>You didn\'t mention for what OS, but the <a href="http://www.microsoft.com/downloads/details.aspx?familyid=013BB284-3946-44A9-AC3C-BF2A569EAA72&amp;displaylang=en" rel="nofollow noreferrer" title="Microsoft Download Center">WMI Redistributable Components version 1.0</a> definitely exists.</p>\n\n<p>For Windows Server 2003, the WMI SDK and redistributables are part of the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=484269E2-3B89-47E3-8EB7-1F2BE6D7123A&amp;displaylang=en" rel="nofollow noreferrer" title="Windows Server 2003 SDK Full Download">Server SDK</a></p>\n\n<p><em>I believe</em> that the same is true for the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF&amp;displaylang=en" rel="nofollow noreferrer" title="Microsoft Download Center">Server 2008 SDK</a></p>\n'}, {'answer_id': 109733, 'author': 'dcgibbons', 'author_id': 9644, 'author_profile': 'https://Stackoverflow.com/users/9644', 'pm_score': 0, 'selected': False, 'text': "<p>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.</p>\n\n<p>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.</p>\n\n<p>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.</p>\n"}]
['https://Stackoverflow.com/questions/3790', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/560/']