08-11-2002, 11:05 AM
I've made a word processor and used the Package and Deployment Wizard to create the setup program. The setup runs smoothly, but when it is about to finish, it gives the following error and then remove all files that its already installed:
'C:\Windows\System\$(DLLSelfRegisterEX)' could not be registered because it was not found
08-11-2002, 11:38 AM
This is direct from MS:
MOD2000: Deploying Package with MSCal.ocx Causes Error: "The file ...\$(DllSelfRegisterEx) Could Not Be Registered..."
The information in this article applies to:
Microsoft Office 2000 Developer
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.
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.
To resolve this problem, obtain Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a).
To obtain SR-1/SR-1a, click the article number below to view the article in the Microsoft Knowledge Base:
Q245025 OFF2000: How to Obtain and Install Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a)
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 temporarily work around this problem, you can fix this file. To do so, follow these steps:
In a text editor such as Notepad, open the MSCal.dep file.
Remove the letters "Ex" from the Register=$(DLLSelfRegisterEx) line so that it looks as follows:
Save the MSCal.dep file, and then close Notepad.
Re-create the package to include the modified dependency file.
Microsoft has confirmed this to be a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Microsoft Office 2000 SR-1/SR-1a.
Steps to Reproduce Problem
Open the sample database Northwind.mdb.
Start the Package and Deployment Wizard.
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.
Create the rest of the package by accepting all defaults.
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.
Hope this helps!