Unattended installation - log error and abort



1 comment

  • Avatar

    You could use the below code:

                 <text>You must install a version of .NET between ${dotNetRequired} and ${dotNetMax} before attempting to install ${project.shortName}</text>
            <platformTest type="windows"/>
            <isFalse value="${dotnet_autodetected}"/>

    Please also note I change the check used to determine if the installer is running in unattended mode so it also works when using --unattendedmodeui minimal or --unattendedmodeui minimalWithDialogs

Please sign in to leave a comment.