Microsoft KB Archive/929991

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Article ID: 929991

Article Last Modified on 10/15/2007



APPLIES TO

  • Microsoft Office Visio Professional 2007
  • Microsoft Office Visio Standard 2007
  • Microsoft Office InfoPath 2007



SYMPTOMS

When you try to run an .msi file to install an add-in for Microsoft Office Visio 2007 on a Windows Vista-based computer, the add-in is not installed.

Additionally, you receive the following error message in the installation log file:

Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action VisSolPublish_BumpVisioChangeId script error -2147024891, WshShell.RegWrite: Invalid root in registry key "HKLM\Software\Microsoft\Office\Visio\ConfigChangeID". Line 4, Column 1.

When you try to install a custom Microsoft Office InfoPath 2007 template, you receive the following error message:

There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor.

WORKAROUND

To work around this issue, use one of the following methods.

Method 1: Disable the User Account Control (UAC), and then run the .msi file

  1. Disable the UAC. To do this, follow these steps:
    1. Click Start[GRAPHIC: Start button], click Control Panel, click User Accounts and Family Safety, and then click User Accounts.

      Alternatively, if you are connected to a network domain, click User Accounts, and then click User Accounts.
    2. Click Turn User Account Control on or off.

      [GRAPHIC: User Account Control permission] If you are prompted for an administrator password, type the administrator username and password, and then click OK. If you are prompted for confirmation, click Continue.
    3. Click to clear the Use User Account Control (UAC) to help protect your computer check box, and then click OK.
    4. Restart the computer.
  2. Run the .msi file to install the add-in.
  3. Enable the UAC. To do this, follow steps 1a and 1b, click to select the Use User Account Control (UAC) to help protect your computer check box, click OK, and then restart the computer.

Notes

Method 2: Modify the .msi file

  1. Open the .msi file in an MSI editor. For example, use the Orca MSI Editor that is provided in the Microsoft Windows Software Development Kit (SDK).

    For more information about the Windows SDK, visit the following Microsoft Web site:
  2. Open the .msi file in the MSI editor.
  3. Locate the Custom Action table.
  4. Locate the VisSolPublish_BumpVisioChangeId custom action, and then change the type to 3622.
  5. Save and then close the .msi file.

Note This change causes the custom action to be a deferred commit custom action of the "noimpersonate" type. This change lets the .msi file run in the administrator permissions level. When you make this change, the script runs later in the "installation" sequence and runs earlier in the "remove" sequence.


Additional query words: visio2007 visio2k7 visio12 vso2007 vso2k7 vso12

Keywords: kberrmsg kbtshoot kbsetup kbprb kbdeployment kbexpertiseinter KB929991