7

I am working on a Win 7-64 bit machine. I have a software installation package which contains the .msi file, a CAB file and some MST files. I wanted to modify the cabinet file. So I extracted the cab file using CABARC utility.

But before making any changes to the extracted files, just for testing the utility I removed the original cab file from the current directory. And created a new cab file from the files extracted from the original cab file, again using CABARC utility.

But now if I run the .msi file, it shows the error:

ERROR:1334. The file "XYZ" cannot be installed because the file cannot be found in the cabinet file Data1.cab. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.

But the file is present in the cabinet file I can see that. The same installer is working fine with the original cab file.

I have tried different compression types (MSZIP, LZX:<15...21>) as well, but none of them work. I have not removed/added any file in the cabinet file. Am I doing anything wrong or if there is any other information that a cabinet file stores ?

Thanks.

6
  • 2
    Did you ever find anything out? Commented Jul 14, 2014 at 13:41
  • Did you get the solution for the above problem? Me too facing the same issue. Commented Mar 3, 2015 at 15:55
  • @mallikgm Sorry, I couldn't find the reason for this behavior. Commented Jun 4, 2015 at 13:34
  • Same issue here. Generates msi with wix, then ICE validates OK, and validates with orca ok. If anybody knows anything please help Commented Dec 21, 2015 at 12:51
  • 1
    Still occurring in 2020. Commented May 20, 2020 at 11:34

1 Answer 1

0

This error when the setup path exceed the path limit for OS. Try changing output path for installer path to some shorter path.

Sign up to request clarification or add additional context in comments.

1 Comment

Even though the path is shorter, this problem is occurring. Do you know any other reason for this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.