I am deploying a package which sets up an instance of SQL Server 2008 and an IIS virtual dir. It makes sense that a user might want to install multiple instances of this program on the same system.
I know that I can use GetPreviousData() in uninstall to get the last installed instance, and uninstall that one. However, it seems like the rest of the installations would just get lost.
For example, say a user specified instance names "Site1, Site2, Site3" and then uninstalled. Sites1 and Site2 would probably get orphaned, and Site3 would be correctly uninstalled.
Is there anyway to augment that? For example, can I ask the user what site to uninstall during uninstall, or am I going to have to make this a two-stage system?