If the 3rd party uses a consistent UpgradeCode and you're willing to write
code you could do an MsiEnumRelatedProducts() on the UpgradeCode to see if
any are installed.

Phil Wilson


On Sat, Aug 24, 2013 at 11:50 AM, Nicolás Alvarez <nicolas.alva...@gmail.com
> wrote:

> 2013/8/23 jo...@msli.com <jo...@msli.com>:
> > My bundle needs to perform a conditional install if a 3rd party program
> > if the version installed is none or less than a particular version.
> >
> > The problem is the 3rd party program stores the installed version number
> > in a dynamic guid section of HKLM, so I don't have a deterministic path
> > to the information.
> >
> > Has anyone developed a wild card search method for elusive targets like
> > this?
> >
> > The information on one system is in:
> >
> > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer
> > \UserData\S-1-5-18\Products\043899F85CE10A14BA724F736669840C
> > \InstallProperties
> > Contains: Key:DisplayVersion   Value:1.0.4
> >
> > HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion
> > \Uninstall\{8F998340-1EC5-41A0-AB27-F437669648C0}
> >   Contains: Key:DisplayVersion   Value:1.0.4
> >
> > What are my options?
>
> That registry key is internally used by Windows Installer, and that
> GUID is a Windows Installer product code. You should use
> <ProductSearch> instead of looking in the registry.
>
> If the third-party program uses major upgrades, ie. changes its
> product code on every version, I don't think you have any alternative
> than to list all the valid productcodes...
>
> --
> Nicolás
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to