Page 1 of 2

disk1.cab has an invalid digital signature

Posted: Thu Oct 27, 2016 5:04 am
by Emir.Fetahu
Hi guys,

i have problem when installting Powershell Studio 2016.


First I get this warning:
Warning 4154. SAPIEN Updates prerequisite was not correctly installed. Continue installation of PowerShell Studio 2016?

Than I get the following message and the installation rollback:
I have attempted to install SPS16Setup_5.2.129_101116_x64.exe, but keep getting the error "A file that is requested cannot be installed because the cabinet file C:\Users\...\install\disk1.cab has an invalid digital signature.
Than the installation rolls back.


As I can see in the logfile, the error appears on the following steps:
...............
MSI (c) (7C:94) [17:57:49:992]: Closing MSIHANDLE (2994) of type 790531 for thread 4244
MSI (c) (7C:94) [17:57:51:520]: Doing action: FatalError
Action 17:57:51: FatalError.
MSI (c) (7C:58) [17:57:51:520]: Creating MSIHANDLE (2995) of type 790531 for thread 12888
MSI (c) (7C:58) [17:57:51:520]: Closing MSIHANDLE (2995) of type 790531 for thread 12888
Action start 17:57:51: FatalError.
MSI (c) (7C:58) [17:57:51:520]: Creating MSIHANDLE (2996) of type 790531 for thread 12888
...............

Thank you for your support.

Re: disk1.cab has an invalid digital signature

Posted: Thu Oct 27, 2016 7:59 am
by davidc
This can happen when one of the root certificate providers or counter signature issuing providers is not trusted by the machine. Please very that your OS and root certificates are up to date.

Did you have another build previously installed?

Re: disk1.cab has an invalid digital signature

Posted: Thu Oct 27, 2016 12:21 pm
by Emir.Fetahu
hi davidc,

thanks for your reply. I had PS 2015 installed, but when installing PS2016 it have been removed.

I have added Symantec in the trusted root store. But the installation failed further.

Re: disk1.cab has an invalid digital signature

Posted: Thu Oct 27, 2016 2:18 pm
by davidc
Please run the installer using the following arguments:

SPS16Setup_5.2.129_101116.exe /qn /L*v .\SPS_Install.log

Then zip and attach the log to this topic or upload it here so that we can investigate further:

https://www.sapien.com/support/upload

Re: disk1.cab has an invalid digital signature

Posted: Fri Oct 28, 2016 4:01 am
by Emir.Fetahu
Hi davidc,

i've uploaded the logfile.

best regards

Re: disk1.cab has an invalid digital signature

Posted: Fri Oct 28, 2016 9:21 am
by davidc
The log is still showing a trust issue with the certificate.

1. Right click on the installer->Properties->Digital Signatures.
3. Select the certificate and press the Details button.
4. Press the View Certificate button in the General Tab of the Digital Signatures window.
5. To see if the certificate is trusted, go to the Certificate Path tab:
Trusted Certificate.png
Trusted Certificate.png (12.77 KiB) Viewed 11172 times
Alternatively, you can temporarily disable the signature check in:

Control Panel->Internet Options->Advanced tab->check "Allow software to run or install even if the signature is invalid" option.
Internet Options - Allow software.png
Internet Options - Allow software.png (25.79 KiB) Viewed 11172 times
For security reasons, you will want to disable the option after installing the software.

Re: disk1.cab has an invalid digital signature

Posted: Thu Nov 03, 2016 2:02 am
by Emir.Fetahu
Hi david,

thanks for your reply.

Firstly the certificate is shown as trusted.

Secondly I disabled the option in the IE, but the installation still fail.

Re: disk1.cab has an invalid digital signature

Posted: Thu Nov 03, 2016 2:04 pm
by davidc
It could be that is having an issue with a prerequisite installer's signature. Please run the installer and when you get the signature error, go to the cab file's location and the check the signature of the files.

Do you have another machine you can test the installer with?

Re: disk1.cab has an invalid digital signature

Posted: Mon Nov 07, 2016 6:00 am
by Emir.Fetahu
Hey david,

can I install the prerequisite software manuelly ?

I've tried to install it to antoher fresh installed Machine. But the same error appears.

Re: disk1.cab has an invalid digital signature

Posted: Mon Nov 07, 2016 12:42 pm
by davidc
Unfortunately, we don't provide downloads for the individual prerequisites.

The best way of locating the problem file is to check the signature of each individual file that is created during the installation. Check the folder of cab file when the installer reports the error.