Solved

msftqws.pdw errors in PDW

Posted on 1999-01-05
4
926 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
ID: 1453969
0
 

Author Comment

by:Shaley
ID: 1453970
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
ID: 1453971
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
ID: 1453972
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

947 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

19 Experts available now in Live!

Get 1:1 Help Now