Writing files when application installed with installer
Writing files when application installed with installer
I made an installer for my application and then installed it for all users. Apparently this means the application cannot write to the hard disk because the application only has read access to the folder it was installed in. How do I set this up so the application can write to the folder? Windows 11 Home
Re: Writing files when application installed with installer
I think you can disregard this. The settings are configured in the installer software.
Re: Writing files when application installed with installer
It is normal that you should no longer write to the programme folder.
The authorisations are restricted here under Windows.
There are extra folders for this task.
You must then create a unique folder for your application under this folder.
I have an example of this here ...
Link:. https://www.purebasic.fr/english/viewtopic.php?t=74233
The authorisations are restricted here under Windows.
There are extra folders for this task.
You must then create a unique folder for your application under this folder.
Code: Select all
Debug "Common Files: " + GetUserDirectory(#PB_Directory_AllUserData)
Debug "User Files: " + GetUserDirectory(#PB_Directory_ProgramData)
Link:. https://www.purebasic.fr/english/viewtopic.php?t=74233
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive