FIX: Error Generating Cab Files Error Code 3ID: Q196236
|
If the Project Manager is open or if the source directory and the disk images directory are pointed to the same location, the following error message appears when the Setup Wizard is generating the cab files for distribution:
Error generating cap files: Error code 3
Try one of the following to resolve this problem:
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:
Q194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
Q194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
LOCAL ln_OpenMainPrg, la_Version[1]
*- Create a "Main.prg" programmatically.
IF FILE("Main.prg")
ln_OpenMainPrg = FOPEN("Main.prg", 12)
ELSE
ln_OpenMainPrg = FCREATE("Main.prg")
ENDIF
IF ln_OpenMainPrg < 0 && Check for error
WAIT WINDOW NOWAIT "Cannot open or create output file"
ELSE && If no error, write to file
=FWRITE(ln_OpenMainPrg, "? 'Hello, World!'")
ENDIF
=FCLOSE(ln_OpenMainPrg) && Close file
*- Create project and build the .exe programmatically.
CREATE PROJECT Test NOWAIT NOSHOW
MODIFY PROJECT Test NOWAIT
Application.ActiveProject.Files.Add("Main.prg")
BUILD EXE Test FROM Test
Additional query words:
Keywords : kbservicepack kbwizard kbAppSetup kbVFp600 kbVS600sp2 kbVS600SP1 kbVS600sp3fix
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 19, 1999