disk1.cab Problem - Advanced Installer Community
McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

disk1.cab Problem

AI Version : 12.1

Hello support,

one of our customer is having a problem installing one of our setups on an XP Embedded machine. He gets the following error:
Windows Embedded
Windows Embedded
Error.jpg (49.26 KiB) Viewed 11267 times
We actually don't give support on XP based systems anymore, but I would like to know why this error occur and if we can avoid it somehow. I guess it has something to do with the checking process of the signature and/or certificate?

Thanks in advance,
Keneth
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: disk1.cab Problem

Hello Keneth,

This problem is usually caused by the system of the user, not by the installation package.
There's a similar thread that debates this issue: Invalid Digital Signature

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Re: disk1.cab Problem

Hello Dan,

thanks for your answer. I was aware of the other post. Nevertheless, our installation doesn't have big cab-files, the whole installation exe has 40 MB in size and internally it is divided in two msi (32/64 bit). That is why I have assumed the cause must be another.

I did find another post where the same kind of error happened. As far as I understand, it was a problem inAI, that was corrected in the version 11.4: Installer fails with invalid signature. Could it be that my current issue has to do with that issue?

Regards,
Keneth
markphip
Posts: 20
Joined: Fri Apr 16, 2010 9:03 pm

Re: disk1.cab Problem

I am using 11.8 and I have this problem. I think it has to do with using a sha2 certificate. I suspect there is some hotfix needed since the installer works on Win2K8 and Win7. It fails on Win2K3.

I made a trivial example that shows the problem. This was just a new installer with a few files added to it. I then choose to package it as a single EXE and use a sha2 code signing certificate. The resulting installer fails to install on Win2K3 with the corrupt disk1.cab error. Same installer works fine on newer versions of Windows. I have the Microsoft hotfix applied that allows Win2K3 to validate sha2 certs. I suspect some other part of Windows needs a similar hotfix, I just cannot find the right one.

I emailed all this to support@ last week but did not get any reply.

Mark
Attachments
Your Application.aip
(22.9 KiB) Downloaded 554 times
installer-log.txt
(3 KiB) Downloaded 534 times
McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Re: disk1.cab Problem

Hello Mark,

I think you are right. We have tested on a (not up to date) XP computer. The failure appeared there. We have noticed that the root certificate used for checking our digital signature was not the latest version. In this case, the certificate chain was broken and the error (cab corrupted) was being shown.

This is, at least, was we could see in our labs. For this, we use the signtool.exe as follow in both, the working computer and the problem computer

Code: Select all

signtool.exe verify /v /pa Setup.exe > Result.txt
We spotted the problem when comparing the result files. After installing the lastest patches available for XP, the installation worked well.

Return to “Common Problems”