[www.theword.net]

Twitter live feed  
View unanswered posts | View active topics It is currently Wed Jun 28, 2017 5:49 pm



Reply to topic  [ 9 posts ] 
 How to create your own download package 
Author Message
Site Admin

Joined: Tue Aug 29, 2006 2:09 pm
Posts: 8539
Location: Corfu, Greece
Post How to create your own download package
The mechanism that is used to create the download packages for theWord is dynamic and allows one to create arbitrary packages on the fly! This means that anyone can create links that allow dynamic packages to be downloaded that include any number of modules.
The links have the following form:
Code:
http://www.theword.net/files/setup/getmulti.php?f1=file1&f2=file2...

where file1, file2, etc are the files that you want to get in the package.

For example, the following url will download an installable package that includes the KJV and the WEB bibles:
http://www.theword.net/files/setup/getmulti.php?f1=kjv.ont.exe&f2=web.ont.exe

Two things to note here:
1. The actual file you get when you click on the above is an installer with the name theword-setup-dyna.exe. No matter what is included in the installer , the filename is always the same.
2. To find out what are the actual file names that correspond to the individual bibles (e.g. the kjv.ont.exe corresponds to KJV), you can go to the Modules download page and hover your mouse over the links there and see the last portion of the links.

Advanced
What is more interesting is that you can include in your custom package theWord itself (the software), not just modules!
In order to do that, you need to include a file called tw3main.exe and the main config file called config.ini.
For example, the following link will download a package that includes theWord, KJV and WEB:
http://www.theword.net/files/setup/getmulti.php?f1=tw3main.exe,config.ini&f2=kjv.ont.exe&f3=web.ont.exe

Notice here that the 2 files tw3main.exe and config.ini were combined in a single f1 section of the link: this was made because we want the installer to only present a single option for the end user when asked which components he wishes to install (this is only for the main program, don't use it for others).

Example: A link to download a small Spanish package
http://www.theword.net/files/setup/getmulti.php?f1=tw3main.exe,config.ini,spanish.lng.exe,spanish_es.lng.exe&f2=rv1909.ontx.exe

Contains: theWord, Spanish language files (both, ES and INT), RV1909 with Strong's numbers.

Notice: The actual .exe files that correspond to the spanish language files were found from the Program translations page

You are welcome to create you own custom packages at this thread with collections you find useful for others (and of course add comments!)
Costas

P.S.
Just to know, this is what the main package includes that is downloaded from the home page:
Code:
f1=tw3main.exe,config.ini,theword-manual-setup.exe, brazilian.lng.exe, bulgarian.lng.exe, chineseSimp.lng.exe, chineseTrad.lng.exe, dutch.lng.exe, finnish.lng.exe, german.lng.exe, greek.lng.exe, italian.lng.exe, polish.lng.exe, slovak.lng.exe, spanish.lng.exe, thai.lng.exe, spanish_es.lng.exe, hungarian.lng.exe, russian.lng.exe, afrikaans.lng.exe, catalan.lng.exe, czech.lng.exe, danish.lng.exe
f2=kjv.ont.exe
f3=netfree.ontx.exe
f4=tr.nt.exe
f5=wlc.ot.exe
f6=Mickelson's Strong.dct.exe
f7=Robinson's Morphological Analysis Codes.dct.exe
f8=International Standard Bible Encyclopedia.dct.exe
f9=Treasury of Scripture Knowledge.cmt.exe

Costas


Wed Feb 08, 2012 3:40 pm
Profile WWW

Joined: Wed Feb 08, 2012 3:38 am
Posts: 1
Post Re: How to create your own download package
Thanks much, that is very handy. I tried a couple of Spanish downloads, and it worked like a charm.
Bruce


Wed Feb 08, 2012 7:19 pm
Profile

Joined: Wed Sep 23, 2009 4:13 pm
Posts: 592
Location: Brasília, Brazil
Post Re: How to create your own download package
Very nice and very useful! :D

_________________
Rúbio R. C. Terra
Brasília/DF - Brasil


Wed Feb 08, 2012 7:26 pm
Profile

Joined: Wed Sep 14, 2011 2:51 am
Posts: 22
Location: Sarasota, Fl USA
Post Re: How to create your own download package
Costas-

You never cease to amaze me! What a great idea! I was just thinking about putting together a basic package that I could recommend for people to install and then I find this post. This will make it really easy to do.

Thanks!

Dave

_________________
Dave Ranck
USA
Thinking In Grace - thegraceblog.com


Sat Feb 18, 2012 9:42 pm
Profile WWW

Joined: Mon Nov 02, 2009 1:43 am
Posts: 129
Location: Greenville, South Carolina
Post Re: How to create your own download package
Costas,

I don't know if there is a work around for this or not but I thought I would ask if there is a chance there may be. Where I work it is required to have local administrative rights to run an .exe file. I can download modules from theWord site but am unable to run he .exe for the installation. Is there a way to get the modules in the native form? Thank you for all your hard work

_________________
Dave
Gods gifts comes wrapped many different ways.


Thu Oct 25, 2012 1:19 pm
Profile
Site Admin

Joined: Tue Aug 29, 2006 2:09 pm
Posts: 8539
Location: Corfu, Greece
Post Re: How to create your own download package
UBC4ME wrote:
Costas,

I don't know if there is a work around for this or not but I thought I would ask if there is a chance there may be. Where I work it is required to have local administrative rights to run an .exe file. I can download modules from theWord site but am unable to run he .exe for the installation. Is there a way to get the modules in the native form? Thank you for all your hard work

You can install the latest beta version: there is a new function 'Install Modules': you just drag-n-drop the modules there (the .exe file you download) and they get installed WITHOUT running the installer,
Costas


Thu Oct 25, 2012 2:26 pm
Profile WWW

Joined: Mon Nov 02, 2009 1:43 am
Posts: 129
Location: Greenville, South Carolina
Post Re: How to create your own download package
Thank you Costas.

_________________
Dave
Gods gifts comes wrapped many different ways.


Fri Oct 26, 2012 1:34 pm
Profile

Joined: Mon Mar 05, 2007 12:15 pm
Posts: 105
Post Re: How to create your own download package
Is it possible to do the same with version 4 (changing to tw4main.exe does not seem to work)? Also, is there a way to install the program directly in Spanish (i.e., the installer itself and, afterwards, once the program has been installed, to have it in Spanish by default, rather than English)?

Thanks!

_________________
Rubén Gómez


Sun Dec 07, 2014 6:09 pm
Profile
Site Admin

Joined: Tue Aug 29, 2006 2:09 pm
Posts: 8539
Location: Corfu, Greece
Post Re: How to create your own download package
Ruben,
the file tw3main.exe contains version 4, so it should be the same.
By default, theWord starts using the PC language: so if it run in an English PC, it will start like that.
Costas


Sat Dec 13, 2014 10:22 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.