PRB: WinExec Error 0002h When Running SetupWiz Setup ProgramID: Q149266
|
After the initial Copying Initialization Files dialog box is displayed by a
Setup Wizard-generated setup program, an error is raised stating:
Cannot start main setup program (winexec). Error code 0002H
The corresponding error message for error code 0002H from WinExec is "File
not found." This error can be raised any time that one or more of the files
that the Setup1.exe program requires to begin operation are missing. This
can occur if one or more files are removed during step 7 of the Setup
Wizard. In addition, if the Swdepend.ini file that is used by the Setup
Wizard to determine what files are needed is missing any entries, then the
distribution media may not contain all necessary files.
The Setup Wizard checks for the existence of the Swdepend.ini file when it
starts. If the file does not exist it will be created by the Setup Wizard
from template file \vb\setupkit\kitfiles\Sw16tmpl.ini for 16 bit and
\vb\setupkit\kitfil32\Sw32tmpl.ini for 32 bit. The 16-bit Setup Wizard adds
entries to Swdepend.ini based on Sw16tmpl.ini, and the 32-bit version does
likewise using Sw32tmpl.ini. If either of the template files have been
corrupted or were installed incorrectly during the installation of Visual
Basic 4.0, then the Swdepend.ini file may be missing important entries.
The approximate sizes for correctly installed template files are listed
here:
Edition of Visual Basic 4.0 SW16TMPL.INI SW32TMPL.INI
--------------------------- ------------ ------------
Standard NA 4.0K
Professional 2.7K 4.0K
Enterprise 3.5K 5.0K
Additional query words: kbVBp400 kbDSupport kbintluk kbdss kbdsstools kbWizard
Keywords : kbsetup
Version : WINDOWS:4.0;
Platform : WINDOWS winnt
Issue type : kbprb
Last Reviewed: June 4, 1999