- e-Sword Resources
- BeST
- Reference & Training
- Forums
- Blogs
- Support Us
Create a self-extracting / installing Pocket e-Sword Module
Creating a self-extracting and installing Pocket e-Sword Module is fairly easy. You just need the right tools and a bit of guidence. This tutorial will show you how!
In this tutorial you need the Pocket e-Sword Module Installer (http://e-sword-users.org/users/node/1842) and WinRAR (www.rarlabs.com). You may be able to create the same type of installer with another compression program (such as WinZip), but I don't use those. Hopefully you'll be able to use the techniques described here regardless of compression program.
Getting the Files Ready
<optional> Create a new directory on your desktop computer where you will put the files you want to include in your installation package. I would suggest that you name the folder the same name that you want your final install file to be named. so for example, if you want your module installer to be named "My Bible" name your new folder "My Bible". This is the name that I will be using in this tutorial.
Copy the Pocket e-Sword Module Installer application from the link above into this folder as well as your Pocket e-Sword module (or modules) that you want to include in your installer.
Creating your Installer
Start WinRAR and then point it to that folder

- You are ready to select your files. Highlight them all (as above) and click the "Add" button. You are then presented with the "Archive name and parameters" window.

- Change the "Compression method" drop-down from "Normal" to "Best". This is especially important, since most user created Pocket e-Sword modules are large and can easily be compressed.
- Click the "Create SFX archive" checkbox.

- Click on the "Advanced" tab at the top of the window, and click the "SFX options" button.

- In the "Path to extract" field, put in the name of the folder that you want created on your user's desktop computer.

In the picture above, I am having WinRAR create a master folder called "Ben's Modules" and a subfolder called "My Pocket Bible".
This folder will be created under the "Program Files" folder on the user's computer (because I clicked the "Create in the "Program Files"" button).
If you wish to have the files stored somewhere else, you may do so by changing this field's value.
Another important value to set in this window is the "Run after extraction" field. You should put in the name of the Pocket e-Sword Installer application (PocketeSwordModuleInstaller.exe) in this field. This will make your installer application automatically install the modules after they are decompressed. - Click the "OK" button to close the "Advanced SFX options" window, and then click the "OK" button to begin the creation of your installation application.
That is it! If you try running it, you will see the following window:

Click the "Install" button and your files will be decompressed and the e-Sword module installer will run for each of your modules to copy them to your Pocket PC device.

Optional: Create a Shortcut to reinstall your modules
After step number 5 (above) perform the following steps and you can create a shortcut for your users so they can reinstall your modules on their Pocket PC device.

- Click on the "Advanced" tab (at the top of the screen),

- Click the "Add shortcut..." button and you are presented with the "Add shortcut" window.

Please note, that you can create multiple shortcuts by repeating step 2 through 8. - Click on one of the buttons at the top to determine where you want your shortcut to appear on your user's desktop computer. In the example below, the shortcut will be on the user's "all programs" menu.
- Put "PocketeSwordInstaller.exe" in the "Source file name" field. This will initiate the installation of the modules to the device.
- Then you should enter a folder or folders that you want to appear in the menu system, or on the desktop.
- You can optionally create a description that is shown to the user when they hover over the menu item or shortcut by putting it in the "Shortcut description" field.
- Put the name of the shortcut that is displayed to your users in the menu by entering it into the "Shortcut name" field.
- Click the OK button
You're now able to continue with step number 6 in the "Creating your installer" section