On Wed, 28 May 2003, Nils [iso-8859-1] �stbjerg wrote:
> > Run, z:\\packages\\putty\\putty-installer.exe /silent
> > WinWait, Setup, This will install PuTTY. Do you wish to continue?
> > Send, {ENTER}
>
> Why install putty ? Why not just copy it over where you want it ?
I do it so that that it appears in the list of installed applications in
the registry.
As it happens, I resently asked how to make the PuTTY installer properly
silent. Try this instead of AutoIT:
putty-0.53b-installer.exe /sp- /silent
I also append the PuTTY directory to %PATH% so that you can use putty
and pscp from the cmd prompt:
use Win32::TieRegistry ( Delimiter=>"/", ArrayValues=>1 );
my $envkey=$Registry->{"LMachine/SYSTEM/CurrentControlSet/Control/".
"Session Manager/Environment/"};
die unless defined($envkey);
my $pathval=$envkey->{"/Path"};
my @path=split(";", ${$pathval}[0]);
push(@path, "C:\\Program Files\\Putty");
${$pathval}[0]=join(";", @path);
$envkey->{"/Path"}=$pathval;
Peter
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info