Hi everyone,
We customized the toolkit to be used for Lenovo BIOS updates. Our solution was created with PSADT version 3.8.4.
Since the devices were updated to Win 10 22H2 (or so it seems), the script started failing with the follwing error
[03-16-2023 11:54:25.239] [Installation] [Execute-Process] :: File [C:\Temp\Carbon10Yoga7_N3AET69W_1.34\Files\WINUPTP64.EXE] not found.
[03-16-2023 11:54:25.273] [Installation] [Execute-Process] :: Function failed, setting exit code to [60002].
Error Record:
-------------
Message : File [C:\Temp\Carbon10Yoga7_N3AET69W_1.34\Files\WINUPTP64.EXE] not found.
InnerException :
FullyQualifiedErrorId : File [C:\Temp\Carbon10Yoga7_N3AET69W_1.34\Files\WINUPTP64.EXE] not found.
ScriptStackTrace : at Execute-Process<Process>, C:\Temp\Carbon10Yoga7_N3AET69W_1.34\AppDeployToolkit\AppDeployToolkitMain.ps1: line 4201
at <ScriptBlock>, C:\Temp\Carbon10Yoga7_N3AET69W_1.34\Deploy-Application.ps1: line 210
PositionMessage : At C:\Temp\Carbon10Yoga7_N3AET69W_1.34\AppDeployToolkit\AppDeployToolkitMain.ps1:4201 char:25
+ Throw "File [$Path] not found."
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[03-16-2023 11:54:25.294] [Installation] [Deploy Application] :: Error Record:
-------------
Message : Function failed, setting exit code to [60002]. File [C:\Temp\Carbon10Yoga7_N3AET69W_1.34\Files\WINUPTP64.EXE] not found.
InnerException :
FullyQualifiedErrorId : Function failed, setting exit code to [60002]. File [C:\Temp\Carbon10Yoga7_N3AET69W_1.34\Files\WINUPTP64.EXE] not found.
ScriptStackTrace : at Execute-Process<Process>, C:\Temp\Carbon10Yoga7_N3AET69W_1.34\AppDeployToolkit\AppDeployToolkitMain.ps1: line 4505
at <ScriptBlock>, C:\Temp\Carbon10Yoga7_N3AET69W_1.34\Deploy-Application.ps1: line 210
PositionMessage : At C:\Temp\Carbon10Yoga7_N3AET69W_1.34\AppDeployToolkit\AppDeployToolkitMain.ps1:4505 char:21
+ ... Throw "Function failed, setting exit code to [$returnCode ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have read past posts that reported the same error, but the possible resolutions do not apply to our case (i.e there is no AV blocking the executable file).
I also realized that a newer version of the ToolKit 3.9.2 is available. So, I have re-packaged the solution with the latest version.
But the issue persists.
Any idea maybe on what to be looking for, please?
Thanks
[First post here. If I am missing anything please let me know]