[wix-users] Obtaining version for already installed 3rd party program
Nir Bar
nir.bar at panel-sw.com
Wed Mar 21 02:33:20 PDT 2018
If you have a WiX bootstrapper you can find the ClearSCADA version using util:ProductSearch.
For MSI-only, the approach seems good. Just make sure that FindRelatedProducts is scheduled before AppSearch and the ClearSCADA is a x64-only product. You may need to duplicate the RegistrySearch for x86 as well.
As for the dynamically created components-you can try one of these:
- Use XSLT to add a condition on all generated components.
- Create separate feature for each ClearSCADA version and condition the feature level with the detected version
You can nest ComponentGroupRef under a ComponentGroup but not under ComponentGroupRef
--
Nir Bar, Independent WiX Expert. Creator of-
JetBA: WiX WPF Bootstrapper User Interface Framework
JetBA++: WiX Native Bootstrapper User Interface Framework
More information about the wix-users
mailing list