<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: custom .dll error</title><link>https://www.infopathdev.com:443/forums/thread/14382.aspx</link><pubDate>Sun, 12 Mar 2006 16:38:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14382</guid><dc:creator>skully</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14382.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14382</wfw:commentRss><description>Hello Anders.&lt;br /&gt;&lt;br /&gt;Sorry for the tardy reply.&lt;br /&gt;&lt;br /&gt;I created all of the MSIs via Regform.exe, not directly in VS.NET. Also, I'm certain that I'm using the correct version of Regform -- the one that deals with 2.0 managed code, not 1.1. At this point, I've tested the MSIs on a couple of machines and am getting mixed results. It all works on one machine that has .NET 1.1 and 2.0, Infopath SP2, etc. installed. Another machine with the same setup won't let it work. &lt;br /&gt;&lt;br /&gt;Is it possible that Infopath is configured to "prefer" one .NET installation over another? That is, if it's configured to use 1.1 managed code, then I would get errors when it tried calling 2.0 code, right? But I'm not certain that that's how Infopath interacts with .NET managed code. At this point, I might try uninstalling Office and .NET 2.0, then reinstall. I would rather not have to do that, especially on my clients' machines. Do you have suggestions for what I might try? &lt;br /&gt;&lt;br /&gt;Take care and thanks for your help! I'll make sure to post if I find a work-around.</description></item><item><title>Re: custom .dll error</title><link>https://www.infopathdev.com:443/forums/thread/14381.aspx</link><pubDate>Fri, 10 Mar 2006 22:01:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14381</guid><dc:creator>AndersR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14381.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14381</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;how exactly do you create this MSI?&lt;br /&gt;&lt;br /&gt;You need to use Regform.exe and not a setup project in VS.NET&lt;br /&gt;&lt;br /&gt;hth</description></item><item><title>custom .dll error</title><link>https://www.infopathdev.com:443/forums/thread/12812.aspx</link><pubDate>Thu, 09 Mar 2006 16:24:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12812</guid><dc:creator>skully</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12812.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12812</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I'm having a problem deploying a fully trusted form with managed code via an msi package. Here's the scenario. I've created a custom .dll in vs 2005 to hold code common to all of my managed code infopath forms. In the form code specific to the infopath projects, I reference this custom .dll, making sure to include "local copy" in the specs. Now, I create msi packages and install. Everything works great when I install on the same machine that I developed all this on, but when I try to install on another machine, I get an error where infopath can't create a blank form. It says the custom .dll I included in the project is invalid and that the format of the file is incorrect. &lt;br /&gt;&lt;br /&gt;I'm wringing my hair at this point. Both my development machine and the target machine are running Infopath SP2, .NET framework 1.1 and .NET framework 2.0. The custom .dll was created in 2.0, but uses a wrapper around COM .dll "wininet.dll," which is present on both machines. &lt;br /&gt;&lt;br /&gt;Is there something simple that I'm missing here? &lt;br /&gt;&lt;br /&gt;Thanks so much for your help!&lt;br /&gt;</description></item></channel></rss>