Can Matlab Compiler create a data folder during standalone installation?

2 views (last 30 days)
Sieghard
Sieghard on 3 Mar 2020
Edited: Sieghard on 3 Mar 2020
I have a very well working piece of software generated using Matlab Compiler. Since its output is business-sensitive, I included an expiring license file that needs to be periodically replaced. Currently this file is placed in the same folder as the exe file during installation (%Program Files%\My_Application), thus at every replacement cycle administrator privileges are required to replace the old file with the current one. Needless to say, the local IT administrators of the end users are getting annoyed.
Thus, I'd like to place the license files in a folder
'%My Documents%\My_Application\'
that can be easily accessed by all users without administrator privileges but should be automatically created during installation of the application.
Can I somehow get Matlab compiler to create a folder in the %My Documents% library and copy the license file there during installation, while still installing the main application into %Program Files%\My_Application, or is this beyond the capabilities of Matlab Compiler?
Thanks for your help in advance!

Answers (0)

Community Treasure Hunt

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

Start Hunting!