Alright, I think I figured it out. In the script that is called by todo.pl I
used the following lines.
cd /d C:\Perl\bin
ppm <location and name of package.ppd>
It seems that in order to install the packages via ppm for local files one has
to have the working directory be in c:\perl\bin
On Friday 18 April 2008 10:43:24 am Kevin G. Erdmann wrote:
> I have tried putting the path in the todo.pl statement such as:
> todo.pl "c:\perl\bin\ppm.bat install <absolute path to ppd file>"
>
> This produces the same results.
>
> However, I did try executing ppm in the shell that was created by todo.pl
> and it works but only when c:\perl\bin is the current directory (I just cd
> to it). Other than that the ppm command produces the original problem
>
> On Friday 18 April 2008 10:37:36 am Matt Hyclak wrote:
> > On Fri, Apr 18, 2008 at 09:55:12AM -0400, Kevin G. Erdmann enlightened us:
> > > Strawberry perl looks interesting and I will investigate that option.
> > > Plus since it is open source that is even better.
> > > However, looking at it I am afraid that the ppm for Strawberry perl
> > > might have the same effect as ActivePerl.
> > > The problem seems to be a something in the todo.pl script. What I
> > > have found is that if I launch another command line from the todo.pl
> > > and type ppm I get the exact same problem as described in my first
> > > email. However, if I start a new cmd from the task manager or
> > > start->run menu the .bat file works fine.
> >
> > Sounds like the %PATH% environment is different depending on how you
> > invoke the command. I would put the full path to ppm in your .bat file
> > and see if that solves the problem.
> >
> > Matt
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/java
>one _______________________________________________
> unattended-info mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/unattended-info
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info