Solved

VB6 PDW - Setup fails

Posted on 1999-01-27
4
1,479 Views
Last Modified: 2010-10-05
I created a setup program with the VB6 Package & Deployment Wizard.
When I run it I receive the message :
"Cannot start main setup program! (CreateProcess()returned error code 0x000000C1H)"
after he has finished to copy MSVBVM60.DLL at the beginning of the setup.
0
Comment
Question by:greisch
[X]
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
  • 3
4 Comments
 
LVL 1

Expert Comment

by:mackagp
ID: 1470913
I've experienced this problem, the fail is due to unable to spawn setup1.exe after copying the main files. As yet i've not found a solution, but am working on it. I found that if a machine returned this error it would not run any VB6 setup's. I will update as i find stuff out. (unless somebody finds a solution!)

0
 
LVL 1

Expert Comment

by:mackagp
ID: 1470914
This taken from newsgroups.. Not been able to test it yet, cause i don't have access to the relevant PC.. But give it a go.

Have them check in the \WINDOWS Directory of the machine that can't run the
setup.
Make sure they don't have any .CAB files with the same file name as the ones
that come with your program you're distributing. If they find them, delete
them from the WINDOWS directory. If it's an NT machine, that would be the
\WINNT dir.

Also want to them check to be sure the following filesizes. If any are zero
bytes, delete them (note, if NT machine use \WINNT and \WINNT\SYSTEM32

\WINDOWS\SYSTEM\VBSTKIT.DLL
\WINDOWS\SYSTEM\MSVBVM60.DLL
\WINDOWS\ST6UNST.EXE
\WINDOWS\SETUP1.EXE


Then have them run the setup program again.
0
 
LVL 3

Author Comment

by:greisch
ID: 1470915
To mackagp :

I have deleted SETUP1.EXE, my CAB file.
Then the setup has worked.

Thanks.

Submit your answer to get the points !!!
0
 
LVL 1

Accepted Solution

by:
mackagp earned 200 total points
ID: 1470916
Wahay :)

0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…
Suggested Courses
Course of the Month9 days, 23 hours left to enroll

624 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