Skip to content

Instantly share code, notes, and snippets.

@RobsonAutomator
Last active January 14, 2018 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobsonAutomator/29e800592887d685a59c1feb0e72ff55 to your computer and use it in GitHub Desktop.
Save RobsonAutomator/29e800592887d685a59c1feb0e72ff55 to your computer and use it in GitHub Desktop.
Install Sitecore8 and prerequisites with Sitecore Install Framework and Sitecore Install Extensions
#requires -RunAsAdministrator
#requires -Version 5.1
#requires -module SitecoreInstallFramework
#requires -module SitecoreInstallExtensions
#SIF will install SitecoreInstallExtension; we haven't to import module explicit
Import-Module SitecoreInstallFramework
$folderRoot = "C:\Users\Administrator\Downloads"
# Configure all parameters without default values
# or all parameters you want to overwrite
$prerequisitesParams =@{
Path = "$folderRoot\Configs\sitecore-prerequisites.json"
LocalStorage = "$folderRoot"
}
Install-SitecoreConfiguration @prerequisitesParams -Verbose
# Configure all parameters without default values
# or all parameters you want to overwrite
$sitecoreParams =@{
Path = "$folderRoot\Configs\sitecore8-xp0.json"
SitecoreZip = "$folderRoot\Sitecore 8.2 rev. 171121.zip"
SitecoreZipFileName = "Sitecore 8.2 rev. 171121"
LicenseFile = "$folderRoot\license.xml"
SqlServerName = "WIN-2B1IQG4IF33"
}
Install-SitecoreConfiguration @sitecoreParams -Verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment