If you were using native code, then you'd want MsiEnumRelatedProducts().  A 
Google search provides a 
bunch of links with info on how to call it from C#.  I don't know if you're 
using C# or VB, but a 
bit of searching around that function name should get you there.

Rob

On 04/07/2011 09:52, Alexander Krivács Schrøder wrote:
> Hey.
>
> According to the Windows Installer specifications, we change the Product Code 
> of our product with every release (We just use<Product Id="*" ... />) and we 
> keep the Upgrade Code the same. That way, when the individual MSIs are run, 
> if any previous versions exist, they are first uninstalled.
>
> At the moment, we're making a bootstrapper for our products, and in this 
> process, we're also making a custom managed GUI. It detects if a product is 
> already installed (its PackageState is reported as PackageState.Present) or 
> not installed (PackageState.Absent). However, if a product is installed, but 
> the bootstrapper contains a newer version of the product, it is reported as 
> PackageState.Absent, not PackageState.Superseded, like one would expect.
>
> Is there anything in particular we need to do in order to get this upgrade 
> detection mechanism to work?
>
> Best regards
>
> ALEXANDER K. SCHRØDER
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to