Hello Juan,
thanks a lot, I tested this and I think we are near a working state.
The ptar command unpacks the .tar.gz archive not into
%TEMP%\Win32-NetResource-0.057
like wanted / expected, but instead into
c:\windows\system32\Win32-NetResource-0.057
The commands
cd %TEMP%\Win32-NetResource-0.057
call c:\strawberry\perl\bin\perl Makefile.PL
call gmake install
then fail because they expect Makefile.PL to be in a different directory.
So I suppose we will have to explicitely tell the ptar command in which target
directory to unpack the archive...?
Regards
Gerhard Hofmann
Juan wrote:
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-devel