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

Shintaro Takechi devst119 at gmail.com
Wed Mar 3 14:38:55 PST 2021


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.

On Wed, Mar 3, 2021 at 2:10 PM Shintaro Takechi <devst119 at gmail.com> wrote:

> 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