Run Function on Deployed Application Install

2 次查看(过去 30 天)
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