Announcements
No record found.
Hello,
I’m trying to create an automated install “package” (scripted install) for Microsoft Dynamics 365 Business Central On-Prem v27.3 using PowerShell, by running the BC installer with a configuration XML.
I generate the following XML in PowerShell and pass it to setup (WIX-based installer). The installer completes, but the Service Tier service instance is not created / not installed.
$xmlContent = @" <Configuration> <Component Id="ServiceTier" State="Local" ShowOptionNode="yes"/> <Component Id="WebClient" State="Local" ShowOptionNode="yes"/> <Component Id="Pagetest" State="Local" ShowOptionNode="yes"/> <Component Id="STOutlookIntegration" State="Local" ShowOptionNode="yes"/> <Component Id="SQLServerDatabase" State="Absent" ShowOptionNode="yes"/> <Component Id="SQLDemoDatabase" State="Absent" ShowOptionNode="yes"/> <Parameter Id="TargetPath" Value="[WIX_ProgramFilesFolder]\Microsoft Dynamics 365 Business Central\$($NewBCVersionNumber)"/> <Parameter Id="TargetPathX64" Value="[WIX_ProgramFilesX64Folder]\Microsoft Dynamics 365 Business Central\$($NewBCVersionNumber)"/> <Parameter Id="NavServiceServerName" Value="$($BCDatabaseServer)"/> <Parameter Id="NavServiceInstanceName" Value="$($NewBCServiceInstanceName)"/> <Parameter Id="NavServiceAccount" Value=""/> <Parameter Id="NavServiceAccountPassword" IsHidden="yes" Value=""/> <Parameter Id="NavServiceClientServicesPort" Value="7046"/> <Parameter Id="ManagementServicesPort" Value="7045"/> <Parameter Id="WebServiceServerPort" Value="7047"/> <Parameter Id="WebServiceServerEnabled" Value="true"/> <Parameter Id="DataServiceServerPort" Value="7048"/> <Parameter Id="DataServiceServerEnabled" Value="true"/> <Parameter Id="DeveloperServicesPort" Value="7049"/> <Parameter Id="NavFirewallOption" Value="true"/> <Parameter Id="CredentialTypeOption" Value="NavUserPassword"/> <Parameter Id="DnsIdentity" Value=""/> <Parameter Id="SQLServer" Value="$($BCDatabaseServer)"/> <Parameter Id="SQLInstanceName" Value=""/> <Parameter Id="SQLReplaceDb" Value="FAILINSTALLATION"/> <Parameter Id="SQLDatabaseName" Value="$($BCDatabaseName)"/> <Parameter Id="WebServerPort" Value="8080"/> <Parameter Id="WebClientRunDemo" Value="false"/> <Parameter Id="WebClientDependencyBehavior" Value="skip"/> <Parameter Id="PublicWebBaseUrl" Value=""/> </Configuration> "@
If anyone has a working config.xml / script for BC 27.x, I’d greatly appreciate it (sanitized is fine).
Thank you.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,892 Super User 2026 Season 1
YUN ZHU 927 Super User 2026 Season 1
Teagen Boll 566 Super User 2026 Season 1