Title: OemPnPDriversPath and This List

I found this code in the documentation that will automatically add the drivers, so I won't be asked (I assume and hope that's what this does.) Where do I put it? Also, I'm getting all the replies. I notice John responded to my mapped drive question and two people responded to my unattend.txt question, but I received neither response by email.

-------------------------------------------------------------------------------------------------------------------------

use warnings; use strict; $u->{'Unattended'}->{'OemPnPDriversPath'} =
sub { my $media_obj = Unattend::WinMedia->new ($u->{'_meta'}->{'OS_media'});
                my @pnp_driver_dirs = $media_obj->oem_pnp_dirs (1);
                # No driver directories means no drivers path scalar @pnp_driver_dirs > 0 or return undef; print "...found some driver directories.\n";

                my $ret = join ';', @pnp_driver_dirs;
                # Setup does not like empty OemPnPDriversPath $ret =~ /\S/ or undef $ret; return $ret;
        };
1;


Thanks,  

Keith Davis
Senior Office Automation Engineer
Pegasus Solutions, Inc.
Phone (214) 234-4296
Mobile (214) 906-5183

Attention: Pegasus Employees Check out the OA website (http://oa.pegs.com)

This email and any attached files is covered by the Electronic Communications Privacy Act, 18 U.S.C. Sec. 2510-2521 and is legally privileged. The information contained in this email is intended only for use by the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error please immediately notify us by telephone (214-234-4295) and destroy the original message.

Reply via email to