I am currently creating a removal application that deletes the application folder. The problem is that I cannot uninstall the uninstall application located in the same folder as its launch. Is there a way to uninstall the application while running, so its just in memory.
string Installation = UninstallRegister.Read("InstallationLocation");
if (Directory.Exists(StartMenu))
{
Directory.Delete(StartMenu, true);
}
Regards
source
share