I have installed Sitecore 9.3 and it created the files in C:\inetpub\wwwroot.

I would like to change some of the default settings, like

  1. The webroot location to D: drive,
  2. The SiteRootName
  3. etc ...

but I'm not sure which config file to change.

Is it setup.exe.config or the XP0-SingleDeveloper.ps1?



enter image description here

  • Qwerty, you made changes after installation or you again did fresh installation after modifying set.up.exe.config. Commented Apr 30, 2020 at 15:12

3 Answers 3


If it is Sitecore only you are installing, you just need to change the setup.exe.config.

Open the setup.exe.config and add this parameter to the XPSingle template (if that is what you are installing):

<template name="XPSingle" path=".\XP0-SingleDeveloper.json">
  <parameter name="SitePhysicalRoot" value="[your-path]" />

That will make sure that Sitecore, xConnect and the IdentityServer are installed on "your path".

If you also want SXA and or Horizon to be installed in a custom root, you should read https://ggullentops.blogspot.com/2019/11/install-sitecore-93-non-default-path.html


The basic difference is Setup.exe is being used by Sitecore install assistant (GUI for easy Sitecore setup) whereas XP0-SingleDeveloper.ps1 is used by Sitecore Install Framework (Developer friendly method using PowerShell to install Sitecore).

You need to update the files according to your choice of installation method.


There is a variable called $SitePhysicalRoot in XP0-SingleDeveloper.ps1 you can change that to change the webroot. For the Sitename change $SitecoreSiteName

  • But setup.exe.config also has that option!!!?
    – sukesh
    Commented Feb 7, 2020 at 13:56
  • 3
    Use the options in setup.exe.config when running SIA
    – Gatogordo
    Commented Feb 7, 2020 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.