TheScarms(tm) AppSentinel - Installation & Distribution Instructions
(Version 1.5.0)

 

Extracting AppSentinel Files Using WinZip
(Get a free copy of WinZip from
www.Winzip.com. The following instructions apply to Winzip V8.0 or newer.)
  1. Download AppSentinel.zip to a folder of your choice on your development PC.


  2. Open Windows Explorer and navigate to that folder.


  3. Right click AppSentinel.zip and select Extract to.


  4. In the Extract to field enter C:\.


  5. Check the Use folder names option.


  6. Extracting AppSentinel files with WinZip.

  7. Click Extract.


  8. Close WinZip.


  9. A set of folders, similar to the following, will be created:

    AppSentinel directory structure


  10. See the Installing the AppSentinel DLL section below.
Extracting AppSentinel Files With Windows XP Extraction Wizard
  1. Download AppSentinel.zip to a folder of your choice on your development PC.


  2. Open Windows Explorer and navigate to that folder.


  3. Right click on AppSentinel.zip and Select Extract All.


  4. At the Extraction Wizard screen click Next


  5. When asked to select a folder, enter C:\ and click Next.


  6. Uncheck the Show extracted files and click Finish.


  7. A set of folders similar those listed in the above Extracting ... Using WinZip topic will be created.


  8. See the Installing the AppSentinel DLL section below.
Installing the AppSentinel DLL

There are two DLLs located in the Bin folder. The shorter named one is the AppSentinel DLL. Its actual name is intentionally ommitted here. The AppSentinel DLL is an ActiveX DLL and must be registered with Windows prior to use.

  1. Click the Start button and select Run.


  2. Type the following as one line:

    C:\...\Regsvr32 C:\...\xxx.dll

    Where "..." is the full path to the AppSentinel\Bin folder and xxx.dll is the actual name of the DLL.

    To install the DLL in another folder, copy it to the desired folder and modify the path accordingly.


  3. Click OK.
UnInstalling the AppSentinel DLL

Once the AppSentinel DLL is registered, it must be unregistered prior to moving or deleting it.

  1. Click the Start button and select Run.


  2. Type in the following as one line:

    C:\...\Regsvr32 -u C:\...\xxx.dll

    Where "..." is the full path to the AppSentinel\Bin folder or the folder used in the
    above step. Also, xxx.dll is the actual name of the AppSentinel DLL (intentionally ommited here).


  3. Click OK.


  4. You may now delete or move the DLL to another folder. If it is moved, you must again register it as described above.
Adding AppSentinel to Your Application

Several complete sample programs, written in Visual Basic 6.0 SP5, are provided to show you how to incorporate AppSentinel into your application.

  1. Navigate to the AppSentinel Samples folder.


  2. Open the desired sub folder. The ReadMe.txt file summarizes the sample program.


  3. Double click on the .VBP file to open the sample in VB.


  4. All code is highly commented and easy to follow.


  5. You can run and step through the sample program once you have registered the DLL.
  • C:\...\AppSentinel\CallingConventions.htm describes all of the DLL's methods and properties.


  • C:\...\AppSentinel\AppSentinelErrors.rtf lists all error messages produced by the DLL.
AppSentinelAdmin

The AppSentinel Admin DLL is used to generate Registration IDs and is meant to be run by you on a computer within your company. The AppSentinel Control Panel is provided for this purpose.

Alternatively, you can create your own interface into AppSentinelAdmin by calling its functionality from your own program or invoking it through a browser via an Active Server Page.

Regardless of how you invoke the DLL, it first be registered on the development machine or web server on which it resides. To register AppSentinelAdmin, follow the steps outlined above replacing xxx.dll with the actual name of the AppSentinel Admin DLL.

  • C:\...\AppSentinelAdmin Samples\VB contains a sample program, written in Visual Basic 6.0 SP5, which illustrates calling all of the DLL's methods and properties. You can model your own interface after this sample.


  • C:\...\AppSentinelAdmin Samples\ASP shows how to invoke the DLL from an Active Server Page.
AppSentinel Control Panel

The AppSentinel Control Panel invokes the functionality of AppSentinelAdmin to generate Registration IDs.

  1. Verify the AppSentinel Admin DLL is registered as discussed above.


  2. Navigate to the C:\...\AppSentinel\Bin folder.


  3. Double click on ControlPanelT.exe to run the Control Panel.


  4. Enter an Evaluation ID and Machine ID.


  5. Click Calculate Registration ID to create the Registration ID.


Release Version of AppSentinel Components

The free trial version of AppSentinel consists of the trial versions of the AppSentinel and Admin DLLs and the ControlPanel EXE file. These files have names ending with the letter "T" and are for your evaluation only and are not to be distributed.

The release version consists of the full AppSentinel and AppSentinel Admin DLLs and the ControlPanel EXE file. The release version of these files have names that do not end with the letter "T". Of these files, only the AppSentinel DLL can be distributed (see the License.rtf file).

After purchasing the release version, you must register the DLLs as described
above replacing the trial version name with the release version name.

Distributing AppSentinel With Your Application

The AppSentinel DLL must be distributed with your application. Your installation package must copy and register the DLL on the target PC.

To assist in distributing the DLL, the .DEP file located in the Bin folder contains all file dependency information. Dependent files are the standard files required for a Visual Basic application. If you use the Packaging & Deployment Wizard or Windows Installer to package your application, all necessary information will be read from the .DEP file provided it resides in the same folder as the DLL.


Other Useful Documents

Several documents are included in the download that you may find helpful:

  • The WhatsNew.txt file identifies what has changed in this version of AppSentinel.


  • The CallingConventions.htm document lists all AppSentinel's properties and methods and tells how to use them.


  • AppSentinelErrors.rtf lists all error messages generated by AppSentinel.


  • ObjectBinding.htm explains how to reference the trial/release AppSentinel DLL in your application and explains how to use early or late binding.


  • The License.rtf file contains the AppSentinel license agreement.


TheScarms(tm) AppSentinel © Copyright 2002 David Scarmozzino
All Rights Reserved
www.TheScarms.com/AppSentinel