|
-
October 3rd, 2001, 07:45 PM
#1
Setup Problem
I put the Setup progarm for my application (created with the PDW) on my site. When my client downloaded it, and tried to run Setup.exe, he got this error.
CreateProcess() returned error code 0x000000C1H
and Setup quit. What could be the matter?
-
October 4th, 2001, 01:06 AM
#2
Re: Setup Problem
This may be a stupid question, but are you shipping the .cab file with it?
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
-
October 4th, 2001, 08:27 AM
#3
Re: Setup Problem
I believe that error code was returned from GetLastError() after the call to CreateProcess()... that error indicates BAD_EXE_FORMAT. To me that indicates either a corrupted EXE or DLL that is trying to be used by the setup program.
-
October 4th, 2001, 09:01 AM
#4
Re: Moreover...
I know you probably have already fixed this, but, just to remember:
you may have matters with different win Os versions...
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Michael
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
The Rater
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
-
October 4th, 2001, 10:11 AM
#5
Re: Setup Problem
Does your client has DCOM98 installed on his machine? DCOM98 usually is not includeed to the PDW setup. Also if you are using database in your app, make sure that your client receives the latest version of MDAC ( I believe the latest now is MDAC 2.6 SP1). Even if you installed the latest version of MDAC on your PC, PDW grabs it from Redist folder. Make sure that you copied there the latest version after installation on your computer.
Iouri Boutchkine
[email protected]
-
October 4th, 2001, 07:35 PM
#6
Re: Setup Problem
Yes, the .cab file too is shipped. I checked that the client downloaded it completely.
I have not yet solved the problem. If you have other ideas, please do share.
-
October 4th, 2001, 07:39 PM
#7
Re: Setup Problem
Something puzzles me, I downloaded the program from the site and it installs nicely on my system. Why it doesn't install on his, I am wondering.
-
October 4th, 2001, 07:40 PM
#8
Re: Moreover...
I'll have to find out what OS my user has. Are there any known OS issues regarding setups?
-
October 4th, 2001, 07:42 PM
#9
Re: Setup Problem
I'll check that too. But does that give a problem while setting up the program?
-
October 5th, 2001, 01:23 AM
#10
Re: Setup Problem
Do you have Visual Studio Installer? It comes with VS Enterprise Edition. This is way easier to use, gives a nicer setup, and is much more stable then the PDW, the only downside is that clients will need Windows Installer, cause it creates .msi files. This can be downloaded from the :M$ (oops, wrong forum) website.
If you can't solve the problem, why not avoid it (or try to)
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
-
October 5th, 2001, 01:45 AM
#11
Re: Moreover...
If you serach in your machine the "Setup1.vbp" and then open the prj and search for "declare", you will find a lot of Api calls. It is enough that one is not compatible...
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Michael
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
The Rater
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
-
October 5th, 2001, 01:59 AM
#12
Re: For example...
'(Components included in your project may have other restrictions. I do
'remember the impossibility to run a setup on a machine with win2000 having a
'cristal report included in project...)
'The following is used to tetermine if on Wnnt machine or not:
'(from Api guide)
'The GetVersionEx function obtains extended information about the version of
'the operating system that is currently running.
'This api "Requires Windows NT 3.5(1) or later; Requires Windows 95 or later"
'Thus, you must be sure your user is not running a previous Nt version...
'this is code from setup1.vbp
public Function IsWindowsNT() as Boolean
Const dwMaskNT = &H2&
IsWindowsNT = (GetWinPlatform() And dwMaskNT)
End Function
'----------------------------------------------------------
' FUNCTION: GetWinPlatform
' get the current windows platform.
' ---------------------------------------------------------
public Function GetWinPlatform() as Long
Dim osvi as OSVERSIONINFO
osvi.dwOSVersionInfoSize = len(osvi)
If GetVersionEx(osvi) = 0 then
Exit Function
End If
GetWinPlatform = osvi.dwPlatformId
End Function
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Michael
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
The Rater
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
-
October 5th, 2001, 04:01 AM
#13
Re: Setup Problem
<de-lurk>
Again, if anyone wants a much better installer than PDW (not difficult) or even MSI, I'd still recommend people take a look at innosetup - http://www.innosetup.com - fast, free, scripting language, well supported, works on all versions of windows, free add-in tools, no runtime dependancies etc.
</de-lurk>
Chris Eastwood
VBCodeLibrary - http://www.vbcodelibrary.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|