MWI
Posts: 4
Joined: Mon Jul 18, 2022 1:35 pm

File missing in cabinet when installing msp

We're trying to create a second patch for our version (2.5.0 => 2.5.1 => 2.5.2) (patch 2.5.1 is working just fine)

Version 2.5.2 should be the diff to version 2.5.1, we only support upgrading from version 2.5.1 to 2.5.2

The patch is building successfully, however when installing the patch, we get an error message, that files are missing in the cabinet file.
We checked the cabinet files for every version of the msi, but the "missing" files are present in every cabinet file.

We searched the forum and found multiple threads with similar issues and tried the described solutions without success.
Here's what we tried:
- Adding new files to the project in hopes it would fix the sequence for the files that cause an error
- Deleting the "missing" files and re-adding them to the project
- Resetting the aip to the previous version (2.5.1) and starting from scratch
- Verifying that there is no duplicate sequence number in the patch with orca

After resetting the aip to the previous version, we also built a dummy patch, where we only changed the product version from 2.5.1 => 2.5.2, without adding anything else to the project (we kept the product code the same of course) and we still got the same error.

We also get a bunch of "Sequence Changed" warnings, we also got them with patch 2.5.1, where it doesn't seem to be an issue.
Furthermore, the files that are "missing" shouldn't even be in the diff, as there were no changes made to them with version 2.5.2.

How can we make our new patch work?

I will be sending the aip files and logs via email.

Please let me know if I can provide any more information!

Best regards

Mike
Attachments
error.jpg
error.jpg (23.89 KiB) Viewed 23759 times
Eusebiu
Posts: 4960
Joined: Wed Nov 14, 2012 2:04 pm

Re: File missing in cabinet when installing msp

Hi Mike,

Indeed, the build log shows that the sequence was changed for some files and this may be the source of the problem. Different problems may appear if any of the patch rules is broken.

Even if the 2.5.1 patch worked, you need to make sure no rule is broken and recreate both patches in order for them to work as expected.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MWI
Posts: 4
Joined: Mon Jul 18, 2022 1:35 pm

Re: File missing in cabinet when installing msp

Hi Eusebiu,

Thank you for the fast reply!

Just to make sure I understood you correctly:

To fix the problem, we have to start over with 2.5.0, re-add all changes made in the aip for version 2.5.1 (while making sure, none of the patch rules are broken), then build version and after that, do the same again for version 2.5.2 so we can successfully build the patch?

Please let me know if I understood correctly.

Best regards,
Mike
Eusebiu
Posts: 4960
Joined: Wed Nov 14, 2012 2:04 pm

Re: File missing in cabinet when installing msp

Hi Mike,

Yes, this is correct. For every patch you create, you need to make sure that no rule is broken in order to avoid unexpected problems.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”