[wix-users] How can I uninstall bundle from CMD WITHOUT original bundle.exe?

Shintaro Takechi devst119 at gmail.com
Wed Mar 3 14:10:36 PST 2021


I have seen other posts
https://stackoverflow.com/questions/15530012/is-there-a-way-to-uninstall-wix-bundle-from-cmd

and
https://stackoverflow.com/questions/18620361/removing-bundle-setup-wix-from-arp-using-cmd


Where Rob is answering by suggesting to use original bundle.exe with
-uninstall switch.

What if I do not have access to that exe?

I saw a 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 successfully uninstall the program, 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 to do this programmatically.
There has to be a way.
Any help would be appreciated.


More information about the wix-users mailing list