"Norstr�m, Daniel" <[EMAIL PROTECTED]> writes:
> Hi Pat
>
> I get error when I have to many inf files in the $OEM$\$1 folder,
> what is the current maximum allowed? Can you or I change this value?
The limit you are seeing is in the menu presenting the choices. It is
probably 12 or 13 .inf files, since the menu itself is limited to 15
options (1-9, A-F).
I suppose I should rewrite the code to support sub-menus when there
are lots of .inf files. But for now, your best bet is just to
override my code.
The easy way to do this is to edit z:\site\unattend.txt and give a
fixed value for [Unattended]/OemPnPDriversPath.
The hard way is to edit z:\site\config.pl and call
set_value ('Unattended', 'OemPnPDriversPath', \&my_proc);
...where my_proc is a function which you define earlier in config.pl.
It should take no arguments, and it should return the value for
OemPnPDriversPath. (If you read install.pl, you will see a similar
call to set_value which registers MY function for computing
OemPnPDriversPath. By calling set_value in z:\site\config.pl, you
will override my version with your own.)
Note that the length of OemPnPDriversPath is limited by Windows, but
it is a little hard to say what that limit is. Depending on which
version of Windows you are using, and which reference you believe, it
might be 99, 255, 256, 1023...
http://support.microsoft.com/?kbid=276278
http://www.ntfaq.com/Articles/Index.cfm?ArticleID=25092
In general, you want to keep it short :-).
- Pat
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info