lord-carlos / nvidia-update

Checks for a new version of the Nvidia Driver, downloads and installs it.
MIT License
147 stars 30 forks source link

Get-Content : Cannot find path #22

Closed Manakanapa closed 5 years ago

Manakanapa commented 5 years ago

Getting a strange issue after a few months of use.

Update file downloads successfully to temp folder and then...

Get-Content : Cannot find path 'C:\Users\username\AppData\Local\Temp\NVIDIA\436.48.exe\setup.cfg' because it does not exist. At C:\Users\username\Documents\WindowsPowerShell\Modules\NvidiaUpdate\NvidiaUpdate.psm1:96 char:6

lord-carlos commented 5 years ago

Is there anything in C:\Users\username\AppData\Local\Temp\NVIDIA? Do you have the latest version of the script?

Manakanapa commented 5 years ago

I'll try updating and run it again.

It downloads the file successfully to ../temp/Nvidia/xxx.exe but then cannot open.

lord-carlos commented 5 years ago

Can you open it by "hand"?

Manakanapa commented 5 years ago

Yes, I had a rummage around in the exe. Everything looks fine...

lord-carlos commented 5 years ago

Not sure where to go from here :/ Maybe it's a permission issue? Tried deleting C:\Users\username\AppData\Local\Temp\NVIDIA ?

Manakanapa commented 5 years ago

Hi, Yes. Everything seems to be working now...

lord-carlos commented 5 years ago

Weird. 🤷‍♀️