MiniM. Saving time.


| About | Download | Tools | Knowledge Base | How to Buy |

MiniM Overview

Getting Started

Download

Documentation

Tools

Cache Tools

GT.M Tools

Knowledge Base

FAQ

Contacts

Copyrights

MiniM Knowledge Base | Oct 12, 2010

How to install ActiveX for MiniM Server Connect

ActiveX for MiniM Server Connect consists of two files (dynamic link libraries):

  • minimsc.dll - library of MiniM Server Connect
  • minimscx.dll - library of ActiveX objects

Installation of ActiveX for MiniM Server Connect requires to install both this files. First of ones (minimsc.dll) implements interaction protocol with MiniM Database Server, and second implements ActiveX interface for automation objects.

As long as one ActiveX component can be used by different applications independently from each other, it is recommended to install components by Microsoft recommendations, into special subdirectory of "Common Files" directory of Windows installation with subdirectory name derived from product or company name. Good choice can be subdirectory name "Common Files/MiniM". Installed files are 32-bit dynamic link libraries, so installer must use "Common Files" subdirectory for 32-bit applications.

After copying files it is required ActiveX registration. Registration can be done by special Windows utility

regsvr32.exe

or using internal installer functionality.

For example, if InnoSetup is used to create installer, installation description can be like this:

[Setup]
AppName=MiniM Server Connect ActiveX
AppVerName=MiniM Server Connect ActiveX
AppPublisher=Eugene Karataev
AppPublisherURL=http://www.minimdb.com
AppSupportURL=http://www.minimdb.com
AppUpdatesURL=http://www.minimdb.com
CreateAppDir=no
OutputDir=W:\MiniM\site\articles\installactivex
OutputBaseFilename=setup-minimsc
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Files]
Source: "W:\MiniM\minimsc\minimsc.dll"; 
  DestDir: "{cf32}/MiniM"; Flags: sharedfile
Source: "W:\MiniM\minimsc\MiniMSCX.dll"; 
  DestDir: "{cf32}/MiniM"; Flags: regserver sharedfile

This installation description creates installer of two files, which are placed into subdirectory "MiniM" of directory "C:\Program Files\Common Files" on 32-bit Windows or directory "C:\Program Files (x86)\Common Files" on 64-bit Windows.

After installation this files are marked as shared by different applications (sharedfile) and on uninstallation Windows checks counter of component usage.

Moreover, after installation MiniMSCX.dll is registered as an ActiveX library (regserver).

Also installer creates one item of installed programs and components can be uninstalled later with automatic checking counter of component usage.

Download setup-minimsc.exe (EXE, 0.56Mb)

Eugene Karataev
support@minimdb.com


Copyright (C) Eugene Karataev
Info Support