필터 지우기
필터 지우기

Run Function on Deployed Application Install

조회 수: 3 (최근 30일)
Brian
Brian 2021년 11월 16일
편집: Divyanshu 2024년 2월 29일
Is there a way to have a function run immediately upon install of a compiled/deployed application? Essentially I want to change the start menu shortcut location from C:\ProgramData\Microsoft\Windows\Start Menu\Programs\<APPNAME> to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\<FOLDER>\<APPNAME>.
I have several applications that I distribute and I'd like them all to appear in the same folder in the Start Menu.
  댓글 수: 1
Divyanshu
Divyanshu 2024년 2월 29일
편집: Divyanshu 2024년 2월 29일
Hi Brian,
A possible way to trigger certain script or function on installation of an application is by writing a script to do the installation of application itself.
You can refer these steps->
  • Write a script which calls the executable of the program/application to install.
  • Next in the same script you can write the code to change the shortcut location or path.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by