[wix-users] Wix Bundle and DetectCondition

Sean Hall r.sean.hall at gmail.com
Wed Apr 21 07:44:56 PDT 2021


Ah, great. So the confusion that Microsoft caused by renaming .NET Core to
.NET has begun.

.NET Core is not giving us an easy way to detect it, see:

https://github.com/wixtoolset/issues/issues/6257
https://github.com/wixtoolset/issues/issues/6264
https://stackoverflow.com/questions/67024261/how-to-install-a-net-core-application-with-net-core-runtime-prerequisite-from-w/67198122#67198122
https://github.com/wixtoolset/issues/discussions/6293

On Wed, Apr 21, 2021 at 2:22 AM Jacqueline MARECHAL via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Hello Jacob,
>
> I am talking about .Net Core, not .Net Framework, but it is quite possible
> that the link you sent will help me understand how to create a similar
> extension.
> But I need to study this in order to understand and eventually create my
> own extension.
>
> Thank you :)
> Jacqueline
>
> De : Hoover, Jacob <Jacob.Hoover at greenheck.com>
> Envoyé : mardi 20 avril 2021 20:38
> À : WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc : Jacqueline MARECHAL <j.marechal at arcinfo.com>
> Objet : RE: Wix Bundle and DetectCondition
>
>
> https://github.com/wixtoolset/wix3/blob/develop/src/ext/NetFxExtension/wixlib/NetFx48.wxs
>
> Are you talking about this?
>
> From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:
> wix-users-bounces at lists.wixtoolset.org>> On Behalf Of Jacqueline MARECHAL
> via wix-users
> Sent: Tuesday, April 20, 2021 1:26 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:
> wix-users at lists.wixtoolset.org>>
> Cc: Jacqueline MARECHAL <j.marechal at arcinfo.com<mailto:
> j.marechal at arcinfo.com>>
> Subject: Re: [wix-users] Wix Bundle and DetectCondition
>
>
> Ok, I understand.
> I will expressed it differently : how would you detect a version of .NET
> Desktop runtime.
> All ideas are welcome.
>
> Thank you
>
> De : Hoover, Jacob <Jacob.Hoover at greenheck.com<mailto:
> Jacob.Hoover at greenheck.com>>
> Envoyé : mardi 20 avril 2021 18:58
> À : WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:
> wix-users at lists.wixtoolset.org>>
> Cc : Jacqueline MARECHAL <j.marechal at arcinfo.com<mailto:
> j.marechal at arcinfo.com>>
> Objet : RE: Wix Bundle and DetectCondition
>
> Step 1, explain the problem. Starting off by thinking you need to write
> custom code is a bit strange, as many have traversed the path before you
> using the existing capabilities and were able to accomplish the task at
> hand.
>
> From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:
> wix-users-bounces at lists.wixtoolset.org<mailto:
> wix-users-bounces at lists.wixtoolset.org%
> 3cmailto:wix-users-bounces at lists.wixtoolset.org>>> On Behalf Of
> Jacqueline MARECHAL via wix-users
> Sent: Tuesday, April 20, 2021 11:16 AM
> To: wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org
> <mailto:wix-users at lists.wixtoolset.org%
> 3cmailto:wix-users at lists.wixtoolset.org>>
> Cc: Jacqueline MARECHAL <j.marechal at arcinfo.com<mailto:
> j.marechal at arcinfo.com<mailto:j.marechal at arcinfo.com%
> 3cmailto:j.marechal at arcinfo.com>>>
> Subject: [wix-users] Wix Bundle and DetectCondition
>
> Hello,
>
> I would like to build and evaluate complex DetectConditions.
> I thought of several possibilities:
>
>
> - Create an extension such util, to create additional functions like
> string parse, search on regular expressions and so on.
> But I don't understand how to do this. Is there a document or a tutorial
> about ?
>
>
> - Evaluate the condition directly in a custom bootstrapper.
> But it seems that it is not possible to get the DetectCondition attribute
> of an ExePackage. InstallCondition is available, but not DetectCondition :(
>
> Do you have any advice ? examples ? information ?
>
> Thank you.
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/<http://www.firegiant.com><
> http://www.firegiant.com>
> NOTE: This email was received from an external source. Please use caution
> when opening links or attachments in the message.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
> NOTE: This email was received from an external source. Please use caution
> when opening links or attachments in the message.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list