Hello to the unattended community,

As I'm neither a great DOS nor perl coder I ran into the following problem,
which might be a breeze for someone, who's experienced in perl.

For installing CAD applications I already wrote a DOS batchfile, which I now
modified, to use it with todo.pl.
First it parses the installation path (as I have more than one according to
a few conditions).
Depending on the result it sets the install-path variable next and uses it
to call the setup at last.
In pure DOS everything worked fine.

This was the way I tried it in the batch that is called by todo.pl

Example:
-snip-
-----------------------------------------------------------
todo.pl "MSIEXEC /i %INSTALLPATH% /qb- /le+ %LogPath%"
todo.pl "IF EXISTS EXAMPLEFILE.TXT SET
INSTALLPATH=S:MyInstall\CadVersionNo1\CadProgInst.msi" 
todo.pl "NET USE S: \\MyServer\CADInstall /persistent:NO"
todo.pl "SET LogPath=C:\Install.log"
-----------------------------------------------------------
-snap-

When I now call this script by todo.pl I see that the space where my
variables should be is empty whilst executing.
This certainly causes the script to finish without result but some errors.


Could anybody help me out and tell me how to change the syntax to get the
variables passed and the batchfile running in perl environment ?

Best Regards 

R.Moeller





------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to