Hi,

i wrote a script to partition the hard disks after installation.
I' using it like this in my config.pl
$u->{'_meta'}->{'bottom'} = "%Z%\\bin\\partition.pl --disk 0 --partition 2 
delete;%Z%\\bin\\partition.pl --disk 1 --type primary --size 40960 --letter d 
create;"

My problem is, that install.pl generates an postinst.bat file that looks like 
this:
todo.pl %Z%\\bin\\partition.pl --disk 1 --type primary --size 40960 --letter d 
create
todo.pl %Z%\\bin\\partition.pl --disk 0 --partition 2 delete

The order is correct, but todo.pl complains about knowing nothing about 
parameter "--disk". That's ok so far.
I need generated lines like that:

todo.pl "%Z%\\bin\\partition.pl --disk 1 --type primary --size 40960 --letter 
d create"
todo.pl "%Z%\\bin\\partition.pl --disk 0 --partition 2 delete"

But i can't enter them in config.pl like this:
$u->{'_meta'}->{'bottom'} = "\"%Z%...

This generates an error in unattended.txt
and using just ' instead of " brings the same error with todo.pl.

Has anybody an idea how to solve this problem?

Greetings
Alexander

PS: When this partition script works, i will post it here on mailinglist for 
public use.


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to