WWW File Share
Not only a file-sharing server
  Home Download Purchase Contact Resource
WWW File Share Pro
  > Overview
  > Download
  > Purchase
  > FAQ
Plugin
  > Overview
  > Download
  > Developer's Guide
Developer's Guide
 
Lesson 5 - Installation Package

Once your plugin is created, you may want to make a installation package for the end-user to install your plugin. The installation package can be created by any installer, such as Inno Setup, InstallShield, etc. If you choose one of those installers to make the installation package, your installation package can get the full path of the plugin directory from this registry key:
HKEY_CURRENT_USER\Software\LionMax Software\WWW File Share Pro\PluginPath

Actually the simplest way to make the installation package is to compress all files of your plugin into a zip file. So you can create the installation package by Winzip, 7-zip, etc.

There is a button "Install a new plugin" on the "Plugins" panel of WWW File Share Pro for the user to install your plugin.


The plugin installer of WWW File Share Pro will create the plugin directory and extract all files from your zip file into your plugin directory.


The directory name of the plugin depends on the filename of your zip file. For example, if the filename of the zip file is "NewPlugin.zip", the plugin installer will create a directory "NewPlugin" and extract all files into it.

Normally your installation package should include these files:
  • the setting file - setting.ini
  • the start file (optional)
  • the return file (optional)
You may download the sample file to test the installation package.

Note:
After the plugin installer extracted all files into the plugin directory, it will run "install.bat" if it found this file under your plugin directory.

So if your plugin need to register some OCX of DLL files before it works, you may create a .bat file "install.bat" for registering them. Then compress all OCX, DLL files and "install.bat" into the same zip file.

< Lesson 4 | Index
 
Copyright © 2002- LionMax Software. All rights reserved.