I've created wix bootstrapper project. While installing it creates registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{SOME_GUID}
So I can uninstall it using ARP.But I'd like to uninstall it programmatically.To do this I need the value of {SOME_GUID} to search the key in registry for UninstallString value. However it's impossible to get this information from my project, because Bundle element does not have attributes to set this GUID.
I found out that this GUID is equal to Bundle's ProviderKey GUID, but only if ProviderKey is assigned automatically. When I try to change ProviderKey using bundle "ProviderKey" attribute this two GUIDs are not equal anymore.