Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error generating CAB file(s)

Status
Not open for further replies.

hagartyman

Programmer
Dec 4, 2002
9
US
I continually arrive at this error while attempting to generate a setup.exe. I have attempted using the CLOSE ALL from the command window. I have service pack 5 installed for Visual Studio. I have also deleted the DISTRIB directory, all to no avail. Any help would be greatly appreciated as I have already spent over 30 hours on this problem.
 
What is the error/problem you are getting? "I love work. I can sit and stare at it for hours..."
 
HI

Have you closed the project file and attemped to build the executable ?

Try it !
:) ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
I've found most setup errors were due to one of the following:
1) Not following the Help file instructions for running the SETUP Wizard.
(e.g. Creating a separate directory that only includes those files you need to distribute - not use the development directory.)
2) Forget to close the project and/or all files and tables that might be open.
3) Long file names with embedded spaces.
4) Two or more files with the same file name, but exist in separate directories.
5) Not use the latest version of the Setup Wizard - it came out just before SP 3.

Rick
 
The exact error I am receiving is:

Error generating CAB files(s). Error code: 3
Unable to add file to CAB. Check to maker sure files exist and are not in use.

I have closed the Project Manager. I have also closed everything else using CLOSE ALL.
I have no long file names nor embeddes spaces.
I have no file names that are redundant in separate directories.
I am using Service Pack 5.
The build function works fine with no errors to build the appname.exe. The problem is with creating the setup package.

Many thanks for any help.

 
It's not something daft like you have run out of diskspace is it? "I love work. I can sit and stare at it for hours..."
 
While you carefully negated each of the possibilities, you "skipped" over number 1 in my list. Did you move a copy of the just files to be installed to separate directory rather than trying to do this in the development directory?

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top