[wix-users] Modifying a util:RegistrySearch value before use in DetectCondition
Edwin Castro
egcastr at gmail.com
Tue Apr 25 12:51:35 PDT 2017
Yes, that's a good idea. I'll check both approaches. Hopefully one of
those two will work flawlessly! ;-)
--
Edwin G. Castro
On Tue, Apr 25, 2017 at 12:14 PM, Nir Bar <nir.bar at panel-sw.com> wrote:
> Maybe you can search the registry and set the variable in OnDetect instead of RegistrySearch
>
> Sent from my ASUS
>
> -------- Original Message --------
> From:Edwin Castro <egcastr at gmail.com>
> Sent:Tue, 25 Apr 2017 21:56:11 +0300
> To:WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject:Re: [wix-users] Modifying a util:RegistrySearch value before use in DetectCondition
>
>>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/
>>
>>____________________________________________________________________
>>WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list