web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Installer (setup.exe) silently skips over WebClient component

(0) ShareShare
ReportReport
Posted on by 2

I'm installing Microsoft Dynamics 365 Business Central (Dynamics.365.BC.46853.CH.DVD.zip) via an automated process, which executes the setup.exe as part of a PowerShell script. In a nutshell, it does this:

$argList = '/Quiet', '/config config.xml', '/log my.log'
Start-Process 'setup.exe' -ArgumentList $argList -Wait -PassThru -NoNewWindow

I tested the installation many times as my own user on a test host and everything looks fine. The log file also contains proof that all components are installed:

SUCCESS: Package Microsoft Dynamics 365 Business Central Setup Components executed sucessfully.
SUCCESS: Package IIS prerequisites for Web Server Components executed sucessfully.
SUCCESS: Package Microsoft .NET Core Windows Server Hosting executed sucessfully.
SUCCESS: Package Microsoft Dynamics 365 Business Central Server Components executed sucessfully.
SUCCESS: Package Web Server Components executed sucessfully.

However, when the same script is executed with a technical service account, the installation silently skips over the WebClient component, although it is clearly enabled as Local in the config.xml:

<Component Id='WebClient' State='Local' ShowOptionNode='yes'/>

Everything in the installation works exactly the same with the technical user, the logs are all equivalent up to the point where the WebClient component should be installe. But the following expected lines never appear in the log:

Configuring package. Id = 'WebClient'
MSI log file set to: C://Users//<user>//AppData//Local//Temp//setup.wix.msi.3.log
Done configuring package. Id = 'WebClient' ReturnCode = 0
[...]
SUCCESS: Package Web Server Components executed sucessfully.

Is there anything that can cause the setup.exe to skip over the WebClient component?
Is there any privilege or configuration that our technical user might be missing?

I have the same question (0)
  • Suggested answer
    Gerardo Rentería García Profile Picture
    25,225 Most Valuable Professional on at
  • Community member Profile Picture
    2 on at
    Thanks for the quick reply, @gdrenteria.
     
    Unfortunately, there's no new info in the provided links. I seem to be doing everything exactly right, which is proven by the fact that my scripted/automated installation works perfectly well when I execute it as my own personal user.
     
    However, when I run the setup.exe with a technical user on our deployment platform (based on Ansible), the WebClient component is skipped. All other components are successfully installed. Only the WebClient part is ignored and doesn't get installed.
     
    So my questions are:
    • what happens during the WebClient component installation?
    • what's different about the WebClient component compared to the other ones (IIS prereqs, .NET, ServiceTier)?
    • are there any particular privileges needed (like starting up a service, interacting with IIS, anything odd that a regular user might be allowed to do but a technical service account might be missing)?
    Even if I directly execute the WebClient MSI via Ansible, nothing happens. No error, nothing gets logged...

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans