We've recently started publishing InfoPath 2007 Forms to SharePoint, and I've been getting an error on most our clients' computers. The error message boils down to:
"The required version of the Microsoft .NET Framework is not installed on your computer or the InfoPath Primary Interop Assembly (PIA) is not registered. Use Add or Remove Programs in Control Panel to make sure that the required version of the Microsoft .NET Framework is installed. Or install it using Windows Update and run the Setup program again to confirm that the corresponding version of the .NET Programmability Support is installed, or contact your system administrator.
I've checked that all our systems have the necessary .NET Framework 2.0 installed, but it seems that the .NET Programmability Support is not installed.
see this article: http://blogs.msdn.com/sameersurve/archive/2008/09/26/infopath-error-the-required-version-of-the-microsoft-net-framework-is-not-installed-on-your-computer-or-the-infopath-primary-interop-assembly-pia-is-not-registered.aspx
See also, this MS KB: http://support.microsoft.com/kb/914360
While I've written up a nice step-by-step for our end users to manually add the .NET Programmability Support for InfoPath, I'd like to find an automated or scripted solution.
Anyone out there know how to programatically initiate an Add or Remove Features function that a user would normally do via the control panel?
All our end users are on WinXP SP3.