[How To Create Custom Add-ons]
First step will be creating a silent switchless installer for your application. For specific switches check the product's website or look in the Application Installs forum located here.
For help creating a 7-zip installer check out keytotime's excellent tutorial here.
Please note that svcpack.inf does support switches. If you are not wanting to repackage an installer you do have the option of using switches in the ini file.
Suggestion: before creating your add-on, download one of the posted add-ons and extract it. This will give you and indication of the structure of the add-on, and will assist in keeping the naming scheme and layout as uniform as possible.
Here are the steps required to create the add-on:
1: Create a new folder and name it after your application, ie uTorrent1.3
2: Within the above folder, create another folder called SVCPACK
3: Place your switchless installer within the SVCPACK folder
4: Rename the ini file to match the name of you add-on, for example ENTRIES_UTORRENT.ini
5: Open the ini file and edit the appropriate details under the [general] section as required, eg:
[general] builddate=2005/14/1 description=uTorrent language=English title=uTorrent is an efficient and feature rich BitTorrent client for Windows sporting a very small footprint version=1.3 website=http://utorrent.com/
6: Navigate to the [AddProgram] section of the ini file and change the name to the exe file that is within the SVCPACK folder, eg utorrent.exe (keep it as simple as possible)
Your ENTRIES_PROGRAM.ini file will look something like this:
[general] builddate=11/21/2005 description=product description here language=English title=Program Name version=1.0 website=http://www.programwebsite.com/ [EditFile] I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram [AddProgram] PROGRAM.EXE
You should now have a setup that looks something like this:
within the SVCPACK folder is ur PROGRAM.EXE switchless installer.
7: Ok, the next step is to create the .cab file. Using MakeCab or CabPack, a freeware utility available here (or any method you wish!) create the cab file of the SVCPACK folder and ENTRIES_PROGRAM.ini file. Rename this cab file to something appropriate eg uTorrent_1.3.cab.
THE NEXT STEP IS THE MOST IMPORTANT!
Before sharing your new add-on, please TEST IT! It is imperitive you test your add-on before posting to avoid problems.
This post has been edited by ZcWorld: 15 July 2006 - 05:55 AM