Client ini file storage

6 posts / 0 new
Last post
axelbarkow
Client ini file storage

Hi Michael,

we want to distribute the client on several Windows computers, which are used by more than one person. I created a customized ini file for the client, which I can pass using the command line parameter.
In order to simplify starting the client, it would be helpful not to be forced to use the command line parameter. Unfortunately the default path for the ini file is user dependend (c:\Users\Username\AppData\Roaming\vhui.ini). Do you see any chance to define an additional path (e.g. the directory of the executable) that is equal for every user? Or did I miss something?

Regards

Axel

Michael
At the moment it needs to use

At the moment it needs to use the username path to handle multiple users on the same windows machine. Hence there is the -c parameter to override this. If it defaults to the same file all the time in the current dir there can be no multi-user handling anymore. Im not sure your change is a good idea. Is this the idea you had for this?

axelbarkow
My proposal would be a little

My proposal would be a little bit different. First I would look in the current dir. If there is a ini, use this. Otherwise look inside the user specific directory. If there is an ini, use this, otherwise create it there.

Regards

Axel

Michael
OK that seems reasonable, it

OK that seems reasonable, it wont break existing users and its useful, i will add that for the next build of the client. due out today or tomorrow..

Michael
OK this is in 2.5.6 of the

OK this is in 2.5.6 of the client...It will look in the current binary directory first then default to the usual method of creating a configuraiton. Hope this makes it easier for you to rollout the clients.

axelbarkow
Thanks Michael, I'll test it

Thanks Michael, I'll test it asap.
Another big thanks for the incredible good support. The lack of features and no response on feature requests made us change from our existing solution to virtualhere. Obviously in terms of support we took the right choice...

Regards

Axel

Log in or register to post comments