1
votes

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.

1

1 Answers

1
votes

Actually found the answer.

Since my application was 64 bit, my msi was 64 bit. So I assumed bundle was also 64 bit.

However, the bundle was still using 32 bit.

So by searching WOW6432Node instead, I found the exe path under BundleCachePath.

And because I have exe path, I was able to uninstall the bundle.