mirror of
https://github.com/ankitects/anki.git
synced 2026-09-10 07:29:19 -04:00
## Linked issue
Closes #5359
## Summary
The Windows installer searches for an old elevated install location at
the `Software\WOW6432Node\Anki` registry key and looks for
`uninstall.exe` there to decide if installation should be blocked. If
the registry key is missing though, the file search was falling back to
looking for any file named uninstall.exe in the root of every drive,
which was never intended.
See template diff:
5c1ced97ff
## Steps to reproduce (before)
1. Create an empty file at `C:\uninstall.exe` or any drive.
2. Try to install
[26.08.1](https://github.com/ankitects/anki/releases/tag/26.08.1) and
confirm it fails with the message "A previous Anki version needs to be
uninstalled first".
## How to test (after)
1. Build the installer with this PR: `./tools/ninja installer:package`.
2. Run `./out/installer/dist/anki-26.08.1-win-x64.msi` and confirm
installation is not blocked.
aqt — Anki Qt GUI
aqt is the Qt-based desktop interface for Anki, the spaced repetition flashcard program.
It provides all the visual components of the Anki desktop app: the deck browser, card editor, reviewer, browser, add-on manager, and more. Under the hood it uses PyQt6 and communicates with Anki's core logic via the anki package.
Running
Once installed, Anki can be launched from the command line:
anki
Add-on development
If you are building an Anki add-on, this is the package that exposes the GUI hooks and Qt widgets you need. See the Add-on Guide for full documentation.