MCS

Home Up Legal Installation Current Version History

Installation
 

Developer Installation Options

The Common Control Objects can be installed in two ways:

  • Manual "Installation".  Download the ZIPped CCO runtime, which comes in both release and debug versions.  Installation consists of extracting files from the ZIP that you need -- typically a subset of the OPOS*.ocx files -- plus registering these COM objects, typically by using regsvr32.exe.  The batch file Register.bat in the ZIP will register all of the CCOs.  (For the debug version, the batch file RegisterDbg.bat registers all of the CCOs plus two files needed for generating the trace files.)

  • Wise Installation.  Run the Wise Install program, which will prompt you for a few options.  The installation program is the (aging) Wise InstallMaster 7, so the setup program is not an MSI install.

Automated Installation / Uninstallation

Many -- perhaps most -- vendors that need to deploy the CCOs to registers will choose to package the needed OPOS*.ocx files, perhaps as an InstallShield merge module that is part of the overall system and/or application deployment.  The CCOs should be marked for self-registration.

Should one choose to use the Wise Install directly, there are some available options that you may use to manage the install and uninstall process.  Most of these are as provided by the Wise 7 installer.

  • Installation.

You may run the Wise Install program with the silent install option "/S":
    OposCCOs-x_x_xxx.exe /S
This will install it as if you accepted all defaults.

For further tuning, runc
    OposCCOs-x_x_xxx.exe /S /M=OptionsFile
where OptionsFile is a text file containing one or more of the following lines:

DEST=path
   
where "path" = Destination path.
DOBACKUP=*
   
where "*" = 'A' for backup, or 'B' for no backup.
COMPONENTS=*
    where "*" = One or more of the characters:
        'A' to select COs
        'B' to select Includes
APPTITLE=TitleOfInstall
   
where "TitleOfInstall" appears in the Add/Remove Programs dialog.

An example option file follows.  It sets the destination directory, omits file backups, installs only the Control Objects, and sets the Add/Remove Programs name.

DEST=D:\Program Files\OPOS
DOBACKUP=B
COMPONENTS=A
APPTITLE=OPOS CCOs

  • Uninstallation.

Run the Wise uninstall program that is placed at the destination path plus "CommonCO\zOposCCOs\UNWISE.EXE".  If your install directory was "C:\OPOS", then uninstall with the command line:
    C:\OPOS\CommonCO\zOposCCOs\UNWISE.EXE [Options] C:\OPOS\CommonCO\zOposCCOs\INSTALL.LOG [Title]
where Title is the window title displayed during uninstall, and the relevant Options are:

/Z  Remove empty directories, including one with unwise itself in it
/A  Automatic mode, no user choices other than cancel
/S  Silent mode, automatic mode with no user choices
/U  Like automatic mode, but gives all choices other than custom/automatic

 

Web Site navigation aids:  Table-of-Contents.  Search.
Send mail to webmaster@monroecs.com with questions or comments about this web site.
Copyright © 2008 Monroe Consulting Services, Inc.