Matlab Deployment -- delete additional setting files

3 ビュー (過去 30 日間)
Rounak
Rounak 2016 年 9 月 29 日
回答済み: David Barry 2016 年 10 月 3 日
Hi guys,
I have created a MATLAB application which I have deployed successfully. My program creates additional setting and log files which saves user preferences and logs. Since, the Program files does not permit me to write the files there(as I am not the admin). So, I am saving the settings and log files in C:/Users/Public/App/.
It's working pretty good.
But when my admin uninstall the App.exe from computer using uninstall wizard, he has to manually delete the setting files.
How can I make the MATLAB complier to generate the uninstall wizard to delete the user-defined settings files?
Thanks!

回答 (1 件)

David Barry
David Barry 2016 年 10 月 3 日
You can't. There is absolutely no way that the uninstall wizard can know what magic you have done inside your program and what files you have created or indeed where.
I would hope that if you informed your admin of the folder that needs to be emptied then they could write a simple batch script to do it which they could run as part of your uninstall process.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by