URGENT - Setup Failure

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!
ThanborAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dancebertCommented:
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.


0
carsten77Commented:
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

Register=$(DLLSelfRegisterEX)

to

Register=$(DLLSelfRegister)

Save it and run the deployment wizard again.

Hope it works.

Best regards
Carsten

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Éric MoreauSenior .Net ConsultantCommented:
have you installed SP5 for VB6?
0
ThanborAuthor Commented:
Thx Carsten77, that worked great!
0
ThanborAuthor Commented:
Thanks a bunch!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.