Error message when you try to reinstall an InfoPath 2007 form template: “The form is already installed on this computer”

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:

1. Click Start, click Run, type regedit, and then click OK.
2. 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:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\InfoPath\SolutionsCatalog\urn:schemas-microsoft-com:office:infopath:TemplateName:-myXSD-2006-08-25T13-53-37
3. On the Edit menu, click Delete, and then click Yes to confirm.

MORE INFORMATION

Steps to reproduce the issue

1. Create an installation file in Microsoft InfoPath 2007. To do this, follow these steps:

a. Start InfoPath 2007.
b. Click Design a Form Template, click Blank, and then click OK.
c. On the File menu, click Publish, enter a name for the form template, and then click Save.
d. Click As an installable form template (.js or .msi file), and then click Next.
e. Click Microsoft Installer (.msi) file, and then click Next.
f. Select a location for the installation file, click Next, click Publish, and then click Close.
2. Double-click the installation file to install the template.Note By default this file will be installed to the %ProgramFiles%\TemplateName folder.
3. Delete the installed form template (.xsn) file.
4. Right-click the installation file, and then click Uninstall to uninstall the template.
5. Double-click the installation file. You receive the error message that is mentioned in the “Symptoms” section.

——————————————–

Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

 


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image