sldrtkernel -install fails on Windows 7 Home Premium (r2016b)

1 次查看(过去 30 天)
With r2016b when I try to install the Simulink Desktop real-Time Kernel on Windows 7 Home Premium I get the following error. This seems to imply that the driver cannot be installed as it is not signed. I have installed the driver successfully on Windows 7 Professional so is there something different about Home Premium? The only way I can get the driver to install is to temporarily allow loading unsigned drivers using the Windows boot menu but this has to be done manually on every boot-up.
sldrtkernel -setup
You are going to install the Simulink Desktop Real-Time kernel.
Do you want to proceed? [y] : y
Error using sldrtkernel>ErrorDialog (line 422)
Installer error: "Failed to start Simulink Desktop Real-Time kernel service.
Windows cannot verify the digital signature for this file. A recent hardware or
software change might have installed a file that is signed incorrectly or damaged, or
that might be malicious software from an unknown source.".
Error in sldrtkernel>RunInstaller (line 337)
ErrorDialog(prompt, message('sldrt:installer:installererror', errmsg));
Error in sldrtkernel>sldrtk_setup (line 123)
result = RunInstaller(prompt, 'install');
Error in sldrtkernel (line 63)
retval = sldrtk_setup(prompt);

回答(2 个)

Jan Houska
Jan Houska 2016-10-10
The issue is not with Windows 7 Home and Professional, but with Windows 7 with all the updates installed and with some updates missing. The problem is caused by the fact that in R2016b, the Simulink Desktop Real-Time kernel binary is signed with a new certificate required by Windows 10 for software released after some specific date. For this new cerificate to be recognized by Windows 7, a Microsoft update KB3033929 must be installed on the system.
Apparently, you have the KB3033929 update installed on the Professional version but do not have it installed on the Home Premium version. Installing it on the Home Premium version (or enabling automatic updates, which will install it as well) should solve the problem.

Walter Roberson
Walter Roberson 2016-10-5

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by