フィルターのクリア

Matlab Compiled App installer displays unknown publisher

7 ビュー (過去 30 日間)
Eduardo Garcia
Eduardo Garcia 2023 年 1 月 3 日
コメント済み: Adarsh 2023 年 11 月 9 日
When I install my compiled custom app ("MyAppInstaller_mcr.exe") my computer security warning (UAC) shows that the publisher is unknown. How can I get the Matlab Application Compiler to also display a publisher in the application installer?

回答 (1 件)

HimeshNayak
HimeshNayak 2023 年 3 月 13 日
Hey Eduardo
I understand that you want to provide the “Publisher Name” to the EXE file you have created using MATLAB Application Compiler.
The Publisher Unknown message is a Microsoft default when UAC is set to a high level. If you do not wish to see the Publisher as unknown, we recommend that lowering the UAC level to medium or low. Although this does not affect the installation process, this is done by signing the application.
Currently, there is no way to sign the app at the time of creation, but here is a few work-around. Use Windows SignTool to sign the application.
% compile
mcc('-m','-R','-startmsg', ...
'-d', outfolder, ...
'-v',source,'-o',strrep(target, '.exe', '')); % compile. mcc wants the target name without the .exe
% sign
system([ 'signtool.exe sign /f MYCERT.pfx /p MYPASS /t http://timestamp.verisign.com/scripts/timstamp.dll /v ' outfolder '/' target ], '-echo');
To know more about the SignTool application, refer: https://learn.microsoft.com/en-us/windows/win32/seccrypto/signtool
Regards
HimeshNayak
  1 件のコメント
Adarsh
Adarsh 2023 年 11 月 9 日
Hi Himesh,
When I downloaded a file from open source and trying to open in MATLAB, it is not opening anything, not showing any error also. What shall I do?
Regards,
Adarsh

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeC Shared Library Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by