Microsoft KB Archive/924392

= Error message when you try to reinstall an InfoPath 2007 form template: &quot;The form is already installed on this computer&quot; =

Article ID: 924392

Article Last Modified on 11/3/2006

-

APPLIES TO


 * Microsoft Office InfoPath 2007

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
Consider the following scenario:
 * You install a Microsoft Office InfoPath 2007 form template.
 * You delete the installed InfoPath 2007 form template (.xsn) file.
 * You uninstall the InfoPath 2007 form template.
 * You try to reinstall the InfoPath form template.

In this scenario, you receive the following error message:

The form is already installed on this computer. You must unintall the current form before you can install a new version of the form. To uninstall the current form, use Add or Remove Programs in Control Panel.



CAUSE
This issue occurs because you manually deleted the installed form template (.xsn) file before you uninstalled the form template.



WORKAROUND
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To work around this issue, follow these steps:  Click Start, click Run, type regedit, and then click OK. Locate and then click the registry subkey that has the form ID of the deleted form template. The registry subkey has a value that resembles the following:

 On the Edit menu, click Delete, and then click Yes to confirm.



Steps to reproduce the issue
 Create an installation file in Microsoft InfoPath 2007. To do this, follow these steps:  Start InfoPath 2007.</li> Click Design a Form Template, click Blank, and then click OK.</li> On the File menu, click Publish, enter a name for the form template, and then click Save.</li> Click As an installable form template (.js or .msi file), and then click Next.</li> Click Microsoft Installer (.msi) file, and then click Next.</li> Select a location for the installation file, click Next, click Publish, and then click Close.</li></ol> </li> Double-click the installation file to install the template.

Note By default this file will be installed to the %ProgramFiles%\ folder.</li> Delete the installed form template (.xsn) file.</li> Right-click the installation file, and then click Uninstall to uninstall the template.</li> Double-click the installation file. You receive the error message that is mentioned in the &quot;Symptoms&quot; section.</li></ol>

Additional query words: InfoPath2007

Keywords: kbtshoot kbexpertiseinter kbprb KB924392

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.