set password by code

cbeerse@gmail.com cbeerse "at" gmail.com
Mon Sep 12 10:01:01 2005


Max Odendahl wrote:
> Hi,
> 
> I am installing vnc with a self created inno setup installation, and would
> like to not only set custom ports, but also a password.
> How can I write the password directly into the registry, how to encrypt it
> correctly?
> 
As far as I know, the unix distribution has a separate tool to encode the 
password. Pick that source and you have your example. It's possible a unix 
specific library is used. You can find it in 'cygwin' for your M$Windows box.

Then you can update the encoded password in the registry. Remember, ther are 2 
locations: user specific and/or system specific.


CBee