regform.exe and VS2008

M

MichaelW

Hello,

I have installed InfoPath 2007 and VS2005 on XP. For making forms
full-trusted I used regform.exe from location "C:\Programme\Microsoft
Office\Office12\regform.exe". Therewith I had no problems.
Now I've installed VS2008 and following error occurs:

Error: RegForm does not support Microsoft Visual Studio version number
9.0.21022

If I deinstall VS2008 and use VS2005 again it works again.

What I'm doing wrong? Is there a version of regform.exe which I can use with
VS2008? Does anybody have a solution or workaround for that problem?

Thanks in advance
Michael
 
M

MichaelW

Is there any possibility to point regform.exe to VS2005 and not to VS2008 (if
both VS are installed)?

regards
Michael
 
M

Marc Nemegeer

If you use javascript instead of msi generation it will work, even without
visual studio installed.

Regards,
Marc
 
M

MichaelW

Hi Marc,

at the moment I'm using javascript as codebehind in the form itself.
'regform.exe' I use to generate an msi installer for full-trusted purpose.

Could you please explain how you make a form template full-trusted with
javascript? Or do you have a link to some information?

Thanks in advance

regards
Michael
 
M

Marc Nemegeer

MichaelW,

You now specify /msi with the regform command. Leave it out and it will
generate a javascript that you can execute through cscript. It will install
your infopath form as does the msi. The difference is that the xsn is not
copied to the Infopath form template folder, but the directory where you
execute your script is used as the template folder for this template.

Fully trusted form stays the same, or with the install (msi or javascript)
or for a production environment with a certificate.

Regards,
Marc Nemegeer
 
G

gaceff

Change inside the Windows Registry the path to the devenv.exe (the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
\devenv.exe\(Default) key) so that it points to the devenv you want to
be used, say "c:\Program Files\Microsoft Visual Studio .NET
2003\Common7\IDE\devenv.exe" to force RegForm to build the MSI using
Visual Studio 2003.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top