"Error 1720" when an MSI file installs an add-in for Visio 2007

If you are a Small Business customer, find additional troubleshooting and learning resources at the Support for Small Business site.
SYMPTOMS
When you try to use 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 and the following error message is logged 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.

Also, when you try to install a custom Microsoft Office InfoPath 2007 template, the following error message is logged in the installation log file:
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 UAC and run the .msi file
To resolve this issue, disable User Account Control (UAC), and then run the .msi file. To do this, follow these steps:
  1. Disable User Account Control (UAC). To do this, follow these steps:
    1. Click StartStart button, click Control Panel, click User Accounts and Family Safety, and then click User Accounts.

      Or, 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.

      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 UAC. To do this, repeat step 1, except that in step 1c, click to select the Use User Account Control (UAC) to help protect your computer check box.
Notes
  • If the .msi file contains a COM add-in, and if you select the Just me option as the users for whom to apply the add-in, the add-in may not be installed as expected.
  • For more information about UAC, go to the What is User Account Control? Microsoft website.


Method 2: Modify the .msi file
To resolve this issue, modify the .msi file. To do that, follow these steps:
  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, go to the Windows SDK Components for Windows Installer Developers Microsoft Developers Network (MSDN) website.
  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 the .msi file, and then exit the editor.
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 earlier in the "remove" sequence.
visio2007 visio2k7 visio12 vso2007 vso2k7 vso12
Properties

Article ID: 929991 - Last Review: 05/24/2012 19:30:00 - Revision: 5.0

Microsoft Office Visio Professional 2007, Microsoft Office Visio Standard 2007, Microsoft Office InfoPath 2007

  • kbdeployment kbsetup kberrmsg kbtshoot kbexpertiseinter kbprb KB929991
Feedback