Microsoft KB Archive/924392

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 18:32, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


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:

  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:
    1. Start InfoPath 2007.
    2. Click Design a Form Template, click Blank, and then click OK.
    3. On the File menu, click Publish, enter a name for the form template, and then click Save.
    4. Click As an installable form template (.js or .msi file), and then click Next.
    5. Click Microsoft Installer (.msi) file, and then click Next.
    6. 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.



Additional query words: InfoPath2007

Keywords: kbtshoot kbexpertiseinter kbprb KB924392