Matlab Deployment -- delete additional setting files

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일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2016년 9월 29일

답변:

2016년 10월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by