topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 5:44 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: portable version keeps making a folder in mydocuments and storing settings there  (Read 5174 times)

delwoode

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 146
    • View Profile
    • Donate to Member
I donloaded the latest version, portable, put it in a folder called Portables in my program files folder
I uncommented the lines
PORTABLE=TRUE
CONFIGDIR = .
in the Confi_Dir_Default.ini
but it still stores it's setting in mydocuments folder not in the portable dir
I also tried making a copy of the Config_Dir_Default.ini file and calling it Config.ini but still no luck
Suggestions?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
i think the file should be called ConfigDir.ini
exit and restart with that filename and see how it behaves.

by default the portable one should be storing settings in the same directory it runs from.

but if you copied over a ConfigDir.ini from a previous installed version it might override it, so try using ConfigDir.ini.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
I donloaded the latest version, portable, put it in a folder called Portables in my program files folder
If Farr is in your "program files" folder then Farr must be run in admin mode because if not Windows won't allow any programs to have write access.

For comparison, here's how my configdir ini looks like:
DonationCoder_Farr_ConfigDir_ini_2019_10_04_001.pngportable version keeps making a folder in mydocuments and storing settings there

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Portable Software better *not* kept in either of the program folders. It doesn't have write permission there so acts like an installed app, creating ini files etc elsewhere.
Tom

delwoode

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 146
    • View Profile
    • Donate to Member
Sorry Mouser, ConfigDir.ini is what I had renamed it too.
I moved the folder to the root of the C: drive and now it works as portable
Perhaps adding advice to the Note_for_Portable-Use.txt about not putitng it in Programs dir would be an idea.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Sounds like I should add some code to my programs to check if the ConfigDir.ini file is telling them to save to a directory that is disallowed, and complain if so.