Hi all,

I'm using Unattended for application-only-installs (appsonly.bat).

As far as I understand the most up-to-date License Agreement of ActivePerl 
Community Edition...
https://www.activestate.com/wp-content/uploads/2018/10/activestate_community_edition_software_license_agreement.pdf
... ActivePerl is only free for development purposes, but not for production 
purposes.

So I think usage of ActivePerl for Unattended software deployment is 
problematic in the meantime....

I created a perl.bat using Strawberry Perl instead of ActivePerl, see below.

I have done some very basic tests and it seems to work.

Two things are bad in my opinion, maybe you have some ideas.
1) installing Win32::NetResource library online using cpan command - any 
offline alternative possible for PCs not connected to the Internet or behind 
http proxys? 
2) install path is c:\strawberry, I'd rather would like it in the standard 
program files directory. When installing strawberry interactively and try to 
install to c:\Program Files\Strawberry or c:\Progra~1\Strawberry it claims in 
both cases about the path containing blanks. So I suppose that would neither 
work with msiexec...?


Regards
Gerhard

-----------------------------------------------------
:: Install Strawberry Perl
:: 
URL|ALL|http://strawberryperl.com/download/5.28.0.1/strawberry-perl-5.28.0.1-32bit.msi|packages/strawberryperl/strawberry-perl-5.28.0.1-X86.msi
:: 
URL|ALL|http://strawberryperl.com/download/5.28.0.1/strawberry-perl-5.28.0.1-64bit.msi|packages/strawberryperl/strawberry-perl-5.28.0.1-AMD64.msi

set 
perl_msi=%Z%\packages\strawberryperl\strawberry-perl-5.28.0.1-%PROCESSOR_ARCHITECTURE%.msi

:retry
if exist %perl_msi% goto have_perl
echo %perl_msi% not found; press any key to retry.
pause > nul
goto retry

:have_perl

start /wait 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;
cpan Win32::NetResource
@if errorlevel 1 exit 1


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

Reply via email to