mbos/Pass4Win

Windows 7 Settings dialog is memoryless

Closed this issue · 7 comments

Hello,

When I open settings dialog to check / update settings it deletes previously entered info.
Also I can't close dialog without re entering everything.

mbos commented

Hiya,
It needs write access to your profile in order to save the information. You could check the errorlog in windows to check what went wrong.

Cheers,

Mike

Hi Mike, thanks for your reply!
It seems I don't have rights to write into this directory.
Can't this info be written into the same directory as where passwords database is stored?

mbos commented

Not in this version :-)
I like the idea though so will change it.

Thanks!)

mbos commented

I just realized, in order to read from the password directory the program needs to know where that is.....
Basically the problem is that you can either store in the profile or in the program's directory. The programs's directory is usually protected (needs admin rights) and in some cases the profile directory is protected.

So what I think will do is:

  • First look into profile
  • Look into application directory
  • Look in the directory given with a command line argument or fail when no argument is given

You could also use Isolated Storage. It is dedicated per app/user and the application will have access. If I get some time, I may add this and send you a pull request.

mbos commented

This is actually a very good idea thanks!