MOD2000: Deploying Package with MSCal.ocx Causes Error: "The file ...\$(DllSelfRegisterEx) Could Not Be Loaded..."

ID: Q236529


The information in this article applies to:
  • Microsoft Office 2000 Developer


SYMPTOMS

When you deploy a package created by the Microsoft Office 2000 Developer (MOD) Package and Deployment Wizard, you may receive the following error message

The file C:\Windows\Temp\Msftqws.pdw\$(DllSelfRegisterEx) could not be registered because it was not found.
and then Setup is not successful.


CAUSE

This problem can occur under the following conditions:

  • You are including the Microsoft Calendar Control (MSCal.ocx) in your Run-Time Setup.


  • There is a reference to the MSCal.ocx file in your list of library references.



RESOLUTION

Microsoft Access 2000 includes a dependency file for the MSCal.ocx file that does not work correctly with the MOD Package and Deployment Wizard. To fix this file, follow these steps:

  1. In a text editor such as Notepad, open the MSCal.dep file.


  2. Remove the letters "Ex" from the Register=$(DLLSelfRegisterEx) line so that it looks as follows:


  3. Register=$(DLLSelfRegister)
  4. Save the MSCal.dep file, and then close Notepad.


  5. Re-create the package to include the modified dependency file.




STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

Steps to Reproduce Problem

  1. Open the sample database Northwind.mdb.


  2. Start the Package and Deployment Wizard.


  3. On the paged named Package and Deployment Wizard - Included Files, click to select the Include Access Runtime check box, and add the MSCal.ocx file. The default location for this file is C:\Program Files\Microsoft Office\Office.


  4. Create the rest of the package by accepting all defaults.


  5. Deploy the package to a clean computer (a computer that has a newly installed version of Windows, and no other applications).


At the last Setup stage, note that you receive the error message described in the "Symptoms" section of this article.


REFERENCES

For additional information about a similar issue with the Visual Basic 5.0 Application Setup Wizard, click the article number below to view the article in the Microsoft Knowledge Base:

Q208699 PRB: Error "$(DllSelfRegisterEx) Could Not Be Registered"

Additional query words: pra PDW ART runtime run time

Keywords : kbdta modPDWizard
Version : :
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: January 19, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.