Installing Firefox

John Poltorak <[email protected]>
Newsgroups gmane.comp.mozilla.devel.os2
Message-ID <[email protected]>
I have tried putting together the steps necessary to install Firefox 
into this cmd file in the hope that someone might be able to point out 
where I have gone wrong.

This basically retrieves and extracts all the required archives, (unless 
there are more that I'm not aware of...)

Some variables are set and then firefox is launched...

At least in theory... firefox does do something, I'm not entirely sure 
what, for around a minute, but nothing appears on screen. Is there 
anything like 'verbose' flag I can start it with to see what it is doing?


************************************************************************************************************************
:
:  *  create and set REPOSITORY
:
:  *  retrieve and extract all required archives
:
:    assumption that working versions of
:
:    WGET, ZIP and WIC (from WARPIN) are
:
:        available in the path
:
:
:    ***** WGET with SSL spport is required
:
:
:
set unixroot=e:
set repository=%unixroot%\repository
md %repository%

:
:
:     retrieve all required archives
:
:
wget 
https://github.com/bitwiseworks/mozilla-os2/releases/download/FIREFOX_38_2_1esr_RELEASE_OS2_Beta_6/firefox-38.2.1.en-US.os2.zip 
-P %repository% --no-check-certificate
wget http://os2news.warpstock.org/mozsupport-2016-03-16.zip -P %repository%
wget 
http://hobbes.nmsu.edu/download/pub/os2/dev/util/mzfntcfgft_runtime_20150829.zip 
-P %repository%
wget ftp://ftp.netlabs.org/pub/gcc/libc-0_6_6-csd6.wpi -P %repository% 
--passive-ftp
wget ftp://ftp.netlabs.org/pub/gcc/gcc4core-1_3_1.wpi -P %repository% 
--passive-ftp
wget http://rpm.netlabs.org/release/00/zip/fontconfig-2_11_94-2_oc00.zip 
-P %repository%

:
:
:     extract archives to various directories
:
:

unzip %repository%\firefox-38.2.1.en-US.os2.zip -d %unixroot%\
unzip %repository%\mozsupport-2016-03-16.zip -d 
%unixroot%\firefox.mozsupport
unzip %repository%\mzfntcfgft_runtime_20150829.zip -d 
%unixroot%\firefox.mzfntcfg
unzip %repository%\fontconfig-2_11_94-2_oc00.zip -d %unixroot%\

md %unixroot%\firefox.commondlls
%unixroot%
cd %unixroot%\firefox.commondlls


wic -x %repository%\libc-0_6_6-csd6.wpi
wic -x %repository%\gcc4core-1_3_1.wpi


:      Not sure about this:-
:
set FONTCONFIG_PATH=%unixroot%\@unixroot/etc/fonts

set etc=%unixroot%\etc
SET LIBPATHSTRICT=T
set 
beginlibpath=%unixroot%\firefox.mzfntcfg;%unixroot%\firefox.mozsupport;%unixroot%\firefox.commondlls
set FONTCONFIG_PATH=@UNIXROOT/etc/fonts
unixroot%
cd \firefox
firefox
************************************************************************************************************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.