mkevenaar/chocolatey-packages

Speedfan uninstall AutoHotkey error, line does not contain a recognized action

Closed this issue · 1 comments

Expected Behavior

When uninstalling Speedfan, I see the following error related to the AutoHotkey script:

image

Current Behavior

An error message pops up.

Possible Solution

This is likely because AutoHotkey v1 was deprecated and v2 is the default now.

#NoEnv is specific to AutoHotkey v1 and was removed in v2. In AutoHotkey v2, environment variable dereferencing without explicit dereferencing is not an issue.

Steps to Reproduce (for bugs)

  1. Install Speedfan
  2. Uninstall Speedfan
    If no error message, make sure you have the current version of AutoHotkey then repeat

Context

Had to close out of error message.

Your Environment

  • Package Version used: 4.52.0.20200321
  • Operating System and version: Windows 11
  • Chocolatey version: 2.3.0
  • Install/uninstall gist: N/A

Nevermind, should be fine with the latest version of AutoHotkey.