How to delete application data on install/reinstall application, so I can have a clean working environment on every reinstall ?
I mean how to detect that this application has been reinstalled so I can clean the whole persistent store.
Thanks.


Question: Is ZIP archive capable of storing permissions?
Answer: Yes,


Create you deployment.
Transfer it to another machine.
Deploy the application.
Compare the permissions on the reference machine with the lab machine.


Profit!