d2rmm icon indicating copy to clipboard operation
d2rmm copied to clipboard

Auto-update not working (follow-up to issue #24)

Open Caedendi opened this issue 4 months ago • 2 comments

I've finally gotten around to checking out the updater error:

  • the logs don't help, there's nothing after "Applying update"
  • the error is related to permissions to run the "update.ps1" script
    • it doesn't work from D2RMM itself
    • if I go to %LOCALAPPDATA%\Temp\D2RMM\Update\ and run it manually, then it just works

The error message is a bit hard to read but I'm 90% certain this is what it says:

File C:\Users\Caedendi\AppData\Local\Temp\D2RMM\Updater\update.ps1 cannot be loaded because running scripts is
disabled on this system. For more information, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170
    + CategoryInfo          : SecurityError. (t) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnauthorizedAccess

The link is an alias for this.

Any chance you could find a fix for this that would not involve us users having to change Windows settings manually?


Files: screenshot d2rmm.log

Caedendi avatar Nov 01 '24 18:11 Caedendi