Hi,

I am using unattended to install packages after the initial installation.

So, on an already installed PC, as admin, I mount the Z drive.
With C:\netinst\mapzrun, I give a correct login/password and Z is connected.

Now to install a new package, in a cmd windows:
perl Z:\bin\todo.pl package-to-install.bat
perl Z:\bin\todo.pl --go.
This method works fine.

For some installations, I need to use a sleep for a few seconds (15)

In ....\install\bin, I wrote sleep15.pl
# Wait 15 seconds
use warnings;
use strict;
my $seconde=15;
sleep($seconde);
exit 0;

And in ....\install\script, I wrote sleep15.bat
:: sleep 15 seconds
@Echo off
perl Z:\bin\sleep15.pl

To wait 15 second after the installation of package-to-install.bat, I do:
perl Z:\bin\todo.pl sleep15.bat
perl Z:\bin\todo.pl package-to-install.bat
perl Z:\bin\todo.pl --go.

This method doesn't work and I have a lot of troubles with sleep15.bat
When sleep15.bat is started, it seems that perl is reinstalled (see img.jpg)

Could someone tell me what is wrong and how to do to wait 15 seconds in a
script.bat ?

Sincerely,

<<inline: Active-perl.JPG>>

<<attachment: Regis_Gras.vcf>>

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to