[wix-users] Modifying a util:RegistrySearch value before use in DetectCondition

Edwin Castro egcastr at gmail.com
Tue Apr 25 12:09:48 PDT 2017


Hmm... Maybe I can perform the DetectCondition evaluation myself in
OnDetectComplete and use the results of my evaluation in
InstallCondition to block the package install...

--
Edwin G. Castro


On Tue, Apr 25, 2017 at 11:56 AM, Edwin Castro <egcastr at gmail.com> wrote:
> I tried reading the value of the variable created by the
> util:RegistrySearch in both OnDetect() and OnDetectComplete(). The
> variable does not exist when OnDetect() is called. It does exist when
> OnDetectComplete() is called but the DetectCondition has already been
> evaluated at that time and all packages have been detected!
>
> On the surface it seems I can't process the results of
> util:RegistrySearch prior to the evaluation of DetectCondition. :-(
>
> --
> Edwin G. Castro
>
>
> On Tue, Apr 25, 2017 at 10:46 AM, Nir Bar <nir.bar at panel-sw.com> wrote:
>> v3.x also has OnDetect which is probably the one you need.
>>
>> Nir Bar
>> Panel::Software Architecture and Development
>>
>> ______________________________________________________________
>> JetBA.net- Native and WPF WiX BootstrapperApplication Frameworks
>>
>>
>>
>>
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list