Microsoft KB Archive/191339

= SMSINST: Corel Perfect Office Generates Registry Key Error =

Article ID: 191339

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Systems Management Server 1.0 Standard Edition

-



This article was previously published under Q191339



IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.



SYMPTOMS
When using Systems Management Server Installer to compile a package to install Corel Perfect Office, the following error is generated at compile time:

You must specify a key to update the registration database



CAUSE
This error is caused by an invalid registry key addition. Corel Perfect Office generates an invalid registry key addition when being repackaged.



WORKAROUND
To resolve this problem, removing the invalid registry keys. To do this, perform the steps below.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

 Open SMS Installer. Open the SMS Installer script (*.IPF file) that generates this error. On the View menu, click Script Editor to switch to the script editor. Scroll through the script and locate the line that says "Edit Registry Keys", where is the number of keys that are to be modified. Select the "Edit Registry Keys" line. Right-click and then click Copy on the shortcut menu. Open Notepad.exe.</li> On the Edit menu, click Paste. This pastes the registry changes into Notepad.</li>  Locate all entries that look similar to the following lines: item: Key New Value="*<>|        Value Name=PerfectFit Logical Syntax Characters         Root=1      end                    </li> After locating each instance, remove all the lines from "item: Key" up to and including the next occurrence of "end".</li>  At the top of the text file, locate the lines that look like:       item: Edit Registry      Total Keys=yy (where yy is the number of registry keys to be edited)                    </li> Decrement the "Total Keys" value (yy) by the number of "item: Key" Sections you removed. In most cases, this number should be decremented by one.</li> On the Edit menu, click Select All.</li> On the Edit menu, click Copy.</li> Switch back to SMS Installer.</li> Select the "Edit Registry Keys" script item, right-click, and then click Paste on the shortcut menu. NOTE: This adds a second instance of "Edit Registry Keys".</li> Delete the older (original) line by selecting it and pressing the DELETE key.

NOTE: You should now have only one instance of "Edit Registry Keys".</li> On the View menu, click Installation Expert.</li> Click Compile. The script should now compile without generating the error.</li></ol>

<div class="status_section">

STATUS
The third-party products discussed here are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability.

Additional query words: wordperfect word corell correll correl prodsms

Keywords: kbprb kbsmsappscripts kbsmsutil KB191339

-

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

© Microsoft Corporation. All rights reserved.