bug: Windows installer does not delete application data
Jan version
0.6.2
Describe the Bug
Despite setting a checkbox for "Delete the application data" in the installer all of the settings and chat logs are kept.
After uninstall:
PS C:\temp> dir $env:appdata\jan
Directory: C:\Users\**username**\AppData\Roaming\Jan
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 26.06.2025 12:28 data
-a--- 26.06.2025 11:05 73 settings.json
PS C:\temp>
Probably this part of the NSIS template is incorrect.
Steps to Reproduce
- Install on Windows.
- Configure some models, chat
- Uninstall selecting "Delete the application data"
- Reinstall
- All settings and chats are kept
Screenshots / Logs
What is your OS?
- [ ] MacOS
- [x] Windows
- [ ] Linux
Or is it expected behavior?
Looking at documentation looks like it is: https://jan.ai/docs/desktop/windows#step-2-clean-up-remaining-files
hi @aa956 actually this is the expected behavior (not clean up the application data folder) we would like to maintain the consistency behavior across OSes. cc @Minh141120 here as iirc, we have a patch here but it doesn't get merged yet https://github.com/menloresearch/jan/tree/refs/heads/fix/uninstaller-app-data-windows
Thanks again for the report