Thanks ! Sounds like I will use a DTF CA for that.



On Wed, Jan 28, 2009 at 3:21 PM, Yan Sklyarenko <y...@sitecore.net> wrote:

> If your product is the same family as those you're detecting, then you
> might take advantage of FindRelatedProducts action:
> http://msdn.microsoft.com/en-us/library/aa368600.aspx.
> This is supported in WiX toolset via UpgradeVersion element, which
> actually maps to the Upgrade MSI table, and FindRelatedProducts element,
> which is there for sequencing purpose, as far as I can see (never used
> it myself yet).
>
> If otherwise your product has nothing in common with those you'd like to
> detect, then it might require custom action. DTF contains a class
> ProductInstallation, which defines a method
> GetRelatedProducts(upgradeCode), it's probably what you need (if your
> installation is compatible with managed custom actions).
> That's just an assumption, there might be better techniques for this.
>
> Hope this helps.
>
> -- Yan
>
> -----Original Message-----
> From: Eitan Behar [mailto:ei...@baconao.net]
> Sent: Wednesday, January 28, 2009 10:14 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Detecting if a product is installed and setting
> property
>
> Hi,
>
> Is there a way to detect if a product family is installed according to
> its
> product code, and set a property accordingly? I need to stop the setup
> if
> certain products are not installed, and I only have their upgrade codes,
> not
> the product code.
>
> Thanks,
>
> Eitan
> ------------------------------------------------------------------------
> ------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to