Improvements to .NET framework detection for page

Answered

Comments

2 comments

  • Avatar
    juanjo

    Sorry, I may not be properly understanding the issue but you could simply call <autodetectDotNetFramework/> in the <initializationActionList> and attach the below rule to your page:

    <initializationActionList>
       <autodetectDotNetFramework ... abortOnError="0" showMessageOnError="0"/>
    </initializationActionList>
     ...
    <parameterGroup>
        <name>yourPage</name>
            ...
        <ruleList>
             <isFalse value="${dotnet_autodetected}"/>
        </ruleList>
    </parameterGroup>
    

    So it won't appear if it is found.

  • Avatar
    CV1

    Hi,

    I try to use the autodetectdotnetframework feature for .Net 4.5.1, but my code below is not working (.NET 4.5.1 is not detected wehen it is already installed.):

    <autodetectDotNetFramework>
    <abortOnError>0</abortOnError>
    <showMessageOnError>0</showMessageOnError>
    <validDotNetVersionList>
        <validDotNetVersion>
            <frameworkType>full</frameworkType>
            <maxVersion></maxVersion>
            <minVersion>4.5.1</minVersion>
        </validDotNetVersion>
    </validDotNetVersionList>
    
    </autodetectdotnetframework>

    I tried it with 4.5 instead of 4.5.1, but this is also not working.

    Is the feature not wokring with this new .Net Version, or do I something wrong?

    (This was with Bitrock Installbuilder 8.6 -> I will try 9.0 now...)

    Edit: Detection is working with Installbuilder 9.0 and 4.5 as minversion. 4.5.1 as minversion is not working. But for me, its ok so!

Please sign in to leave a comment.