URGENT - Setup Failure

Posted on 2003-03-25
Medium Priority
Last Modified: 2010-04-07
My setup package fails to run properly. All files copy and then it begins "updating your system". Then the error occurs. The ST6UNST log shows the following errors:

*** ERROR: The file 'C:\DOCUME~1\dback\LOCALS~1\Temp\msftqws.pdw\$(DLLSelfRegisterEx)' could not be registered because it was not found.
*** ERROR: (User Responded with 'OK')

*** ERROR: Strap Setup was not completed successfully.
*** ERROR: (User Responded with 'OK')

I am not sure what the file msftqws.pdw is except that I found a reference that its a "package & deployment wizard" file, which makes sense. Is this file supposed to be created by setup?

I am running Visual Studio (VB6) on Windows XP.

Thanks for your help!
Question by:Thanbor
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 8206573
Did you build the setup on a clean box?  It's been my experience that the Package & Deployment Wizard (P&DW) is as buggy as anything Microsoft as ever produced, but that doing the following dramatically cuts down on the setup failures:
1) Have a 'Build Box' that is running the same version of Windows as what you'll be installing to, down to the service pack level.  This box has VB on it, any OCXs used in the project, any essential networking stuff and NOTHING ELSE.
2) The Build Box runs the same MDAC version as the developers are using.  And you're all using the same version, right?
2) The P&DW will put a MDAC_TYP.exe file in the \support directory of the setup package.  Replace it with a copy of MDAC_TYPE.exe that you KNOW is the same version as mentioned in #2
3) Sacrifice a chicken, cross your fingers, pray, etc.


Accepted Solution

carsten77 earned 400 total points
ID: 8206677
Hey Thanbor,

I assume that you use a dateTimePicker in your project. If so the follwing should be the solution.

Locate the file: MSCAL.DEP
usuall in c:\winnt\system32 or wherever your System32 directory is.

Open it with notepad.
change the line




Save it and run the deployment wizard again.

Hope it works.

Best regards

LVL 70

Expert Comment

by:Éric Moreau
ID: 8207101
have you installed SP5 for VB6?

Author Comment

ID: 8207228
Thx Carsten77, that worked great!

Author Comment

ID: 8207236
Thanks a bunch!

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

752 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