[wix-users] Detect already installed product using custom BA

Roni Fuchs ronif at microsoft.com
Thu Sep 17 06:08:58 PDT 2015

Hi Farrukh,

I eventually used 
    if (e.State == PackageState.Present)

Thanks for your help!


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Farrukh Waheed
Sent: Thursday, September 17, 2015 15:33
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Detect already installed product using custom BA

I'm developing Managed Bootstrapper upon Burn to extend the capability and get more control over it.
I handle already installed Package and Bundle in following two events:
    if (e.Operation == RelatedOperation.Downgrade)
    if (e.Operation == RelatedOperation.MajorUpgrade || e.Operation ==

    if (e.State == PackageState.Present)

Hope this may give you some idea ....

On 17 September 2015 at 17:01, Roni Fuchs <ronif at microsoft.com> wrote:

> Hi everyone,
> After installing my product with and installer I made using Burn, 
> let's call it Installer1.exe, When I double click it again 
> Installer1.exe doesn't detect the bundle is already installed and 
> suggests to install it (again).
> When I build another installer without changing any code 
> (=Installer2.exe) it does detect the bundle is already installed.
> Why is this? How can this be solved?
> Thanks,
> Roni (Aron) Fuchs
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.fi
> regiant.com%2f&data=01%7c01%7cronif%40064d.mgd.microsoft.com%7cb7cece1
> 0daee49c6cea408d2bf5c3ed1%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata
> =k92g1a1poJFhVsplhTwq0x92a1nXkcABvBXVpm2Tdd4%3d

WiX Toolset Users Mailing List provided by FireGiant https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cronif%40064d.mgd.microsoft.com%7cb7cece10daee49c6cea408d2bf5c3ed1%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=k92g1a1poJFhVsplhTwq0x92a1nXkcABvBXVpm2Tdd4%3d

More information about the wix-users mailing list