File tree Expand file tree Collapse file tree
src/Outsystems.SetupTools/Functions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -189,10 +189,9 @@ function Get-OSServerPreReqs
189189 if ($fullVersion -ge [version ]" 11.40.2.0" )
190190 {
191191 $requireDotNetHostingBundle6 = $false
192- $requireDotNetHostingBundle8 = $false
193- $requireDotNetHostingBundle10 = $true
192+ $requireDotNetHostingBundle8 = $true
193+ $requireDotNetHostingBundle10 = $false
194194 }
195-
196195 elseif ($fullVersion -ge [version ]" 11.27.0.0" )
197196 {
198197 # Here means that minor and patch version were specified and we are equal or above version 11.27.0.0
@@ -206,7 +205,7 @@ function Get-OSServerPreReqs
206205 # Here means that minor and patch version were not specified or we are below version 11.27.0.0
207206 $requireDotNetHostingBundle6 = $true
208207 $requireDotNetHostingBundle8 = $true
209- $requireDotNetHostingBundle10 = $true
208+ $requireDotNetHostingBundle10 = $false
210209 }
211210
212211 if ($fullVersion -lt [version ]" 11.35.0.0" )
Original file line number Diff line number Diff line change @@ -194,17 +194,17 @@ function Install-OSServerPreReqs
194194 # We install all version possible
195195 $installDotNetHostingBundle6 = $true
196196 $installDotNetHostingBundle8 = $true
197- $installDotNetHostingBundle10 = $true
197+ $installDotNetHostingBundle10 = $false
198198 # We do not set recent hosting bundle because we don't know the version we are to uninstall the others
199199 }
200200 elseif ($fullVersion -ge [version ]" 11.40.2.0" )
201201 {
202202 # Here means that minor and patch version were specified and we are equal or above version 11.27.0.0
203203 # We install .NET 8.0 only
204204 $installDotNetHostingBundle6 = $false
205- $installDotNetHostingBundle8 = $false
206- $installDotNetHostingBundle10 = $true
207- $mostRecentHostingBundleVersion = [version ]$script :OSDotNetHostingBundleReq [' 10 ' ][' Version' ]
205+ $installDotNetHostingBundle8 = $true
206+ $installDotNetHostingBundle10 = $false
207+ $mostRecentHostingBundleVersion = [version ]$script :OSDotNetHostingBundleReq [' 8 ' ][' Version' ]
208208 }
209209 elseif ($fullVersion -ge [version ]" 11.27.0.0" )
210210 {
You can’t perform that action at this time.
0 commit comments