There are 2 major ways to distribute AFSearch. You may either setup AFSearch in a LAN environment for all users to access, or distribute AFSearch with the index files on a CD-ROM.
The latter option is particularly useful for CD-ROM publishers and content distributors.
AFSearch has full relative path support. You can move the AFSearch directory anywhere you want, as long as the contents of the folder are unchanged.
Follow these steps to incorporate AFSearch into a LAN environment:
AFSearch can run directly from CDROM without any installation.
User may search directly from CDROM using AFSearch's search box (application mode),
or search within your HTML page with AFSearch forms (localhost mode).
- Share a folder on the server for storing the index.
- Find the shared Index Folder using the Network Neighborhood and the full path (e.g. //SERVER_NAME/FOLDERNAME, instead of a local reference like C:\INDEX).
- When indexing folders, use the full LAN name again (so that it can be accessed by all users).
- After the indexing process is complete, copy afsearch.exe, index.ini, and index.des to all user machines.
- When users execute afsearch.exe, Index.ini will automatically use the Index Folder located on the correct LAN path.
For either option, all necessary files must be copied to the CDROM with exactly the same
relative folder structure. You should avoid using driver IDs (e.g. C:\, D:\) for your indexed files
and HTML files, as users might have different driver ID for their CDROM drivers.
** please note: for single user license, AFSearch.exe will run in unregister mode when copied to CDROM. Please
register multiple-users license if you need to distribute AFSearch on CDROM.
- Copy Files Manually
To use AFSearch on CD-ROM, you can copy all files to CDROM manually,
by following the procedures below:
- AFSearch Publishing Tool
- First, create the index file on the local hard disk drive. Also define your header, footer, and create all necessary frame files if needed.
- Do few tests on your local HDD, ensure everything is working as you expected.
- Copy the entire directory of AFSearch to the CD-ROM, including all sub-directories
Copy all the document and index directories to the CD-ROM, the relative path of
those directories to AFSearch must stay the same.
- As long as all files (including the AFSearch files
afs-form.exe, afsearch.ini, and all the index and document folders), and the directories in the index are duplicated onto the CD-ROM (relative path supported), users can search directly from the CD-ROM.
- AFSearch will automatically treat the CD-ROM as the hard drive where it originally built the index.
- If you need to auto-start AFSearch when user insert the CD to their driver, please refer
AFSearch command line parameters.
-- start a new index, e.g. D:\files\index\)
-- Index your files (e.g. D:\files\html\)
-- click on "Search Form"
-- in the "FORM_FOLDER" field, browse to your desired "FORM_FOLDER" location
After this is done and you tested search works, copy the entire
folder to D:\files\ to your CDROM, and you can test searches from the CDROM directly.
You can use the
[Publish Files] button to automatically prepare the files for you for CD publishing.
- (A) The default is to publish CURRENT ACTIVE index. If you have created multiple file indexes,
you can check other indexes you like to publish.
- (B) Select [Application Mode] if you want your users to use the AFSearch window to perform keyword searches.
AFS-FORM.EXE (Search Only, no indexing function) will be copied to the destination folder.
- (B)Select [LocalHost Mode] if you want your users to search inside MSIE, using your HTML files.
AFS-HOST.EXE (runtime version, no window, no indexing function) will be copied to the destination folder.
- (C) Destination Folder: defines where AFSearch will copy all the index and document files, for later burning to CDROM.
- (D) After CD is inserted: creates an autorun.inf file, and open the form file or your selected HTML file automatically
when user insert your CDROM into driver.
- (E) Current Form Folder: the folder with your HTML form and frame files for searching. This folder
will automatically be copied during publishing.