title: How to delete the old version of app programmatically
body: <p>I would like to delete the cache and all details of previous versions of an application programmatically when I am installing a new version of an application.  How do you do this?</p>