maurice-daly / DriverAutomationTool

Home of the Driver Automation Tool
https://www.msendpointmgr.com
BSD 2-Clause "Simplified" License
382 stars 114 forks source link

Update Tool Not working #398

Open ImaBadCoder opened 1 year ago

ImaBadCoder commented 1 year ago

I get the following error message when attempting to update the Driver Automation Tool using the About\Update tool feature.

/Snip You cannot call a method on a null-valued expression. At line:17143 char:5

Start-Process : This command cannot be run due to the error: The system cannot find the file specified. At line:4909 char:3

/end snip

I can see from ProcMon that it is attempting to execute Update-DriverAutomationTool.exe, but that is not found. I also verified that I am running 7.1.9 and it still says there is a newer version.

Alaknar commented 1 year ago

Can reproduce. Here's the error code snippet with a bit better formatting:

At line:4909 char:3
+         Start-Process -FilePath (Join-Path $(Get-ScriptDirectory) -Ch ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

Start-Process : This command cannot be run due to the error: The system cannot find the file specified.
mokerhamer commented 1 year ago

Hi,

Update Tool functionality has never worked for us to my knowledge (Same error). We update the tool with use of the publicated .exe files.

Version: 7.1.9 Build Date: 2022-09-21

Start-Process : This command cannot be run due to the error: The system cannot find the file specified. At line:4909 char:3