All of my front-end applications are now being developed using VS.NET 2002, coding in VB.NET. Rather than going through the endless hassle of setting up trusts on each of the PCs, I'm using a Setup Project to automatically deploy the latest versions of my apps onto the local machine, via a batch file that is called from the login script.

The problem that I have discovered is that, whilst this approach works a treat when it comes to deployment of new or updated applications, I haven't yet found a similar way to "undeploy" an application. Some of our clients only use us for short periods of time, after which the application becomes redundant.

Is there an option available that would enable me to build something that would check for the existence of a deployed project, and uninstall it using the local user's account?

TIA