Microsoft KB Archive/111772

{|
 * width="100%"|

Manually Registering Works for Windows 3.0

 * }

Q111772

3.00 WINDOWS kbprint

-

The information in this article applies to:


 * Microsoft Works for Windows, version 3.0
 * Microsoft Windows operating system version 3.x

-

SUMMARY
This article describes how to manually build the REG.DAT files that are built by Works Setup.

MORE INFORMATION
The *.REG files used by Works and the shared applications (Draw, WordArt, ClipArt Gallery, and Note-It) are text files that need to be modified if any files are installed in locations other than the default locations.

The default locations are:

Works: C:\MSWORKS

ClipArt Gallery: C:\WINDOWS\MSAPPS\ARTGALRY

Draw: C:\WINDOWS\MSAPPS\MSDRAW

Note-It: C:\WINDOWS\MSAPPS\NOTE-IT

WordArt: C:\WINDOWS\MSAPPS\WORDART For example, if Works is installed on C:\WINAPPS\WORKS_3, then all references in the MSWORKS3.REG file will need to be changed to C:\WINAPPS\WORKS_3\MSWORKS.EXE before re-registering this file.

Modifying the *.REG Files
 In Program Manager, choose Run from the File menu.  In the Command Line box, type "write :\ " where is the name of the registration file to edit and is the location of that file. For example, to modify C:\WINAPPS\WORKS_3\MSWORKS3.REG, type the following: "write c:\winapps\works_3\msworks3.reg" This opens the MSWORKS3.REG in Write.  Choose the No Conversion button when asked if you want to convert the file to a Write format. From the Find menu, choose Replace. In the Find What box, type the default location of the executable program. For example, for Works 3.0 you would type: In the Replace With box, type the current location of the executable file. For example, for the Works location specified in step 2, type: Choose the Replace All button. After Write replaces all occurrences, choose the Close button.</li> From the File menu, choose Save.</li></ol>

Either Exit Write and continue with the following steps, or, if necessary, edit the other registration files that need to be changed.

After making any necessary changes to the references above and assuming that you are starting with a clean installation of Windows (that is, it is not corrupted), you can now manually register Works by registering each of the *.REG files.

To ensure the REG.DAT file is not corrupted, rename the REG.DAT file and delete the [embedding] section of the WIN.INI file. Restart Windows to rebuild the REG.DAT.

To manually register each of the *.REG files:

<ul> Double-click each of them in the File Manager.

-or-</li>  In Program Manager, choose Run from the File menu and type "regedit :\ \ .reg" where is your hard disk drive, is the path to your .REG file, and is the .REG filename. For example, for the first one on the list, you would type: "regedit c:\windows\system\setup.reg" After each one, you should receive a message that states the information has been successfully registered in the registration database. </li></ul>

The following is a list of the files that need to be manually registered in the order specified:

NOTE: The file listing below indicates the default location for each file.


 * 1) SETUP.REG in the Windows SYSTEM directory
 * 2) OLE2.REG in the Windows SYSTEM directory
 * 3) MSWORKS3.REG in the MSWORKS directory
 * 4) ARTGALRY.REG in the Windows MSAPPS\ARTGALRY directory
 * 5) MSDRAW.REG in the Windows MSAPPS\MSDRAW directory
 * 6) NOTE-IT.REG in the Windows MSAPPS\NOTE-IT directory
 * 7) WORDART2.REG in the Windows MSAPPS\WORDART directory

Additional query words: kbhowto registration registering reg dat

Keywords :

Issue type :

Technology :