evilC / AutoHotInterception

An AutoHotkey wrapper for the Interception driver
MIT License
707 stars 64 forks source link

1-click installer script #69

Open arslancharyev31 opened 3 years ago

arslancharyev31 commented 3 years ago

Hello. First of all, I want to thank you for the AHI, it works well. However, I thought that the installation process could've been more streamlined. For this reason, I have made a script that automatically downloads, extracts, installs, and copies the latest versions of all the necessary packages. It cleans up after itself as well but leaves the AHI folder since it contains useful examples and tools (like Monitor.ahk). It also prompts to restart the computer at the end. It does not have any error checking routines, but it enforces the admin & version requirements to eliminate the most common issues. I'm posting it here in case someone might find it useful or convenient, under the CC0 license.

evilC commented 3 years ago

Hi, many thanks for contributing, I have some thoughts though

arslancharyev31 commented 3 years ago
  1. It does indeed install or upgrade the AHK installation. I can add a prompt for that.
  2. Maybe instead it would be better to write a companion uninstall script, which fetches the installer and uninstalls the Interception. This way users don't have to bother about where to save the installer so that in the future they might delete Interception. In addition, the uninstaller would delete AHI libs from My Documents, as there is no point in keeping them since they don't work without Interception.

Just to be clear, the primary goal of this script is to offer a very simple way to install the AHI. If users want more granular control, then manual installation should be recommended.