Solved

msftqws.pdw errors in PDW

Posted on 1999-01-05
4
901 Views
Last Modified: 2012-05-04
I am trying to install a system written in VB6(SP1) which was created using the Package & Deployment Wizard and I get the following error:

The file 'C:\Windows\Temp\msftqws.pdw\$(DLLSelfRegisterEX)'
could not be registered because it was not found.

I am working on NT4 workstation and the user has Win95.

This is dead urgent!!!
0
Comment
Question by:Shaley
4 Comments
 
LVL 3

Expert Comment

by:a111a111a111
Comment Utility
0
 

Author Comment

by:Shaley
Comment Utility
The proposed answer was

DEVELOPER: In the VB5dep.ini file backwards compatibility section, add the following lines:

[MSCAL.OCX]
Register=$(DLLSelfRegister)
Dest=$(WinSysPath)
Uses1=

After the changes above have been added, use the Setup Wizard again to create the setup application

This works with VB5 as I have had the problem before but it does not work with VB6.  Is the entry correct for VB6, do I need to anything else???
0
 

Accepted Solution

by:
TonMan earned 400 total points
Comment Utility
Error:
"c:\windows\system\$(dllselfregisterex) could not be registered because it could not be found."    
-or-
   "The dependency file for MSCAL.OCX is out of date."

Reason:
The Calendar control is part of the Office Developers Edition, not part of Visual Basic. In order to be in compliance with the licensing agreement, you must have a license for Office Developers Edition.

Comments:
1. You can try downloading a new Mscal.ocx from Microsoft Website.
2. In the VB5dep.ini or VB5deb.ini file backwards compatibility section, add the followinglines:
[MSCAL.OCX]
Register=$(DLLSelfRegister)
Dest=$(WinSysPath)
Uses1=
3. This problem can also occur when installing third-party controls after Visual Basic is already installed. Another workaround is to install Office 97 and all third-party tools and then install Visual Basic 5.0. The first time the Setup Wizard is executed, the master depends file will be updated to reflect additional controls installed.

0
 
LVL 3

Expert Comment

by:Michelt
Comment Utility
to actually solve the problem in VB6 sp1 or sp2 do the following

To fix the problem, do the following:

1. Open the Setup.lst file in a text editor, such as Notepad. Setup.lst is one

   of the files created for your application setup by the Setup Wizard or PDW.

2. Find $(DLLSelfRegisterEx). You should see $(DLLSelfRegisterEx) highlighted in
   the entry for MSCal.ocx.

3. Change $(DLLSelfRegisterEx) to $(DLLSelfRegister).
4. Save your changes and close Notepad.

5. Run the application Setup.exe.

To fix the problem for all setup.exes created with the Setup Wizard and PDW, follow these steps:

1. Open the MSCal.dep file in a text editor, such as Notepad. You should find

MSCal.dep in the same folder as MSCal.ocx, which is normally located in the WINDOWS\System folder on Windows 95/98 and the Winnt\System32 folder on Windows NT.

2. Find $(DLLSelfRegisterEx) You should see $(DLLSelfRegisterEx) highlighted in the entry for "Register=".

3. Change $(DLLSelfRegisterEx) to $(DLLSelfRegister).
4. Save your changes and close Notepad.

5. Run the Setup Wizard or PDW to create a new setup.


NOTE: Do not use an existing template in the Setup Wizard or an existing packaging script in the PDW.


0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now