[wix-users] Uninstall application programmatically using GUID in C#

Abhishek Nene abhishek.nene at zycus.com
Thu Dec 3 05:49:53 PST 2020


No. Upgrade Code not helpful for uninstallation. Need Product code to uninstall. 

Anyway of getting the Product Code of installed application?


-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Kuch3n via wix-users
Sent: Thursday, December 3, 2020 5:55 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Kuch3n <kuch3n at protonmail.com>
Subject: Re: [wix-users] Uninstall application programmatically using GUID in C#

Hi,

maybe "UpgradeCode" is what you're searching for.

Regards


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, 3. December 2020 13:23, Abhishek Nene via wix-users <wix-users at lists.wixtoolset.org> wrote:

> Hi,
>
> I am trying to uninstall and install programmatically using C# in our VSTO add-in. Although, its msi we are creating using WIX Toolset.
>
> How to get GUID for setup project / GUID of application to uninstall application using msiexec.exe through powershell.
>
> Could not able to get exact GUID of application. (In Wix setup , Product Id = "*" does this need to be change or any other way to get exact Product Code of application which is installed in system to uninstall.)
>
> Please suggest.
>
> Regards,
> Abhishek Nene
>
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list