Link to home
Start Free TrialLog in
Avatar of Shaley
Shaley

asked on

msftqws.pdw errors in PDW

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!!!
Avatar of a111a111a111
a111a111a111

Avatar of Shaley

ASKER

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???
ASKER CERTIFIED SOLUTION
Avatar of TonMan
TonMan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.