Solved

VB6 PDW - Setup fails

Posted on 1999-01-27
4
1,291 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
  • 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

708 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

15 Experts available now in Live!

Get 1:1 Help Now