Do you need to install standalone applications?

8 次查看(过去 30 天)
I have made a standalone executable using appdesigner, and once packaged the parent folder contains 3 additional folders: 'for redistribution', 'for redistribution files-only', and 'for testing'. I have always used the installer in 'for redistribution', to install the app (I believe this then creates a folder in program files).
I was wondering if this is necessary? I think some of my colleagues that have used my code have just been using the version of the app within 'for redistribution files only' folder, and just draggin that to their desktop. As I understand it, this has worked fine for them. If this is the case, what do you achieve by installing it?
Also, there is another version of the app within the 'for testing' folder. How is this any different from just running the app without installing it as described in the previous paragraph?

采纳的回答

Eric Delgado
Eric Delgado 2023-3-3
You made two questions:
  1. I was wondering if this is necessary? No, it's not.
  2. I think some of my colleagues that have used my code have just been using the version of the app within 'for redistribution files only' folder, and just draggin that to their desktop. As I understand it, this has worked fine for them. If this is the case, what do you achieve by installing it? You have to be careful with the location of the app's folder - it's recommended to save it in a folder that the user has write/read privileges. Installing the app (using the "for redistribution" version) could allow the app to be used by all computer users. And you will suggest the default installation folder (in the compiler process). And, finally, the OS will have access to the version of your app (and it means nothing, right?)
I am working with Matlab standalone apps for 3.5 years. I used to provide just the installer ("for redistribution"), but now I provide just the folder "'for redistribution files-only". And since then my life is so much better! :)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by