Borrar filtros
Borrar filtros

Matlab Compiled App installer displays unknown publisher

7 visualizaciones (últimos 30 días)
Eduardo Garcia
Eduardo Garcia el 3 de En. de 2023
Comentada: Adarsh el 9 de Nov. de 2023
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?

Respuestas (1)

HimeshNayak
HimeshNayak el 13 de Mzo. de 2023
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 comentario
Adarsh
Adarsh el 9 de Nov. de 2023
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

Iniciar sesión para comentar.

Categorías

Más información sobre C Shared Library Integration en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by