PUB98: Artgalry.dll Is Unable to Register Itself (182118)



The information in this article applies to:

  • Microsoft Clip Gallery 4.0 for Windows
  • Microsoft Publisher 98

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:
  1. Restart Windows 95:
    1. On the Windows Start menu, click Shut Down
    2. Click Restart The Computer, and then click OK.
  2. Close any programs that are currently running. To do this, follow these steps:
    1. Press CTRL+ALT+DEL. This will open the Close Program dialog box.
    2. 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.

    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.
  3. Rerun the Publisher Setup program.
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.
  1. If any programs are currently running, close them.
  2. Rename the Msvcrt20.dll file. To do this, follow these steps:
    1. On the Windows Start menu, point to Find, and then click Files Or Folders.
    2. In the Named box, type:
      Msvcrt20.dll
    3. Click Find Now.
    4. Right-click Msvcrt20.dll, and then click Rename. Change the name to something like Msvcrt20.old.
    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:
    1. On the Windows Start menu, click Shut Down.
    2. 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>
    3. Type the following: cd system Press ENTER.
    4. Type the following: ren msvcrt20.dll msvcrt20.old Press ENTER.
    5. Type the following exit Press ENTER. Windows 95 will restart.
    6. If you receive any kind of "error starting program" or "can't find required .dll" error message, click OK to bypass the message.
  3. Rerun Publisher setup.

Step 4: Rename the Picstore.dll File and Rerun Setup

  1. If any programs are currently running, close them.
  2. Rename the Picstore.dll file. To do this, follow these steps:
    1. On the Windows Start menu, point to Find, and then click Files Or Folders.
    2. In the Named box, type: picstore.dll
    3. Click Find Now.
    4. Right-click the Picstore.dll file, and then click Rename. Change the name to something like Picstore.old.
  3. Rerun Publisher setup.
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

STATUS

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

REFERENCES

For more information about registering Clip Gallery, please see the following article in the Microsoft Knowledge Base:

134863 OFF: How to Reregister Shared Programs in Office 95 and 97


Modification Type:MinorLast Reviewed:4/18/2003
Keywords:kberrmsg kbprb kbsetup KB182118