We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88c3cc2 commit 317ef6bCopy full SHA for 317ef6b
UnitySetup/UnitySetup.psm1
@@ -231,7 +231,7 @@ function Find-UnitySetupInstaller
231
else {
232
$knownBaseUrls = $knownBaseUrls | Sort-Object -Property @{ Expression={[math]::Abs(($_.CompareTo($linkComponents[0])))}; Ascending=$true}
233
}
234
-
+
235
$installerTemplates.Keys |
236
Where-Object { $Components -band $_ } |
237
ForEach-Object {
@@ -257,12 +257,17 @@ function Find-UnitySetupInstaller
257
258
259
260
- if( $result ) {
261
- $result
262
- break
263
- }
+ if( $result ) { break }
+ }
+ if( -not $result )
264
+ {
265
+ Write-Warning "Unable to find installer for the $_ component."
266
267
+ else { $result }
268
269
} | Sort-Object -Property ComponentType
270
271
272
273
<#
0 commit comments