Solved

VB6 PDW - Setup fails

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Vb.net 2008 2 59
add text to end of existing text in file 16 70
Validating VB6 Function 19 59
TT Auto Dashboard 13 92
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

778 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