Hello folks,
i'm using the code above to automatically lookup the product-keys, but actually it looks like it never passes the key to the unattended.txt.
here is the code from site.pl:
*require "conf-csv.pl";
CONFIG->setup(dos_to_host('z:\\site\\ProductKey.csv'), '', '');$u->{'UserData'}->{'ProductKey'} =
sub {
my $media_obj = Unattend::WinMedia->new ($u->{'_meta'}->{'OS_media'});
my $os_name = $media_obj->name (); print $os_name;
defined $os_name or return undef;
return CONFIG->lookup_value("$os_name ProductKey");
};*here is a line from the ProductKey.csv:
* "Windows Server 2003, Standard","ProductKey","10101-10101-10101-10101-10101"
*maybe someone could tell me whats wrong?
regards, stefan.
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ unattended-info mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unattended-info
