MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: SECREPAIR: Failed to open the file: <cab> for computing its hash. Error:2

Here is the error from the log
-
MSI (s) (30:6C) [13:12:31:274]: SECREPAIR: New Hash Database creation complete.
MSI (s) (30:6C) [13:12:31:305]: SECREPAIR: Failed to open the file:C:\Users\ithangavelu.DOMAIN1\AppData\Roaming\Cetrus\Cetrus Manager Service 4.0.171.0\install\PMServiceInstaller1.cab for computing its hash. Error:2
MSI (s) (30:6C) [13:12:31:305]: SECUREREPAIR: Failed to CreateContentHash of the file: PMServiceInstaller1.cab: for computing its hash. Error: 2
-
Entire log is attached in next post
Last edited by MLiss@Cetrus.com on Mon Feb 05, 2018 10:56 pm, edited 1 time in total.
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: SECREPAIR: Failed to open the file: <cab> for computing its hash. Error:2

Here is the install log:
MngrInstallLog.txt
(232.81 KiB) Downloaded 413 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: SECREPAIR: Failed to open the file: <cab> for computing its hash. Error:2

Our installer is too large... sending by email
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: SECREPAIR: Failed to open the file: <cab> for computing its hash. Error:2

I checked KB2918614 and our installer does not contain the same error
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: SECREPAIR: Failed to open the file: <cab> for computing its hash. Error:2

Hi Mike,

Looking over your log file I noticed that the actual cause of your problem is the "SqlQueryAction" custom action which fails. In your project I have seen that this custom action tries to execute a "CreateDatabase" script which is empty.

The "SECREPAIR: Failed to open the file" error could be written in the log file when installing the setup on Windows machines that have some certain updates installed. However, you can safely ignore those lines as they do not influence that installation of the product.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: SECREPAIR: Failed to open the file: <cab> for computing its hash. Error:2

You're welcome. Glad to help.

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

Return to “Building Installers”