Microsoft KB Archive/303878

= Unattended Visio 2000 installation does not succeed =

Article ID: 303878

Article Last Modified on 7/16/2007

-

APPLIES TO


 * Microsoft Visio 2000 Service Release 1, when used with:
 * Microsoft Windows 95

-



This article was previously published under Q303878



SYMPTOMS
When you use the Microsoft Visio 2000 installer package (Vis2000.msi) from the Select CDs, you may not be able to perform an unattended installation of Microsoft Visio 2000 SR-1a, Professional edition.

The installation does not succeed, and you may receive an error message that is similar to the following:

Error 1406: Could not write value Installed to key



CAUSE
This issue occurs because of registry limitations in the Windows Installer in Microsoft Windows 95. The total size of a registry key and all its values is limited to 64 kilobytes (KB) in Windows 95. This may limit the maximum total number of features and components in a product.



RESOLUTION
To work around this issue and finish the installation process, click Ignore each time that you receive the error message.

NOTE: If you use the /qb- switch or the /qb+ switch, you receive the error message, and you can click Ignore on the error message. If you click Ignore, the installation may succeed. However, if you use the /qn switch, you do not receive an error message. You cannot click Ignore in that case; therefore, the installation does not succeed.

To resolve this issue, you can create a transform that will be applied to the Vis2000.msi installer database. By applying a transform, you can continue to use the Microsoft Visio 2000 installer package (Vis2000.msi) from the Select CD without causing potential support problems for future patches and service releases. In the transform-modified database, you can create a Custom Action of type 51 to set the DPID property to text formatted &quot;No Value&quot;, which is acceptable to the Windows 95 registry.

The Windows Installer can then call the Custom Action conditionally from the InstallExecuteSequence table. You have to make sure that the Custom Action is the last action to modify the DPID property, and so you have to create the new install sequence with a sequence number that immediately precedes the one for the installation action. You have to do this because the Microsoft Visio 2000 installer package from the Select CD had to sequence the standard action before any changes were made to the computer; therefore, all properties must have been set before then. This procedure sets the condition column so that the Custom Action is called only if the operating system is earlier than Microsoft Windows 98. By doing this, the same transform can be used throughout the organization without an impact on any computer that uses a later version of Windows.

For the following resolution, you have to install the Microsoft Windows Installer Software Development Kit (SDK). The Windows Installer SDK comes with a utility named Orca that you can use to create a &quot;destination .msi file&quot;. It also comes with a utility named MSITran.exe that you can use to generate the transform.

You can download a copy of the Microsoft Windows Installer SDK at no charge. To do this, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=e96f8abc-62c3-4cc3-93ad-bfc98e3ae4a3

To create the transform to resolve this issue, follow these steps:  Install Orca.msi from the MsiIntel.SDK\Tools folder of the Microsoft Windows Installer SDK. Start Orca, and then open the Vis2000.msi database. Save the database to a new database named &quot;VisDestination.msi&quot;. (On the File menu, click Save As.) In the left panel, select the table named &quot;CustomAction&quot;. Press CTRL+R to insert a new row into the table. (You can also click Add Row on the Tables menu to add a row.)  Type the following values in the Add Row dialog box, and then click OK. <pre class="fixed_text">  Action: ClearDPID Type: 51 Source: DPID Target: No value - leave this field empty. </li> In the left panel, select the table named &quot;InstallExecuteSequence&quot;.</li> Press CTRL+R to insert a new row into the table.</li>  Type the following values in the Add Row dialog box, and then click OK. <pre class="fixed_text">Action: ClearDPID Condition: Version9X<410 Sequence: 1499 </li> On the File menu, click Save to save the file, and then quit Orca.</li> Click Start, and then click Run.</li> In the Open box, type the following, and then press ENTER:

-g { } { } { }

where: <ul>  is the path to the Msitran.exe file,</li>  is the path to the original Vis2000.msi database,</li>  is the path to the destination Vis2000.msi database,</li> and  is the transform file name.</li></ul>

For example: <ul> if MSITRAN.EXE was installed to &quot;C:\Program Files\MsiIntel.SDK\Tools\MsiTran.exe&quot;,</li> and the original vis2000.msi database is located on \\ \ \Install\Unattended,</li> and the Destination vis2000.msi database created is on c:\</li></ul>

type the following:

&quot;C:\Program Files\MsiIntel.SDK\Tools\MsiTran.exe&quot; -g \\ \ \Install\Unattended\vis2000.msi c:\visDestination.msi \\ \ \Install\Unattended\vis2kPro.mst

The previous example creates a new transform that is named &quot;Vis2kPro.mst&quot; in the same folder as the Vis2000.msi database (\\ \ \Install\Unattended). To use the transform, use the following syntax :

msiexec /i \\ \ \Install\Unattended\vis2000.msi TRANSFORMS=vis2kPro.mst

NOTE: Remember to type quotation marks around long file names that contain spaces.

You can add any of the following switches to the end of the previous line: <ul> /l*v c:\VisioTransform.log to capture a verbose log of the installation.</li> /qb+ to only display the status bar and the final dialog box, which indicates whether the installation is successful or not.</li> /qb- to display the status bar but only notify the user if installation does not succeed.</li></ul> </li></ol>

Deployment Example
The following is a deployment example that uses the transform that was created in steps 1 through 12. This example applies to the deployment of Visio 2000 to workstations that already have Microsoft Office 2000 SR-1 and Windows Installer 1.1 installed, and to systems where Mssup.exe has already been applied. It also assumes that the Install folder of the Select CD for Visio Professional SR-1a has already been copied onto a network share \\ \. <ol> <li>Click Start, and then click Run.</li> <li>In the Open box, type the following, and then press ENTER:

msiexec /i \\ \ \Install\bin\sp\SPCore\spcore.msi /qb-

</li> <li>Restart the computer if you are prompted.</li> <li>Click Start, and then click Run.</li> <li>In the Open box, type the following, and then press ENTER:

msiexec /i \\ \ \Install\Unattended\vis2000.msi TRANSFORMS=vis2kPro.mst /l*v c:\visInst.log /qb+

</li> <li>You are notified of whether the installation succeeded or not. To prevent the user from being notified of the successful installation, use the /qb- switch instead.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For more information about the MSI databases, see the Help file named Msi.chm, which is installed by the Windows Installer SDK.

See the following topics in the Msi.chm Help file:
 * See the &quot;CustomAction Table&quot; Help topic for a description of the table entries and for a hyperlink to the Custom Action Types.
 * See &quot;InstallExecuteSequence Table&quot; in the Help index for more information about the table entries.
 * See &quot;InstallInitialize&quot; in the Help index for more information about these standard actions in the InstallExecuteSequence Table.
 * See &quot;command line options&quot; in the Help index for a list of installer switches.

For more information about how to use the MSITran.exe utility, see the Help file named MSITool.hlp, which is installed by the Windows Installer SDK.

In the MSITool.hlp Help file, see the &quot;Transform&quot; Help topic for a syntax and command-line options available to the utility.

Additional query words: visio2000 vso2000 deploy deployment win95

Keywords: kbsetup kbtshoot kberrmsg kbprb KB303878

-

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

© Microsoft Corporation. All rights reserved.