Okay, I tried running the whole thing manually and ended up with the below error. Looks like the computer has Japanese localization and that may be causing the issue?
powershell.exe : C:\Windows\ccmcache\g\Deploy-Application.ps1 : Module [C:\Windows\ccmcache\g\AppDeployToolkit\AppDeployToolkitMain.ps1]
At line:1 char:1
+ powershell.exe -Command "& { & '.\Deploy-Application.ps1' -DeployMode ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (C:\Windows\ccmc...oolkitMain.ps1]:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
failed to load:
値 "System.Object[]" を型 "System.Xml.XmlDocument" に変換できません。エラー: "行 431、位置 4 にある開始タグ 'RestartPro
mpt_ButtonRestartNow' と終了タグ 'UI_Messages_JA' が対応していません。 行 432、位置 4。"
発生場所 C:\Windows\ccmcache\g\Deploy-Application.ps1:98 文字:81
+ ... yToolkitMain -DisableLogging } Else { . $moduleAppDeployToolkitMain }
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
発生場所 行:1 文字:5
+ & { & '.\Deploy-Application.ps1' -DeployMode 'Silent'; Exit }
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Deploy-Application.ps1
I don’t speak Japanese so no idea what it actually says.