Thanks, as always, Bob!

I put in the feature request 
(https://sourceforge.net/tracker/?func=detail&aid=2814132&group_id=105970&atid=642717).

Using the registry key SOFTWARE\Microsoft\Windows Installer XML\<version> is 
sufficient.

I guess anyone using a Product Id="*" really needs to plan a detection scheme. 
Recently someone on the list was asking if there were any best practices and 
this might be one. In fact, it might be a good thing to add to WiXCOP. :)

>-----Original Message-----
>From: Bob Arnson [mailto:b...@joyofsetup.com]
>Sent: Thursday, June 25, 2009 8:24 AM
>To: General discussion for Windows Installer XML toolset.
>Subject: Re: [WiX-users] Detecting if WiX 3.0 is installed
>
>John Robbins wrote:
>> WiX 3.0 uses a Product Id="*" to autogenerate a product ID. Say you
>wanted to build a tool that required WiX 3.0. How would your installer
>correctly determine that any build of WiX 3.0 was installed?
>>
>
>There are two aspects:
>
>   1. The source says you can use a registry path or the upgrade code,
>      which have been stable for months and are unlikely to change.
>   2. Unless you have an SLA that says they're supported for detection,
>      you don't have a contract and it could change, either accidentally
>      because we didn't know or intentionally when we're feeling
>      malicious and evil.
>
>I'd suggest opening a feature request so at least we know someone wants
>a particular detection mechanism.
>
>--
>sig://boB
>http://joyofsetup.com/
>
>------------------------------------------------------------------------
>------
>_______________________________________________
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to