Matlab Deployment -- delete additional setting files

3 visualizzazioni (ultimi 30 giorni)
Rounak
Rounak il 29 Set 2016
Risposto: David Barry il 3 Ott 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!

Risposte (1)

David Barry
David Barry il 3 Ott 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.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by