[Sitecore XP 9.1]&[SXA 1.8]- Some notes while installing by Sitecore.HabitatHome.Utilities

We all know a new version of Sitecore which is Sitecore Experience Platform 9.1 – Initial Release has been released recently. Also the new version of SXA which is Sitecore Experience Accelerator 1.8.0.We can start installing both of them from the Installation Guide for Sitecore and Installation Guide for SXA; but why don’t we choose a better option which is Sitecore.HabitatHome.Utilities. Thanks Sitecore Demo team for the very quick update to be able to install Sitecore 9.1 and also SXA 1.8 very fast and efficient. 

Almost steps are the same as previous one (please checkout my post to see how the previous worked if you’re unfamiliar), but it has some changes and I am going to list out my notes while installing Sitecore 9.1 by Sitecore.HabitatHome.Utilities.

#1: Prerequisites

  • .NET Framework 4.7.1 or later
  • .NET Core Runtime 2.1.3 or later
  • .NET Core 2.1.3 Windows Hosting module
  • Microsoft SQL Server 2017, 2016 SP2
  • PowerShell 5.1
  • Url Rewrite 2.1
  • Java JRE 1.8 (or above)
  • 7zip

#2: PowerShell modules

Install-Module SqlServer -Repository PSGallery -AllowClobber

Unless, we’ll see the warning of cannot run the script Invoke-RemoveSqlDatabaseTask.ps1

Missing SqlServer module from PowerShell cause this warning

#3: IdentitiyServer’s Name

  • By default, it take IdentitServer.habitathome.dev.local as the name of its IdentityServer. Hence, it cause the issue when installing another instance (i.e. demohome.dev.local like I am)
  • Therefore, it need to be modify the set-installation-overrides.ps1 by adding the section of overriding IdentityServer’s configuration
# Site Settings
$site = $json.settings.site
$site.prefix = "demohome"
$site.suffix = "dev.local"

$identityServer = $json.settings.identityServer
$identityServer.name = "IdentityServer." + $site.hostname
$identityServer.url = ("https://{0}" -f $identityServer.name)

#4: Sitecore installation package and relevant modules

Although Sitecore.HabitatHome.Utilities is able to automatically download these packages but sometimes those packages are not downloaded successfully, then causes some unexpected errors. Therefore, it’s better to download them first.

#5: Solr

We have to install Solr 7.2.1 since it’s required by Sitecore 9.1. Fortunately, Sitecore.HabitatHome.Utilities is able to install Solr as well as install as a Window Service by nssm. Just simply access XP\install\Solr then execute the script



  • we can point out the installation directory by appending -installFolder D:\Solr parameter or leave it as is C:\Solr by default
  • The default port is 8721

#6: Installation Script

Now, we don’t use the install-xp0.ps1 anymore. The new one is


#7: “admin/b” still there 🙂

#8: Don’t forget to install SXA 1.8.0


The following modules will be installed accordingly

  • Sitecore PowerShell Extensions-5.0
  • Sitecore Experience Accelerator 1.8 rev. 181112 for 9.1

#9: It’s here – Sitecore 9.1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s