Sitecore 9.1 安装 SitecoreInstallFramework

Sitecore 9.1 Installation SitecoreInstallFramework

我正在尝试在我的 PC 上安装 Sitecore 9.1 以进行开发。我遵循了 this 简短教程,并参考了 Sitecore 9.1 快速安装指南 Slor 似乎安装没有问题。执行 XP0-SingleDeveloper.ps1 脚本时出现以下错误,这是本教程的最后一步之一。这是这台机器上安装的第一个 Sitecore 实例。

错误似乎发生在 SitecoreInstallFramework.0.0\Private\JsonConfiguration.ps1 文件中。我多次使用 Install-Module SitecoreInstallFramework – Force & Update-Module SitecoreInstallFramework powershell 命令来确保我的 SitecoreInstallFramework 是最新的。关于如何解决这个问题的任何想法?谢谢

错误与 Identity Server 包有关,请检查磁盘上是否有 $SCInstallRoot 中的包。 对于内部部署的 9.1:

Sitecore.IdentityServer 2.0.0 rev. * (OnPrem)_identityserver.scwdp.zip

您需要解压缩 Sitecore 下载文件才能找到 WDP 和 JSON 文件,

在您的 PowerShell 脚本中检查以下行:

# The path to the Identity Server Package to Deploy.
$IdentityServerPackage = (Get-ChildItem "$SCInstallRoot\Sitecore.IdentityServer 2.0.0 rev. * (OnPrem)_identityserver.scwdp.zip").FullName

确保为 WDP 文件设置了根文件夹,例如 C:\ResourceFiles 或这个:

# The root folder with the license file and WDP files.
$SCInstallRoot = "C:\Sitecore0"

检查您的 WDP 文件在下载后是否被阻止,对于 "unblock" 文件,在 Windows 资源管理器中右键单击它,从上下文菜单中选择属性,单击下方的取消阻止按钮在出现的对话框的右上角,然后点击 OK 或 Apply