Matlab Deployment -- delete additional setting files

3 Ansichten (letzte 30 Tage)
Rounak
Rounak am 29 Sep. 2016
Beantwortet: David Barry am 3 Okt. 2016
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!

Antworten (1)

David Barry
David Barry am 3 Okt. 2016
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.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by