Hi,
in my Project i create a file where i save a (encrypted) password. So the user doesnt need to enter it on the next run of the program.
As you can see I want to save the file in the directory of my application exe.Qt Code:
.arg(password.txt));To copy to clipboard, switch view to plain text mode
If I do a setup with InnoSetup and save the Programm in "C:\Program Files (x86)\MYAPP", the files I create in my app are located in
"C:\Users\MYUSERNAME\AppData\Local\Programs\MY APP" because my program has no permission to create them in the applicationDirPath.
I want to delete the files with uninstalling the program so it would be much easier for me to have them in the applicationDirPath.
I'm open-minded for different ideas
- Another way to save the password (maybe not in an extra file!?)
- Getting Permission to save the files in the actual applicationDirPath
- Track the files with InnoSetup and uninstall them
Thank your for Your attention,
mikrocat
Bookmarks