python - Is it ok to suggest the user home directory as default installation folder? -



python - Is it ok to suggest the user home directory as default installation folder? -

i making installer py2exe packaged app. py2exe catches strerr , set in log file created in same folder executable. so, installing app "program files" cause problem because app not have right create file in there.

i not want edit manifest inquire uac app either. so, thinking configure installer utilize user home directory default installation folder.

but user home meant documents , photos , such.

(edit) want maintain executable, because want users locate log file , send me debugging.

so, bad practice? improve way around?

py2exe catches strerr , set in log file created in same folder executable

you can override py2exe's default behavior , place log file in specific folder. see py2exe error logging details. suggest placing log files in appdata/local folder.

what appdata folder?

the appdata folder contains app settings, files, , info specific apps on pc. folder hidden default in file explorer, , has 3 hidden sub-folders: local, locallow, , roaming.

roaming. folder (%appdata%) contains info can move user profile pc pc—like when you’re on domain—because info has ability sync server. example, if sign in different pc on domain, web browser favorites or bookmarks available.

local. folder (%localappdata%) contains info can't move user profile. info typically specific pc or big sync server. example, web browsers store temporary files here.

locallow. folder (%appdata%/…/locallow) contains info can't move, has lower level of access. example, if you're running web browser in protected or safe mode, app able access info locallow folder.

python windows inno-setup py2exe home-directory

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -