- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Matlab Runtime R2021b Prerequisites failed to sign
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Matlab Runtime R2021b Prerequisites failed to sign
Hi,
I have attached the error log for your reference.
My Matlab runtime can be downloaded from the following link:
In the log it mentioned failed to sign the setup.exe installer and it is due to the Matlab runtime R2021b prerequisite. Please help and thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Exia3298
The Error 0x80070057- translates to "The parameter is incorrect."
Make sure you pass correct parameter for your certificate file,
EX: certificate password and certificate path
then try to build the project and verify it works or not.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi,
I don't think the parameter of the certificate file caused this because the same certificate was able to sign for other prerequisites. I just got this sign error after adding the Matlab Runtime 2021b prerequisite only. Please advice.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
The new Matlab 2021b is a zip file. will it cause a problem?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Exia3298
As per windows error look up, its invalid parameter, You can refer similar community post.
Is matlab is added a prq or zip file added directly to your project file. Please share us the prq file you have created for matlab.
Are you able to sign this zip file outside of installshield, please verify
https://learn.microsoft.com/en-us/dotnet/framework/tools/signtool-exe
I can see the matlab zip file of nearly 3.6GB, are you adding this file as a prq file? (Make sure your machine enough free space available approximately 10GB, if you are shipping matlab as part your setup.exe)
You can also verify, creating a sample test project and add your matlab prq and add signing details and build your project and verify.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Let me post my prq content as it is not allow me to upload the prq file over here.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SetupPrereq>
<files>
<file LocalFile=".\MATLAB_Runtime_R2021b_Update_2_win64\InstallMCR.bat" CheckSum="54ABAECBEDC8E7F27E3BE67F29A49F76" FileSize="0,911"/>
<file LocalFile=".\MATLAB_Runtime_R2021b_Update_2_win64\MATLAB_Runtime_R2021b_Update_2_win64.zip" CheckSum="B7FD56599572080E156B9E12B328D994" FileSize="0,3891672396"/>
</files>
<execute file="InstallMCR.bat"/>
<properties Id="{F5E5A0CF-F737-42C9-AC0C-DFB9BE40FF6B}" AltPrqURL="https://ssd.mathworks.com/supportfiles/downloads/R2021b/Release/4/deployment_files/installer/complete/win64/MATLAB_Runtime_R2021b_Update_4_win64.zip"/>
</SetupPrereq>
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Exia3298 : if the Microsoft signtool itself failing to sign the zip file, i think installshield as well wont sign the zip file
Are you adding this zip file in your ism file and did you selected the option sign files in packages to YES.
Could you please share your project file (.ise)? because i dont add the zip file to project ise file, only prq with zip file we are able to build without any issues.
You can also verify, by creating a test project with a sample prq with zip package added (not matlab) and then build your sample and test signing.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi,
I don't add zip files to the project ise but like you only prq with the zip file. In addition, only the Matlab Runtime zip file has issues only. My other prq or older Matlab runtime version than 2021 is working fine.