Instalação do aplicativo do Sharepoint no loop de inicialização

1

Estou tentando instalar o SharePoint 2016 no Windows Server 2016 e estou tendo problemas com o instalador de pré-requisitos, ou seja, o App Fabric.
O pré-requisito de desinstalação não deseja se conectar à Internet para baixar o arquivo, descartando:

Error: InternetOpenUrl failed (0X80072F07=-2147012857)

De acordo com os fóruns, isso deve-se a uma caixa que está sendo verificada para avisar sobre a mudança entre o modo seguro e não seguro , mas ele já estava desmarcado.
Em seguida, decidi instalar manualmente a coisa usando cmd e novamente, o instalador de pré-requisitos, então coloquei o exe na raiz da unidade C: e executei este comando:

prerequisiteinstaller.exe /appfabric:c:\WindowsServerAppFabricSetup_x64.exe

E parecia que estávamos fora. No entanto, ao extrair os arquivos, ele pede uma reinicialização, o que eu faço, e depois reinicia a operação inteira, novamente solicitando uma reinicialização no final. Esse processo continuará indefinidamente como descobri. Os logs de erro mostram o seguinte (ou uma parte dele):

2017-07-05 12:02:07 - Operating System: Windows 10
2017-07-05 12:02:07 - Processor architecture is (9)
2017-07-05 12:02:07 - Reading the following string value/name...
2017-07-05 12:02:07 - Common Startup
2017-07-05 12:02:07 - from the following registry location...
2017-07-05 12:02:07 - SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
2017-07-05 12:02:07 - The value is... 
2017-07-05 12:02:07 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
2017-07-05 12:02:07 - Trying to remove the startup task if there is any.
2017-07-05 12:02:07 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SharePointServerPreparationToolStartup_0FF1CE14-0000-0000-0000-000000000000.cmd
2017-07-05 12:02:07 - Successfully deleted the startup task
2017-07-05 12:02:07 - Analyzing the following command line argument:
2017-07-05 12:02:07 - /appfabric:C:\WindowsServerAppFabricSetup_x64.exe
2017-07-05 12:02:07 - Found the following command line option:
2017-07-05 12:02:07 - appfabric
2017-07-05 12:02:07 - Found the following custom file location:
2017-07-05 12:02:07 - C:\WindowsServerAppFabricSetup_x64.exe
2017-07-05 12:02:07 - Analyzing the following command line argument:
2017-07-05 12:02:07 - /continue
2017-07-05 12:02:07 - Continuing after restart
2017-07-05 12:02:07 - Details of the current operating system: 
2017-07-05 12:02:07 - Major version number of the operating system:  (10)
2017-07-05 12:02:07 - Minor version number of the operating system:  (0)
2017-07-05 12:02:07 - Build number of the operating system:  (0X3839=14393)
2017-07-05 12:02:07 - Major version number of the latest Service Pack:  (0)
2017-07-05 12:02:07 - Minor version number of the latest Service Pack:  (0)
2017-07-05 12:02:07 - Platform ID of the operating system:  (2)
2017-07-05 12:02:07 - Product suites available on the operating system:  (0X192=402)
2017-07-05 12:02:07 - Product type of the operating system: VER_NT_SERVER
2017-07-05 12:02:07 - Product type:  (8)
2017-07-05 12:02:07 - OS type:  (1)
2017-07-05 12:02:07 - Configuring the application's property sheet...
2017-07-05 12:02:07 - Check whether the following prerequisite is installed:
2017-07-05 12:02:07 - Windows Management Framework 3.0
2017-07-05 12:02:07 - Reading the following string value/name...
2017-07-05 12:02:07 - PowerShellVersion
2017-07-05 12:02:07 - from the following registry location...
2017-07-05 12:02:07 - SOFTWARE\Microsoft\PowerShell\PowerShellEngine
2017-07-05 12:02:07 - The value is... 
2017-07-05 12:02:07 - 5.1.14393.0
2017-07-05 12:02:07 - A higher version of the prerequisite above is already installed
2017-07-05 12:02:07 - Check whether the following prerequisite is installed:
2017-07-05 12:02:07 - Microsoft .NET Framework 4.6
2017-07-05 12:02:07 - Reading the following string value/name...
2017-07-05 12:02:07 - Version
2017-07-05 12:02:07 - from the following registry location...
2017-07-05 12:02:07 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
2017-07-05 12:02:07 - The value is... 
2017-07-05 12:02:07 - 4.6.01586
2017-07-05 12:02:07 - A higher version of the prerequisite above is already installed
2017-07-05 12:02:07 - Check whether the following prerequisite is installed:
2017-07-05 12:02:07 - Microsoft Sync Framework Runtime v1.0 SP1 (x64)
2017-07-05 12:02:07 - Reading version of the following file...
2017-07-05 12:02:08 - C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization.0.0.0__89845dcd8080cc91\Microsoft.Synchronization.dll
2017-07-05 12:02:08 - The version is...
2017-07-05 12:02:08 - 1.0.3010.0
2017-07-05 12:02:08 - The prerequisite above is already installed
2017-07-05 12:02:08 - Check whether the following prerequisite is installed:
2017-07-05 12:02:08 - Microsoft SQL Server 2012 Native Client
2017-07-05 12:02:08 - Reading the following string value/name...
2017-07-05 12:02:08 - Version
2017-07-05 12:02:08 - from the following registry location...
2017-07-05 12:02:08 - SOFTWARE\Microsoft\Microsoft SQL Server\SQLNCLI11\CurrentVersion
2017-07-05 12:02:08 - The value is... 
2017-07-05 12:02:08 - 11.3.6518.0
2017-07-05 12:02:08 - A higher version of the prerequisite above is already installed
2017-07-05 12:02:08 - Check whether the following prerequisite is installed:
2017-07-05 12:02:08 - Microsoft ODBC Driver 11 for SQL Server
2017-07-05 12:02:08 - Reading the following string value/name...
2017-07-05 12:02:08 - Version
2017-07-05 12:02:08 - from the following registry location...
2017-07-05 12:02:08 - SOFTWARE\Microsoft\Microsoft ODBC Driver 11 for SQL Server\CurrentVersion
2017-07-05 12:02:08 - The value is... 
2017-07-05 12:02:08 - 12.2.5543.11
2017-07-05 12:02:08 - A higher version of the prerequisite above is already installed
2017-07-05 12:02:08 - Check whether the following prerequisite is installed:
2017-07-05 12:02:08 - Windows Server AppFabric
2017-07-05 12:02:08 - Reading the following string value/name...
2017-07-05 12:02:08 - ProductVersion
2017-07-05 12:02:08 - from the following registry location...
2017-07-05 12:02:08 - SOFTWARE\Microsoft\AppFabric\V1.0
2017-07-05 12:02:08 - Check whether the following prerequisite is installed:
2017-07-05 12:02:08 - Microsoft Identity Extensions
2017-07-05 12:02:08 - Reading the following string value/name...
2017-07-05 12:02:08 - 
2017-07-05 12:02:08 - from the following registry location...
2017-07-05 12:02:08 - SOFTWARE\Microsoft\Microsoft Identity Extensions\Setup.0
2017-07-05 12:02:08 - The value is... 
2017-07-05 12:02:08 - 2.0.1459.0
2017-07-05 12:02:08 - A higher version of the prerequisite above is already installed
2017-07-05 12:02:08 - Check whether the following prerequisite is installed:
2017-07-05 12:02:08 - Microsoft Information Protection and Control Client 2.1
2017-07-05 12:02:08 - Reading the following string value/name...
2017-07-05 12:02:08 - 
2017-07-05 12:02:08 - from the following registry location...
2017-07-05 12:02:08 - SOFTWARE\Microsoft\MSIPC\CurrentVersion
2017-07-05 12:02:08 - The value is... 
2017-07-05 12:02:08 - 1.0.621.117
2017-07-05 12:02:08 - Check whether the following prerequisite is installed:
2017-07-05 12:02:08 - Microsoft WCF Data Services 5.6
2017-07-05 12:02:08 - Reading the following string value/name...
2017-07-05 12:02:08 - Version
2017-07-05 12:02:08 - from the following registry location...
2017-07-05 12:02:08 - SOFTWARE\Wow6432Node\Microsoft\Microsoft WCF Data Services.6
2017-07-05 12:02:08 - Check whether the following prerequisite is installed:
2017-07-05 12:02:08 - Cumulative Update Package 7 for Microsoft AppFabric 1.1 for Windows Server (KB3092423)
2017-07-05 12:02:08 - Reading the following DWORD value/name...
2017-07-05 12:02:08 - IsInstalled
2017-07-05 12:02:08 - from the following registry location...
2017-07-05 12:02:08 - SOFTWARE\Wow6432Node\Microsoft\Updates\AppFabric 1.1 for Windows Server\KB3092423
2017-07-05 12:02:08 - Check whether the following prerequisite is installed:
2017-07-05 12:02:08 - Visual C++ Redistributable Package for Visual Studio 2012
2017-07-05 12:02:08 - Reading the following string value/name...
2017-07-05 12:02:08 - Version
2017-07-05 12:02:08 - from the following registry location...
2017-07-05 12:02:08 - SOFTWARE\Wow6432Node\Microsoft\VisualStudio.0\VC\Runtimes\x64
2017-07-05 12:02:08 - Check whether the following prerequisite is installed:
2017-07-05 12:02:08 - Visual C++ Redistributable Package for Visual Studio 2015
2017-07-05 12:02:08 - Reading the following string value/name...
2017-07-05 12:02:08 - Version
2017-07-05 12:02:08 - from the following registry location...
2017-07-05 12:02:08 - SOFTWARE\Wow6432Node\Microsoft\VisualStudio.0\VC\Runtimes\x64
2017-07-05 12:02:08 - Beginning download/installation
2017-07-05 12:02:09 - Created thread for installer
2017-07-05 12:02:09 - Installing windows server roles and features.
2017-07-05 12:02:09 - Preparing to run the following commands:
2017-07-05 12:02:09 - Param(
[String]$logFile
)
Import-Module Servermanager
Start-Transcript -path $logFile
$operation = Add-WindowsFeature NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-Pipe-Activation45,NET-WCF-HTTP-Activation45,Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Asp-Net45,Web-Net-Ext,Web-Net-Ext45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Digest-Auth,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Xps-Viewer -verbose
 if ($operation.ExitCode -eq 'SuccessRestartRequired') {
 Stop-Transcript
$host.SetShouldExit(3010)
}
elseif (!$operation.Success){
 Stop-Transcript
$host.SetShouldExit(1000)
exit
}
2017-07-05 12:02:10 - Logs for these operations will be available at:
2017-07-05 12:02:10 - "C:\Users\mimadmin\AppData\Local\Temp\PreE4F.tmp.PS1.log"
2017-07-05 12:02:10 - Executing PowerShell command:
2017-07-05 12:02:10 - "C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass "C:\Users\mimadmin\AppData\Local\Temp\PreE4F.tmp.PS1 -logFile C:\Users\mimadmin\AppData\Local\Temp\PreE4F.tmp.PS1.log"
2017-07-05 12:02:11 - Request for install time of Web Server (IIS) Role
2017-07-05 12:02:12 - Request for install time of Web Server (IIS) Role
2017-07-05 12:02:12 - Install process returned (0)
2017-07-05 12:02:12 - [In HRESULT format] (0)
2017-07-05 12:02:12 - Installing Windows Server AppFabric.
2017-07-05 12:02:12 - Reading the following DWORD value/name...
2017-07-05 12:02:12 - DCC
2017-07-05 12:02:12 - from the following registry location...
2017-07-05 12:02:12 - SOFTWARE\Microsoft\AppFabric\V1.0\Features
2017-07-05 12:02:12 - Reading the following DWORD value/name...
2017-07-05 12:02:12 - DCS
2017-07-05 12:02:12 - from the following registry location...
2017-07-05 12:02:12 - SOFTWARE\Microsoft\AppFabric\V1.0\Features
2017-07-05 12:02:12 - Reading the following DWORD value/name...
2017-07-05 12:02:13 - DCA
2017-07-05 12:02:13 - from the following registry location...
2017-07-05 12:02:13 - SOFTWARE\Microsoft\AppFabric\V1.0\Features
2017-07-05 12:02:13 - configuring FTP/Windows Services for AppFabric
2017-07-05 12:02:13 - Warning : Call to OpenService(...,SERVICE_START | SERVICE_QUERY_STATUS | SERVICE_STOP | SERVICE_PAUSE_CONTINUE) function to get handle to the service failed (0X424=1060)
2017-07-05 12:02:13 - Warning : [In HRESULT format] (0X80070424=-2147023836)
2017-07-05 12:02:13 - FTP service is not installed.
2017-07-05 12:02:13 - The current status of the service is...
2017-07-05 12:02:13 - SERVICE_RUNNING
2017-07-05 12:02:13 - Windows update service is already running
2017-07-05 12:02:13 - Warning : Call to OpenService(...,SERVICE_START | SERVICE_QUERY_STATUS | SERVICE_STOP | SERVICE_PAUSE_CONTINUE) function to get handle to the service failed (0X424=1060)
2017-07-05 12:02:13 - Warning : [In HRESULT format] (0X80070424=-2147023836)
2017-07-05 12:02:13 - AppFabric caching service is not installed.
2017-07-05 12:02:13 - All services have been configured successfully for AppFabric.
2017-07-05 12:02:13 - Installing Windows Server AppFabric
2017-07-05 12:02:13 - "C:\WindowsServerAppFabricSetup_x64.exe" /i CacheClient,CachingService,CacheAdmin /gac
2017-07-05 12:02:54 - Install process returned (0X643=1603)
2017-07-05 12:02:54 - [In HRESULT format] (0X80070643=-2147023293)
2017-07-05 12:02:54 - All services have been configured successfully after AppFabric installation
2017-07-05 12:02:54 - Last return code (0X643=1603)
2017-07-05 12:02:54 - Reading the following DWORD value/name...
2017-07-05 12:02:54 - Flags
2017-07-05 12:02:54 - from the following registry location...
2017-07-05 12:02:54 - SOFTWARE\Microsoft\Updates\UpdateExeVolatile
2017-07-05 12:02:54 - Reading the following string value/name...
2017-07-05 12:02:54 - PendingFileRenameOperations
2017-07-05 12:02:55 - from the following registry location...
2017-07-05 12:02:55 - SYSTEM\CurrentControlSet\Control\Session Manager
2017-07-05 12:02:55 - Reading the following registry location...
2017-07-05 12:02:55 - SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
2017-07-05 12:02:55 - Error: The tool was unable to install Windows Server AppFabric.
2017-07-05 12:02:55 - Last return code (0X643=1603)
2017-07-05 12:02:55 - Options for further diagnostics: 1. Look up the return code value 2. Download the prerequisite manually and verify size downloaded by the prerequisite installer. 3. Install the prerequisite manually from the given location without any command line options.
2017-07-05 12:02:55 - Cannot retry
2017-07-05 12:02:55 - Check whether the following prerequisite is installed:
2017-07-05 12:02:55 - Windows Management Framework 3.0
2017-07-05 12:02:55 - Reading the following string value/name...
2017-07-05 12:02:55 - PowerShellVersion
2017-07-05 12:02:55 - from the following registry location...
2017-07-05 12:02:55 - SOFTWARE\Microsoft\PowerShell\PowerShellEngine
2017-07-05 12:02:55 - The value is... 
2017-07-05 12:02:55 - 5.1.14393.0
2017-07-05 12:02:55 - A higher version of the prerequisite above is already installed
2017-07-05 12:02:55 - Check whether the following prerequisite is installed:
2017-07-05 12:02:55 - Microsoft .NET Framework 4.6
2017-07-05 12:02:55 - Reading the following string value/name...
2017-07-05 12:02:55 - Version
2017-07-05 12:02:55 - from the following registry location...
2017-07-05 12:02:55 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
2017-07-05 12:02:55 - The value is... 
2017-07-05 12:02:55 - 4.6.01586
2017-07-05 12:02:55 - A higher version of the prerequisite above is already installed
2017-07-05 12:02:55 - Check whether the following prerequisite is installed:
2017-07-05 12:02:55 - Microsoft Sync Framework Runtime v1.0 SP1 (x64)
2017-07-05 12:02:55 - Reading version of the following file...
2017-07-05 12:02:55 - C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization.0.0.0__89845dcd8080cc91\Microsoft.Synchronization.dll
2017-07-05 12:02:55 - The version is...
2017-07-05 12:02:55 - 1.0.3010.0
2017-07-05 12:02:55 - The prerequisite above is already installed
2017-07-05 12:02:55 - Check whether the following prerequisite is installed:
2017-07-05 12:02:55 - Microsoft SQL Server 2012 Native Client
2017-07-05 12:02:55 - Reading the following string value/name...
2017-07-05 12:02:55 - Version
2017-07-05 12:02:55 - from the following registry location...
2017-07-05 12:02:55 - SOFTWARE\Microsoft\Microsoft SQL

Encontrei o comando executado após a reinicialização, que é o mesmo comando acima para instalar, mas com uma opção / continue depois. Então eu corri este comando também e continua a cadeia de reinicialização.
Alguma idéia de como eu posso instalar este software irritante?

    
por Shiffle McDoobles 05.07.2017 / 13:29

1 resposta

0

Depois de descobrir este link Eu alterei o PSModulePath em Variáveis de Ambiente para incluir:

%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

E milagrosamente instalado sem problemas.

    
por 05.07.2017 / 14:52

Tags