I have seen other posts
Is there a way to uninstall Wix bundle from CMD
Removing bundle setup (wix) from ARP using CMD
However, in both, the solution suggests to use original bundle.exe to uninstall.
With my requirement, this is not possible. Followings are why it is not possible.
I saw comment in the first posts that registry
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{xxx...xxx}\InstallSource
contains the directory in ProgramData, I checked that folder, but unfortunately, there was msi but no exe.
I also checked the UninstallString, but that was only having msiexec.exe /i{xxx...xxx}
I can successuflly uninstall the program with msiexec.exe /x {xxx...xxx}
, and registry entry is gone, but ARP entry still remains for bundle since I did not remove bundle.
When I use uninstall from Add / Remove Program using UI, I am able to uninstall this bundle. But I need way to do so without the UI.
There has to be a way.
Any help would be appreciated.