Adam Peart wrote:
>I was wondering if there was a way I could get install.pl to create the 
>.bat files in the netinst directory and everything else, except the
>instruction to run the mapznrun.bat


I have a subrtine user in config.pl which is called from the following
around line 964 on install.pl just after 
Create C:\netinst and subdirectories. 

# If user subrotine exists in config.pl run it.
&user if defined(&user) ;

My user file then just uses the write_file:

sub user {
 write_file ('full_name_of_file.bat',
     'rem a test content of line',
     'echo next line',                        
 );
}
You can then add on the file to the todo list.

Or I think you could also do the extra network conections from the user
subrotine, in perl or using system calls from perl with backtick `net use i:
\\someplace`.

Hope this helps,

Max



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to