From 1da72fea373d9525b6a985054659615571babfa4 Mon Sep 17 00:00:00 2001 From: Marcus Goectau Date: Wed, 11 Dec 2024 15:09:28 -0800 Subject: [PATCH] Use wildcard for starting hosting bundle --- setup_enterprise.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup_enterprise.ps1 b/setup_enterprise.ps1 index 6f4580cf12..a18cd26528 100644 --- a/setup_enterprise.ps1 +++ b/setup_enterprise.ps1 @@ -26,8 +26,8 @@ Install-WindowsFeature -Name Web-Server -IncludeManagementTools # Install URL Rewrite module for IIS Start-Process rewrite_amd64_en-US.msi -Wait -# Install dotnet 6 hosting bundle -Start-Process dotnet-hosting-8.0.1-win.exe -Wait +# Install dotnet hosting bundle +Start-Process -FilePath (Resolve-Path -Path "dotnet-hosting-*") -Wait # Update enviornment path to ensure sqlcmd works after installing SQL server $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")