Matlab Deployment -- delete additional setting files
3 ビュー (過去 30 日間)
古いコメントを表示
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!
0 件のコメント
回答 (1 件)
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.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!