Page 1 of 1

Add json file to newly created folder in AppData/Roaming

Posted: Sun Sep 17, 2023 6:02 pm
by Mayday67
Hi,

I have Python script that I compiled with nuitka and now want to set it up as installation package.

Script needs access to specific (fixed, non changable) json database file to run.

Is it possible to set that during installation new folder APPNAME is created (not only of the app in Program Files) in Users AppData Roaming APPNAME and json file is pasted in that folder?

Script is already targeting that file at that location, but can't figure out how to get it automatically for every user into that location.

Oh, and naturally, total noob here, just learning things.

I tried everything that when exe runs first time file is pasted in to appdata folder, but nothing is working, So now I am trying to see is it possible to add file to InstallForge and have it move the file to proper loation.

Thank you.

Re: Add json file to newly created folder in AppData/Roaming

Posted: Sun Sep 24, 2023 2:47 pm
by Mayday67
Is there any other place to ask this question please?