This PowerShell script automates the process of downloading and installing the KkthnxUI addon for World of Warcraft. KkthnxUI is a user interface (UI) replacement addon that enhances the default World of Warcraft UI. The script downloads the latest version of the addon from its GitHub repository, extracts the contents, and installs it into the user-selected addons folder for World of Warcraft.
- Defines the parameters for the download URL and the output file name.
- Loads the
System.Windows.Forms
assembly to use theFolderBrowserDialog
later. - Displays a welcome banner.
- Downloads the latest KkthnxUI version (master.zip) from GitHub.
- Extracts the contents of the downloaded zip file to a temporary folder.
- Prompts the user to select the World of Warcraft addons folder using a folder browser dialog.
- Copies the extracted KkthnxUI folder to the selected addons folder.
- Cleans up by deleting the downloaded zip file and temporary folders.
- Open a text editor and paste the provided PowerShell script.
- Save the file with a ".ps1" extension, for example, "KkthnxUI_Installer.ps1".
- Right-click the saved script file and click on "Run with PowerShell" to execute the script.
- Follow the prompts in the PowerShell window to complete the installation.
Note: You may need to allow script execution on your system if you haven't done so before. To do this, open PowerShell as an administrator and execute the following command:
Set-ExecutionPolicy RemoteSigned
This will allow you to run locally created scripts while still requiring a digital signature for scripts downloaded from the internet.
As an alternative to running the PowerShell script, we also provide the KkthnxUI Installer as an executable (EXE) file. This option simplifies the installation process and requires fewer steps.
- Download the "KkthnxUI_Installer.exe" file from the repository.
- Double-click the "KkthnxUI_Installer.exe" file to run the installer.
Note: You do not need to run the executable as an administrator unless you encounter issues during the installation process.
When running the executable, you may encounter a Windows SmartScreen warning, indicating that Windows is protecting your PC. This warning is displayed because the EXE file is not digitally signed. You can safely ignore this warning and proceed with the installation.
To bypass the warning:
- Click on "More info" in the warning dialog.
- Click the "Run anyway" button.
The KkthnxUI Installer will then proceed with the installation process.