[sword-svn] r48 - in trunk: . Packaging

bdrake at www.crosswire.org bdrake at www.crosswire.org
Sat Dec 8 04:35:31 MST 2007


Author: bdrake
Date: 2007-12-08 04:35:30 -0700 (Sat, 08 Dec 2007)
New Revision: 48

Added:
   trunk/Packaging/
   trunk/Packaging/Howto - make package.txt
   trunk/Packaging/Readme.txt
   trunk/Packaging/SwordReader.inf
   trunk/Packaging/SwordReader.ini
   trunk/Packaging/eula.txt
   trunk/Packaging/makeSwordReader.bat
Log:


Added: trunk/Packaging/Howto - make package.txt
===================================================================
--- trunk/Packaging/Howto - make package.txt	                        (rev 0)
+++ trunk/Packaging/Howto - make package.txt	2007-12-08 11:35:30 UTC (rev 48)
@@ -0,0 +1,11 @@
+You will need the following in this directory (or referenced with full path in the .bat file).  All three executables and the .ddf need to be in the same directory.
+
+CabWiz.exe
+cabwiz.ddf
+Makecab.exe
+EzSetup.exe
+
+The .inf file contains the packaging information.  You will need to adjust the path specs to point to where you keep the files.  The .bat file shows how the process works.  Feel free to improve it a lot!
+
+God bless,
+Barry Drake
\ No newline at end of file

Added: trunk/Packaging/Readme.txt
===================================================================
--- trunk/Packaging/Readme.txt	                        (rev 0)
+++ trunk/Packaging/Readme.txt	2007-12-08 11:35:30 UTC (rev 48)
@@ -0,0 +1,12 @@
+SwordReader from The Sword Project
+=============================================
+
+This version is a starter kit containing the public domain KJV
+
+Other versions of the bible, and commentaries are available 
+from: www.crosswire.org
+
+
+Your participation is invited and welcomed.
+
+Enjoy!
\ No newline at end of file

Added: trunk/Packaging/SwordReader.inf
===================================================================
--- trunk/Packaging/SwordReader.inf	                        (rev 0)
+++ trunk/Packaging/SwordReader.inf	2007-12-08 11:35:30 UTC (rev 48)
@@ -0,0 +1,58 @@
+[Version]
+Signature   = "$Windows NT$"    ; required as-is
+Provider    = "The Sword Project"       ; maximum of 30 characters, full app name will be "<Provider> <AppName>"
+CESignature = "$Windows CE$"    ; required as-is
+
+[CEStrings]
+AppName     = "SwordReader"    ; maximum of 40 characters, full app name will be "<Provider> <AppName>"
+InstallDir  = %CE1%\sword    ; Program Files\sword
+
+[SourceDisksNames]                 
+1 = , "Binaries",,\prog\pocket\SwordReader\sword
+2 = , "Conf file",,\bible\sword\mods.d
+3 = , "Module files",,\bible\sword\modules\texts\ztext\kjv
+
+[SourceDisksFiles]
+SwordReader.exe = 1
+sword.dll = 1
+kjv.conf = 2
+nt.bzs = 3
+nt.bzv = 3
+nt.bzz = 3
+ot.bzs = 3
+ot.bzv = 3
+ot.bzz = 3
+
+[DefaultInstall]
+CopyFiles   = CopyToWindows, CopyToMods, CopyToModules
+AddReg      = RegData
+CEShortcuts = Shortcuts   
+
+[DestinationDirs]
+CopyToWindows = 0, %InstallDir%
+CopyToMods = 0, %InstallDir%\mods.d
+CopyToModules = 0, %InstallDir%\modules\texts\ztext\kjv
+Shortcuts   = 0, %CE11%   ;\Windows\Start Menu\Programs
+
+;File copy list.
+[CopyToWindows]
+"SwordReader.exe", SwordReader.exe
+"sword.dll", sword.dll
+[CopyToMods]
+"kjv.conf", kjv.conf
+[CopyToModules]
+"nt.bzs", nt.bzs
+"nt.bzv", nt.bzv
+"nt.bzz", nt.bzz
+"ot.bzs", ot.bzs
+"ot.bzv", ot.bzv
+"ot.bzz", ot.bzz
+
+;Registry keys
+[RegData]
+;HKCU,Software\%AppName%,MajorVersion,0x00010001,1
+;HKCU,Software\%AppName%,MinorVersion,0x00010001,0
+
+;Shortcut created in %InstallDir%
+[Shortcuts]
+%AppName%,0,SwordReader.exe 
\ No newline at end of file

