Microsoft KB Archive/182118

= PUB98: Artgalry.dll Is Unable to Register Itself =

Article ID: 182118

Article Last Modified on 4/18/2003

-

APPLIES TO


 * Microsoft Clip Gallery 4.0
 * Microsoft Publisher 98 Standard Edition

-



This article was previously published under Q182118



WARNING: The information in this article has not been confirmed or tested by Microsoft. Some or all of the information in this article has been taken from unconfirmed customer reports. ANY USE BY YOU OF THE INFORMATION PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this information "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.



SYMPTOMS
When you run the Microsoft Publisher 98 Setup program, you may encounter the following error message near the end of the installation process:

Artgalry.dll is unable to register itself in the Registry.

This message may be followed by:

Setup did not complete successfully.



CAUSE
This problem may appear in either of the following situations:
 * An application or terminate-and-stay-resident (TSR) program was running while you ran the Publisher 98 setup program.

-or-


 * Certain core dynamic link libraries (DLL) files have been replaced by versions that are not compatible with the Publisher Setup program.



RESOLUTION
To resolve this behavior, follow these steps:

NOTE: You should follow these steps in the order shown. For example, if your problem is not resolved by performing step 1, go to step 2. If necessary, after completing step 2, go back and repeat step 1.

Step 1: Disable TSRs and Rerun Setup
Rerun the Setup program after you close any applications or TSR programs. To do this, follow these steps:  Restart Windows 95:  On the Windows Start menu, click Shut Down Click Restart The Computer, and then click OK.  Close any programs that are currently running. To do this, follow these steps:  Press CTRL+ALT+DEL. This will open the Close Program dialog box.</li> In the Close Program dialog box, select any item (except Explorer and Systray), and click End Task. Repeat steps a and b until Systray and Explorer are the only items listed in the Close Program dialog box.</li></ol>

NOTE: In some cases Windows may display a dialog box indicating that the application is not responding. If you see this dialog box, click End Task.</li> Rerun the Publisher Setup program.</li></ol>

If you performed step 1 and you are still receiving this error attempting to install Publisher, certain core dynamic link library (dll) files may be preventing Setup from successfully registering the shared ClipArt Gallery component. The actual DLL that is causing this error may vary from one computer to another. Each component is addressed in a separate setup procedure.

Step 2: Rename the Artgalry.dll File
Rename the Artgalry.dll file, and then rerun the Publisher Setup program. To do this, follow these steps:
 * 1) On the Windows Start menu, point to Programs, and then click Windows Explorer.
 * 2) Click the Artgalry.dll file. By default, this file is in the \Program Files\Common Files\Microsoft Shared\Artgalry folder.
 * 3) On the File menu, click Rename.
 * 4) Rename the Artgalry.dll file to Artgalry.old.
 * 5) Rerun the Publisher Setup program.

Step 3: Rename the Msvcrt20.dll File
Rename the Msvcrt20.dll, and rerun the Publisher Setup program.  If any programs are currently running, close them.</li> Rename the Msvcrt20.dll file. To do this, follow these steps:  On the Windows Start menu, point to Find, and then click Files Or Folders.</li> In the Named box, type:

Msvcrt20.dll</li> Click Find Now.</li> Right-click Msvcrt20.dll, and then click Rename. Change the name to something like Msvcrt20.old.

</li></ol>

NOTE: If you are running any programs that are using the Msvcrt20.dll, you will receive this error message:

Cannot rename Msvcrt20.dll: Access is denied.

Make sure the disk is not full or write-protected and that the file is not currently in use.

If you receive this error message, follow these additional steps:  On the Windows Start menu, click Shut Down.</li> In the Shut Down Windows dialog box, click Restart in MS-DOS mode and then click Yes. You should see a blank screen with a command prompt that looks like this:

c:\windows></li> Type the following: cd system Press ENTER.</li> Type the following: ren msvcrt20.dll msvcrt20.old Press ENTER.</li> <li>Type the following exit Press ENTER. Windows 95 will restart.</li> <li>If you receive any kind of "error starting program" or "can't find required .dll" error message, click OK to bypass the message.</li></ol> </li> <li>Rerun Publisher setup.</li></ol>

Step 4: Rename the Picstore.dll File and Rerun Setup
<ol> <li>If any programs are currently running, close them.</li> <li>Rename the Picstore.dll file. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>On the Windows Start menu, point to Find, and then click Files Or Folders.</li> <li>In the Named box, type: picstore.dll</li> <li>Click Find Now.</li> <li>Right-click the Picstore.dll file, and then click Rename. Change the name to something like Picstore.old.</li></ol> </li> <li>Rerun Publisher setup.</li></ol>

If you still encounter the error, replace the Msvcrt20.dll, Msvcrt40.dll, and Mfc42.dll files using the procedure described in the following article in the Microsoft Knowledge Base:

157146 PUB97: ACMSETUP Caused a General Protection Fault in Mfc40.dll

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

<div class="references_section">