Solved

VB6 PDW - Setup fails

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Computer crashes, following error message in event manager 5 242
using web browser with BING 40 132
How to read File Date Created using VB6 8 52
backup program with robocopy 6 47
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

821 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