Qt Installer Framework & Windows11: Online installer fails while download ...
-
Hi there,
I ran into a situation that a Qt Online Installer could not write to its default CACHE Directory while download.
I don't say it s a bug - I am looking if somebody has made the same experience and may has a solution.The situation and what I tried:
The host is a Windows11 Pro client in a Windows Domain. User rights are very tight ofcourse.
Hence I tested those to locations as cache:- Default cache Location is "/Users/<username>/AppData/local/cache/qt-installer ...
- I set it manually to C:/temp
In both cases the download fails because of missing user rights to write to the "final component directory".
This is the 3 level of inheritance of user rights. It seems like this is Windows default policy ...- Does somebody made the same experience and knows a solution?
- Is there a way to define a "flat structure" for the cache?
Using local administrator rights did worked, but than the installation target changes to the "Administrative User", which is not the one I want to install to. Why is this important: I want to install some basic application stuff and folders into "/Users/<username>/AppData/Roaming/MyStuff/MyApplication". This is also what MS recommends, what QT recommends and to which QStandardPaths:: AppDataLocation would point to.
-
I don't have Windows 11 so I can't be sure ... however, it looks like the
Roamingsubfolder is not a good idea, according to this page:
https://learn.microsoft.com/en-us/windows/apps/design/app-settings/store-and-retrieve-app-data#roaming-data