Installing Sitecore 9.0.1 – Part 3/3 – Installing Sitecore using SIF

I have shown you previously how to prepare VM for Sitecore 9.0.1 (Sitecore 9 Update 1) with all prerequisites in this post and also how to install and configure Solr to run on SSL in this post.

Today I will conclude this journey by:
– Installing Sitecore Install Framework (SIF) and Sitecore Fundamentals PS modules
– Installing Sitecore 9 using this new powerful SIF

Let’s get started!

1)
Install Sitecore Fundaments and Sitecore Install Framework (SIF)

1a)
Sitecore 9.0.1 or Sitecore 9 Update 1 version supports new version of SIF – Sitecore Installation Framework 1.1. This version needs Powershell 5.1.

Download packages from Sitecore dev site:
SIF1

1b)
Unzip downloaded packages and remove version number from the end of folder names as follows:
SitecoreFundamentals.1.1.0 rev.171208 -> SitecoreFundamentals
SitecoreInstallFramework 1.1.0 rev. 171208 -> SitecoreInstallFramework

1c)
Move folders under

C:\Program Files\WindowsPowerShell\Modules

Folder mentioned above should look like this at the end:
SIF2

1d)
Verify installation of modules by opening Powershell and running this command:

Get-Module SitecoreInstallFramework –ListAvailable

Desired output:
SIF3

2)
Preparing installation files for Sitecore 9.0.1 / Sitecore 9 Update 1

2a)
Copy your license.xml file into “C:\resourcefiles” folder.

2b)
Download installation package with name “Sitecore 9.0.1 rev. 171219 (WDP XP0 packages).zip” as we are installing Sitecore to single instance.

You can download it:
– directly from this link
– from Sitecore 9.0.1 download page by going to this page, navigating to “Download options for On Premises deployment” section and downloading “Packages for XP Single” file:
sitecoreinstallation1.PNG

2c)
Extract downloaded file “Sitecore 9.0.1 rev. 171219 (WDP XP0 packages).zip” to the “C:\resourcefiles” folder.

Extract to the very same folder freshly extracted “XP0 Configuration files 9.0.1 rev. 171219.zip” file:
sitecoreinstallation2

Remove these files from this folder as they are no longer needed:
– Sitecore 9.0.1 rev. 171219 (WDP XP0 packages).zip
– XP0 Configuration files 9.0.1 rev. 171219.zip

2d)
Download powershell scripts from my github repository and place them in “c:\resourcefiles”.

You should end up with similar file listing in “c:\resourcefiles” folder:
sitecoreinstallation3

3) Installing Sitecore 9.0.1 / Sitecore 9 Update 1

Open “c:\resourcefiles\01 Install.ps1” through Powershell ISE.

If you are following this series step by step with same variables, you just need to specify $prefix (sitecore instance name) and maybe sql admin username and password. Everything else should be the same.

Sitecore901

Run the script!

On my machine it took 6-7 minutes to finish all steps so take a short brake.

Voila 🙂

sitecoreinstallation6

Type admin / b and you’re in.

——————————————————
Used sources:

4 comments

  1. I am getting on module import Import-Module SitecoreInstallFramework error cold not load file or asembly Microsoft.Web.XmlTransform.dll

    Like

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