How to: UPDATE an already DEPLOYED software

조회 수: 4 (최근 30일)
vcmorini
vcmorini 2017년 1월 30일
댓글: John D'Errico 2017년 1월 31일
Fact: I already have an engineer software standalone, which I created using Application Compiler from Application Deployment APPS.
Fact: I have a new version of it, with a fixed bug.
Fact: This software is very heavy.
Doubt: How can I send ONLY the fixed part of my software to my customer? How can I update his version easily? Example: Many Antivirus softwares updates automatically through internet.
Many thanks!
  댓글 수: 2
Adam
Adam 2017년 1월 30일
편집: Adam 2017년 1월 30일
The executable gets unpacked to the following location (in an encrypted form) on my machine:
C:\Users\myUsername\AppData\Local\Temp\myUsername\mcrCache9.1
with the last part depending which version of Matlab it was built in - I have folders for various different mcrCache versions.
I would not recommend even trying to replace individual files in here though. Sending the new executable is far safer. I am not aware of any facility for patching a release from Matlab Compiler, but others may know more.
John D'Errico
John D'Errico 2017년 1월 31일
Please don't add answers every time you wish to make a comment. Use the comments for that.

댓글을 달려면 로그인하십시오.

채택된 답변

Jan
Jan 2017년 1월 30일
This is not trivial and as far as I know this is not supported by Matlab. During the compilation the files are encrytped and a later patching would required to decrypt them. This should not happen on the customer's computer.
So either ship the software in independent packages, such that only the modified functions can be updated, or ship the complete heavy software package for each update.
The virus scanners update their databases only. Updates of the engine work similar to the update mechanism of operating systems: Some libraries are replaced and the list of pointers to the libraries to be used is adjusted.
  댓글 수: 1
John D'Errico
John D'Errico 2017년 1월 31일
Moved to a comment from vcmorini:
"Thank you guys,
I am looking forward for a Matlab solution.
Best!"

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by