Jordan Share <[EMAIL PROTECTED]> writes: > Layne, Courtney wrote: > > I am trying to install realvnc silently. I think the install > > options would be "/SP- /VERYSILENT /NORESTART". Anyone know how to > > create the service and password that can be setup at the end of the > > gui install? Any advice would be appreciated. Thanks. > > Courtney > > I import a .reg file with the appropriate settings.
I do something similar with a Perl script:
use warnings; use strict; # The arguments to this script are the encrypted password, as a series # of hex bytes. Just set the password using the GUI, then use regedit # to view the .../WinVNC3/Default//Password value. Those bytes form # the arguments to this script. my %reg; use Win32::TieRegistry (Delimiter => '/', TiedHash => \%reg, qw (REG_BINARY)); my $passwd = join '', map { chr hex } @ARGV; my $passwd_key = 'LMachine/SOFTWARE/ORL/WinVNC3/Default//Password'; $reg{$passwd_key} = [ $passwd, REG_BINARY ] or die "Unable to set $passwd_key: $^E";