1

TFS ビルド エージェントを構成するために、Azure VM (Windows Datacenter 2016) に ServiceFabric SDK をインストールしようとしています。しかし、インストールを起動すると、エラーが発生しました。VS を再インストールしようとしました (Community 2017 を使用しています) が、役に立ちませんでした。Microsoft インストーラーが提示したログ:

MSI (s) (98:F0) [11:03:39:170]: Doing action: INSTALL
MSI (s) (98:F0) [11:03:39:170]: Note: 1: 2205 2:  3: ActionText 
Action start 11:03:39: INSTALL.
MSI (s) (98:F0) [11:03:39:171]: Running ExecuteSequence
MSI (s) (98:F0) [11:03:39:171]: Doing action: FindRelatedProducts
MSI (s) (98:F0) [11:03:39:171]: Note: 1: 2205 2:  3: ActionText 
Action start 11:03:39: FindRelatedProducts.
MSI (s) (98:F0) [11:03:39:172]: Doing action: AppSearch
MSI (s) (98:F0) [11:03:39:172]: Note: 1: 2205 2:  3: ActionText 
Action ended 11:03:39: FindRelatedProducts. Return value 1.
Action start 11:03:39: AppSearch.
MSI (s) (98:F0) [11:03:39:173]: Note: 1: 2262 2: Signature 3: -2147287038 
MSI (s) (98:F0) [11:03:39:173]: Note: 1: 1402 2:     HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Service Fabric 3: 2 
MSI (s) (98:F0) [11:03:39:173]: Doing action: LaunchConditions
MSI (s) (98:F0) [11:03:39:173]: Note: 1: 2205 2:  3: ActionText 
Action ended 11:03:39: AppSearch. Return value 1.
Action start 11:03:39: LaunchConditions.
MSI (s) (98:F0) [11:03:39:173]: Note: 1: 2205 2:  3: Error 
MSI (s) (98:F0) [11:03:39:173]: Note: 1: 2228 2:  3: Error 4: SELECT     `Message` FROM `Error` WHERE `Error` = 1709 
MSI (s) (98:F0) [11:03:39:173]: Product: Microsoft Azure Service Fabric SDK     -- This product requires Service Fabric Runtime version 5.7.198.9494 to be     installed.

Action ended 11:03:39: LaunchConditions. Return value 3.
Action ended 11:03:39: INSTALL. Return value 3.
MSI (s) (98:F0) [11:03:39:175]: Note: 1: 1708 
MSI (s) (98:F0) [11:03:39:175]: Note: 1: 2205 2:  3: Error 
MSI (s) (98:F0) [11:03:39:175]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1708 
MSI (s) (98:F0) [11:03:39:175]: Note: 1: 2205 2:  3: Error 
MSI (s) (98:F0) [11:03:39:175]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
MSI (s) (98:F0) [11:03:39:175]: Product: Microsoft Azure Service Fabric SDK     -- Installation failed.

MSI (s) (98:F0) [11:03:39:175]: Windows Installer installed the product.     Product Name: Microsoft Azure Service Fabric SDK. Product Version: 2.7.198.9494. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.

MSI (s) (98:F0) [11:03:39:177]: Deferring clean up of packages/files, if any exist
MSI (s) (98:F0) [11:03:39:177]: MainEngineThread is returning 1603
MSI (s) (98:E0) [11:03:39:179]: RESTART MANAGER: Session closed.
MSI (s) (98:E0) [11:03:39:179]: No System Restore sequence number for this installation.
=== Logging stopped: 9/4/2017  11:03:39 ===
MSI (s) (98:E0) [11:03:39:180]: User policy value 'DisableRollback' is 0
MSI (s) (98:E0) [11:03:39:180]: Machine policy value 'DisableRollback' is 0
MSI (s) (98:E0) [11:03:39:180]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (98:E0) [11:03:39:182]: Note: 1: 1402 2:     HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (98:E0) [11:03:39:182]: Note: 1: 1402 2:     HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (98:E0) [11:03:39:182]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (7C:18) [11:03:39:183]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (7C:18) [11:03:39:184]: MainEngineThread is returning 1603
=== Verbose logging stopped: 9/4/2017  11:03:39 ===

誰が私が間違っているのか考えていますか? ありがとうございました。

UPD

これは、SF ランタイムをインストールしようとした後に取得したログです。

DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Visual C++ 2012 SP1 Redistributable Package (x64)'. Commandline is: 'C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\installers\VC11Redist_x64\ABE47E4996CF0409A794C1844F1FA8404032EDB2\vcredist_x64.exe /q /norestart'. Process Id: 2660
DownloadManager Information: 0 : Install exit code for product 'Microsoft Visual C++ 2012 SP1 Redistributable Package (x64)' is '0'
DownloadManager Information: 0 : Install return code for product 'Microsoft Visual C++ 2012 SP1 Redistributable Package (x64)' is Success
DownloadManager Information: 0 : Product Microsoft Visual C++ 2012 SP1 Redistributable Package (x64) done install completed
DownloadManager Information: 0 : Increasing current install to 2
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '41922560'
DownloadManager Information: 0 : Number of bytes after possible decompression: '41922560'
DownloadManager Information: 0 : Moving downloaded file 'C:\Users\kv-user\AppData\Local\Temp\3\tmp9897.tmp' to: C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsAzurePowershellGet\1F4FCC5E92035BE0907B4E83AC8661B13C0C2FA6\azure-powershell.4.3.1.msi
DownloadManager Information: 0 : Using cached file at C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceFabricRuntime_5_7\C3ACBAF5C375D7E8834907EB208BA5EA92C507DA\MicrosoftServiceFabric.5.7.198.9494.exe instead of downloading from https://download.microsoft.com/download/2/9/E/29E129A2-5C20-46A6-83EB-A4958097DC2E/MicrosoftServiceFabric.5.7.198.9494.exe
DownloadManager Information: 0 : Starting MSI install for msi 'C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsAzurePowershellGet\1F4FCC5E92035BE0907B4E83AC8661B13C0C2FA6\azure-powershell.4.3.1.msi', commandline: 'ACTION=INSTALL REBOOT=ReallySuppress'
DownloadManager Information: 0 : Using cached file at C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceFabricSDK_2_7\6ACC7553812DE4F9F48427A124789298BC44E8F4\MicrosoftServiceFabricSDK.2.7.198.msi instead of downloading from https://download.microsoft.com/download/2/9/E/29E129A2-5C20-46A6-83EB-A4958097DC2E/MicrosoftServiceFabricSDK.2.7.198.msi
DownloadManager Information: 0 : MSI install return value for product 'Microsoft Azure PowerShell' is '0'
DownloadManager Information: 0 : Install return code for product 'Microsoft Azure PowerShell' is Success
DownloadManager Information: 0 : Microsoft Azure PowerShell installation log: C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\logs\install\2017-09-04T12.25.32\azure-powershell.4.3.1.txt
DownloadManager Information: 0 : Product Microsoft Azure PowerShell done install completed
DownloadManager Information: 0 : Increasing current install to 3
DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 5.7.198'. Commandline is: 'C:\Windows\sysnative\cmd.exe /c wmic product where name="Microsoft Azure Service Fabric" call uninstall'. Process Id: 1256
DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 5.7.198' is '0'
DownloadManager Information: 0 : Ignoring exit code '0' for product 'Microsoft Azure Service Fabric Runtime - 5.7.198'
DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 5.7.198'. Commandline is: 'C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceFabricRuntime_5_7\C3ACBAF5C375D7E8834907EB208BA5EA92C507DA\MicrosoftServiceFabric.5.7.198.9494.exe /AcceptEULA'. Process Id: 1816
DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 5.7.198' is '1'
DownloadManager Error: 0 : Install return code for product 'Microsoft Azure Service Fabric Runtime - 5.7.198' is Failure
DownloadManager Information: 0 : Product Microsoft Azure Service Fabric Runtime - 5.7.198 done install completed
DownloadManager Information: 0 : Increasing current install to 4
DownloadManager Warning: 0 : Dependency failed for product 'Microsoft Azure Service Fabric SDK - 2.7.198'. Skipping install
DownloadManager Information: 0 : Product Microsoft Azure Service Fabric SDK - 2.7.198 had a dependency fail. Increasing install product to 5
DownloadManager Warning: 0 : Dependency failed for product 'Microsoft Azure Service Fabric SDK - 2.7.198'. Skipping install
DownloadManager Information: 0 : Product Microsoft Azure Service Fabric SDK - 2.7.198 had a dependency fail. Increasing install product to 6
DownloadManager Information: 0 : Product: VC11Redist_x64, Install Status: InstallCompleted-Success, Install Time: 00:00:01.2656949
DownloadManager Information: 0 : Product: WindowsAzurePowershellGet, Install Status: InstallCompleted-Success, Install Time: 00:00:52.7939372
DownloadManager Information: 0 : Product: ServiceFabricRuntime_5_7, Install Status: InstallCompleted-Failure, Install Time: 00:00:20.0043778
DownloadManager Information: 0 : Product: ServiceFabricSDK_2_7, Install Status: DependencyFailed-None, Install Time: 00:00:00
DownloadManager Information: 0 : Product: MicrosoftAzure-ServiceFabric-CoreSDK, Install Status: DependencyFailed-None, Install Time: 00:00:00

UPD2

それは私がログから得たものです.:

DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 5.7.198'. Commandline is: 'C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceFabricRuntime_5_7\C3ACBAF5C375D7E8834907EB208BA5EA92C507DA\MicrosoftServiceFabric.5.7.198.9494.exe /AcceptEULA'. Process Id: 3892
DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 5.7.198' is '1'
DownloadManager Error: 0 : Install return code for product 'Microsoft Azure Service Fabric Runtime - 5.7.198' is Failure

次に、PS(および内部のコマンド)を使用して手動で実行しようとしましたが、得られたものは次のとおりです。

ここに画像の説明を入力

未定義の CurrentUser があります。どうしてこうなった..?

UPD3

VM の完全な再デプロイはうまくいきました。残念ながら、問題はまだ推測です。

4

2 に答える 2