Uninstall Methods for OpenInsight .NET Components (Deployment,Installation)
Created at 02 DEC 2009 02:11PM
Background
OpenInsight version9.x relies on several supporting .NET components to run correctly. These components are:
OIPISetup
NetOISetup
RevDotNet
idxSets_Setup
Every workstation that runs OpenInsight 9.x should have all of these components listed in the Add/Remove Programs list.
Each control is managed by its own MSI installer. The ClientSetup.exe in the OpenInsight directory is the master client setup program that is responsible for installing and uninstalling each of the MSI files in addition to registering several OCX and DLL files.
Issue
Old components may cause new versions of the client setup program to fail. During the client setup process you may encounter one of the following errors messages if old components can't be automatically removed:
"Another version of this product is already installed. Installation of this version cannot continue. To configure ore remove the existing version of this product, use Add/Remove Programs on the Control Panel"
"Failed to register … - aborting - Client setup did NOT complete successfully."
Resolution
Removing all of the old OpenInsight .NET components from the system will resolve the problem and allow subsequent installations of the client setup program to succeed. There are three possible methods to accomplish this.
1. Uninstall the OpenInsight Development Suite - Client
In the add/remove programs list uninstall "OpenInsight Development Suite - Client 9.x". The uninstall process will attempt to remove the .NET components and unregister OCX controls. After the uninstall process completes refresh the add/remove programs list and verify the .NET components listed in the beginning of this article are no longer listed.
2. Manual Removal of Each Component
Open the add/remove programs list and uninstall each component .NET component. When all of the components are removed the client setup process should succeed.
3. Use the UninstallOIComponentsScript
Download and run the following script to remove each of the components. The script parses the list of installed programs, looks for the .NET components and sends an uninstall request to each component. Upon completion all of the OpenInsight .NET components should be removed from the system and you can attempt to run the client setup process again.
If you are familiar with VB Script you can customize the script for use in network environments or custom applications. Run it as part of your administration script to prepare each workstation prior to an upgrade.
For single workstations uninstalling the development suite client or manual removal of the components is the easiest option. For networks and larger environments scripting the uninstall of the development suite client or using the UninstallOIComponents script is recommended.