This is the result of my struggle on Error 1334. I got this message in the log file. I am using Wise for Windows Installer 6 to create my package.

The file 'BASPath.ini' cannot be installed because the file cannot be found in cabinet file 'cab.5'. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.


This is the background
Create an .msi and include a file, you can call it BasPath.ini. This file is unic for every bransch. We have one Base product and about 9 bransches. The file BasPath.ini keeps importend information for each bransch.

Make a transform and replase the BasPath.ini to the version for the bransch. (Drop the file in the transform and add the new one.)

Install, and you will enconter MSI error 1334.

What does this error try to tell me
Then I make an transform, there are some interneal cabinets created in the tabel Cabs. This cabs are the same as the components in the .msi. Every cab will therefore have a key. This error try to tell me, that it can not found the key in the Cab 5. I.E. the key of the component there BasPath.ini is the key can not be found.

To solwe this I hade to add a dummy file to my .msi and set the key on the dummy, then everything worked without any problems. If there is, say three ini-files, which needs to be changed it can be done by changing one file, set the key to the new file and when change the other files.

Is there any one else who have enconterd this problem? Do anone know of a better way to solwe this problem?

Regards,
Paul Juhlin.
Hogia Administration AB
Sweden.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

There are no answers at this time
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

Answer this question or Comment on this question for clarity