Microsoft KB Archive/929991

= Error message when you try to run an .msi file to install an add-in for Visio 2007 on a Windows Vista-based computer: &quot;Error 1720. There is a problem with this Windows Installer package&quot; =

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 &quot;HKLM\Software\Microsoft\Office\Visio\ConfigChangeID&quot;. 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
 Disable the UAC. To do this, follow these steps:  Click Start, 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. Click Turn User Account Control on or off.

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. Click to clear the Use User Account Control (UAC) to help protect your computer check box, and then click OK. Restart the computer.  Run the .msi file to install the add-in.</li> 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.</li></ol>

Notes <ul> If the .msi file contains a COM add-in, and if you decide to install the add-in for Just me, the add-in may not be installed as expected.</li> For more information about the UAC, visit the following Microsoft Web site:

http://windowshelp.microsoft.com/Windows/en-US/Help/0eeb9ddd-ddaa-4cc5-a092-9908305665471033.mspx

</li></ul>

Method 2: Modify the .msi file
 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:

http://msdn2.microsoft.com/en-us/library/aa370834.aspx

</li> Open the .msi file in the MSI editor.</li> Locate the Custom Action table.</li> Locate the VisSolPublish_BumpVisioChangeId custom action, and then change the type to 3622.</li> Save and then close the .msi file.</li></ol>

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

Additional query words: visio2007 visio2k7 visio12 vso2007 vso2k7 vso12

Keywords: kberrmsg kbtshoot kbsetup kbprb kbdeployment kbexpertiseinter KB929991

-

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

© Microsoft Corporation. All rights reserved.