Same issue here.
I have hundreds of users all over the country that are currently running infopath 2003 on Windows XP machines with MSOffice 2003. We are in the process of migrating to Windows 7 with MSOffice 2010. They need to be able to copy or move their xml forms (which contain javascript code) to any location (laptop, thumbdrive, email etc etc), and when they submit the form, it will connect to a webservice, which in turn dumps into a sql database.
We are running Office InfoPath 2003 Toolkit for Visual Studio 2005 with the Microsoft Office InfoPath SP1 installed.
I use the regform.exe something like this
regform /V 1.0.0.0 /T Yes /O c:\work\Something\Temp c:\work\Something\Template\Temp.xsn
Everything registers fine
Microsoft Office InfoPath RegForm tool. Version 1.0.0.3
Copyright (C) Microsoft Corporation 2003. All rights reserved.
Building script...
Result script in C:\work\Something\SomethingSetup\Code.js file.
Completed.
Using Visual Studio 2005 I build a MSI to distribute this form out to the users.
Problem 1 - When installing the form on the new Windows 7 machines we get the following message.
"An error occurred while attempting to register the form: System.UnauthorizedAccessException: Access is denied." - I click ok, installation completes.
Problem 2 - When attempting to open the form we get the following message.
"Infopath cannot open the following file...
This form is associated with a URN-based form template, which cannot be found on your computer" - I click ok and we cannot open the form.
I've read many articles on this site, and went through a process of re-publishing the template in Infopath 2010, and then rebuilding the MSI file. I still get the error when I install the form on the new machine as described in Problem 1, but when I open the form after re-publishing (as full trusted) I get the following message.
“Infopath cannot open a new form. The form template is trying to access files and settings on your computer. Infopath cannot grant access to these files and settings because the form template is not fully trusted. For a form to run with full trust, it must be installed or digitally signed with a ceritificate.” Again to re-iterate the form was re-published as fully trusted.
So as a final step I created a temporary test certificate and republished again, and rebuilt the msi and I still get the install error, but I can finally open the 2003 infopath form in 2010…hooray! BUT…I do not want a certificate because these forms need to be portable able to submit from any machines they are on (assuming it’s a company machine with our security and software etc etc.)
Can these 2003 forms be opened and function in the same way they do today under Infopath 2010?