Added: trunk/Packaging/SwordReader.ini
===================================================================
--- trunk/Packaging/SwordReader.ini	                        (rev 0)
+++ trunk/Packaging/SwordReader.ini	2007-12-08 11:35:30 UTC (rev 48)
@@ -0,0 +1,15 @@
+; SwordReader.ini  
+
+[CEAppManager]
+Version = 1.0
+Component = SwordReader
+
+[SwordReader]
+Description = SwordReader with public domain King James Version Bible (1611/1769)
+Uninstall = SwordReader
+IconFile = SwordReader.ico
+IconIndex = 0
+DeviceFile = SwordReader.exe
+CabFiles = SwordReader.PPC_ARM.CAB
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Added: trunk/Packaging/eula.txt
===================================================================
--- trunk/Packaging/eula.txt	                        (rev 0)
+++ trunk/Packaging/eula.txt	2007-12-08 11:35:30 UTC (rev 48)
@@ -0,0 +1,19 @@
+SwordReader Kjv-Eula.txt (End User License Agreement)
+
+=============================================
+
+This swordreader application is a sword (www.crosswire.org/sword) frontend 
+for the Pocket PC platform (2002 and newer)
+
+All software is open source and is subject to the end-user terms which may be
+viewed on the above web site.  Please be certain that you are happy with and 
+agree to these terms before attempting to install this software.  Neither Crosswire,
+the Sword Project nor any of the authors take any responsibility for any loss or 
+damage caused by installation or use of this package.  Use at your own risk!
+
+Support is provided by sending an email to: 
+sword-support at crosswire.org
+
+Your participation is invited and welcomed.
+
+Enjoy!
\ No newline at end of file

Added: trunk/Packaging/makeSwordReader.bat
===================================================================
--- trunk/Packaging/makeSwordReader.bat	                        (rev 0)
+++ trunk/Packaging/makeSwordReader.bat	2007-12-08 11:35:30 UTC (rev 48)
@@ -0,0 +1,45 @@
+ at echo off
+REM
+REM BuildPpcUpdate.bat creates the CAB files and then the actual Setup.exe  ver 2.31  2007-Dec-01  lda
+REM
+
+REM
+REM You Must modify the following directories to point to the correct locations.
+REM
+
+set fileSwordReader=SwordReader.inf
+set fileCabwiz=cabwiz.exe
+
+if not exist %filefileSwordReader% goto Usage
+if not exist %fileCabwiz% goto Usage
+echo "Building" %fileCabwiz% %fileSwordReader%
+%fileCabwiz% %fileSwordReader% /err SwordReader.err /cpu PPC_ARM
+
+REM if exist SwordReader.err goto CabWizError
+if exist SwordReader.err echo "There is a SwordReader.err file for you"
+
+ezsetup -l english -i SwordReader.ini -r Readme.txt -e Eula.txt -o SwordReader.exe
+REM copy /Y BerBiblePpcUpdate.exe                %BERBIBLE_HOME%\SfWebSite\download
+REM copy /Y BerBiblePpcUpdate.PPC_ARM.CAB        %BERBIBLE_HOME%\SfWebSite\download
+echo "Built (check by looking at ..Setup.exe date)"
+goto Exit
+
+:Usage
+ at echo ---
+ at echo Edit this batch file to point to the correct directories
+ at echo    fileSwordReader = %fileSwordReader%
+ at echo    fileCabwiz  = %fileCabwiz%
+ at echo       (these files are included in the Windows CE SDK)
+ at echo ---
+goto Exit
+
+:CabWizError
+ at echo ---
+ at echo CabWiz failed
+ at echo Look in SwordReader.err for problem
+ at echo ---
+goto Exit
+
+:Exit
+if exist ezs*.tmp del ezs*.tmp /Q
+pause




More information about the sword-cvs mailing list