You can distribute AMV.EXE (main program) file with your program. Your installation program may put this file into any folder. To register COM interface, you should run the following command:
AMV.EXE –RegServer –Registration YOUR-LICENSE-NUMBER
AMV will start in the "silent" mode (i.e. without creating its own window), register COM server and type library (-RegServer key), store your license number into the registry (-Registration key) and terminate. Note, the license number is not the same as your AMV serial number, and have to be purchased separately (see the details below). If the license number is valid then program will terminate with code 1 (errorlevel), and with code 2 otherwise. Code 0 means, that no –Registration key was found in command line. To get message with result of your license number processing, add –MSG key to command line:
AMV.EXE –RegServer –Msg –Registration YOUR-LICENSE-NUMBER
When you uninstall your application, you must make the following call:
AMV.EXE -ClearRegistry
AMV will unregister COM server and remove all created keys from registry.
AMV settings are placed into the following registry section:
HKLM\Software\Elcom\Advanced Maillist Verify
Unfortunately, you can’t configure current version of AMV through COM interface. Your application must write necessary AMV settings directly to the AMV registry section.
See also: Information for programers