On 24/6/19 21:57, Hofmann, Gerhard wrote:

You suggested me some commands (ptar… make…) that also should do the job offline and indeed when I run them in a cmd this works very well.

 

But when having it in the perl.bat it seems the ptar command is executed correctly, but everything after that does not  seem to work / to be executed.

 

Some more ideas…? My perl.bat (not working…) see below.


Gerhard,

would you mind test this code?


+call msiexec /qb /l* %SystemDrive%\netinst\logs\strawberryperl.txt /i %perl_msi%
+set PATH=%PATH%;c:\strawberry\c\bin;c:\strawberry\perl\bin;c:\strawberry\perl\site\bin;
+::
+::This code should be equilavent to
+::cpan Win32::NetResource
+::But it works Offline
+copy %Z%\packages\strawberryperl\Win32-NetResource-0.057.tar.gz %TEMP%
+call c:\strawberry\perl\bin\ptar.bat zxf %TEMP%\Win32-NetResource-0.057.tar.gz
+cd %TEMP%\Win32-NetResource-0.057
+call c:\strawberry\perl\bin\perl Makefile.PL
+call gmake install


replace start /wait for call

_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to