Page 1 of 1

User rights and log.txt

PostPosted: Fri Dec 08, 2006 9:04 am
by notareal
Seems that L3DT needs administrative rights to run or one have to allow ordinary user to write in "Bundysoft\L3DT\log.txt" I'd prefer that log.txt is put into "Documents and Settings\user\Application Data\Bundysoft\L3DT\log.txt" or some similar location. Tested with L3DT Professional 2.4.2.17.

PostPosted: Fri Dec 08, 2006 9:28 am
by Aaron
Hi Notareal,

Okay, I'll try to move everything across to userland. This will apply to:

* log.txt
* debug.dat
* Settings\local.ini.xml
* Settings\windows.ini.xml
* Settings\presets.ini.xml
* Settings\MRU.ini.xml
* Settings\paths.ini.xml
* Settings\[everything else].ini.xml

Maybe the next release, and if not then shortly thereafter.

Cheers,
Aaron.

PostPosted: Fri Dec 08, 2006 10:12 am
by Aaron
Okay, log.txt and debug.dat are done. The settings will require the installer to be changed, but that shouldn't be a problem.

Edit: No installer change required. The installer puts the default settings files into '[installdir]\settings' as before. L3DT will load/save its settings to '%APPDATA%\Bundysoft\L3DT\[version]\settings', but if the settings aren't found there, it will load the defaults from the program files dir.

Cheers,
Aaron.

PostPosted: Sat Dec 09, 2006 4:04 am
by Aaron
Hi Notareal,

I've uploaded Pro and Standard installers that don't write to Program Files any more. There are some other improvements too, such as better persistence of user preferences across different versions.

Oh yeah, installation/registration still requires admin rights to the registry, which I'll change if possible. File-associations will still need to be written to HKCR still, but from memory there's something in HKLM that can go to HKCU.

Cheers,
Aaron.