Matlab Compiled App installer displays unknown publisher
조회 수: 9 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
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
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 Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!