home *** CD-ROM | disk | FTP | other *** search
Wrap
/* Copyright (c) Oracle Corporation 1992, 1993. All Rights Reserved */ /***************************************************************************** NAME spxs11.dei - OS/2 V3 de-installation script for SQL*Net SPX. DESCRIPTION This script removes the OS/2 SQL*Net SPX files and un-registers the product (client version). VERSION 1.1.1.6 OWNER Tony Rodgers MODIFIED DD-MMM-YY Reason trodgers 10-APR-92 Created. Calvin 21-FEB-92 Modify for standalone install. *****************************************************************************/ { /***************************************************************************** Set up strings for NLS ... *****************************************************************************/ net1_deinstall_prompt01 = nls("net1 deinstall prompt01","WARNING: Other products are dependent on %%registry_label%%. Are you sure you want to deinstall it?"); net1_deregister = nls("net1 deregister","Unregistering %%registry_label%%..."); net1_deinstall_dlls = nls("net1 deinstall dlls","Deinstalling %%registry_label%% DLLs..."); net1_deinstall_scripts = nls("net1 deinstall scripts","Deinstalling %%registry_label%% Installation Scripts..."); /***************************************************************************** Bind string constants ... *****************************************************************************/ registry = registration("os2spxc11"); registry_label = registry_interface_label(registry); /***************************************************************************** Start main logic ... *****************************************************************************/ ui_product(registry_label); doit = FALSE; if (unreferenced(registry)) doit = TRUE; else if (not(internally_called)) if (uniquely_self_referenced(registry)) doit = TRUE; else doit = yesno_dialog(instantiate(net1_deinstall_prompt01)); if (doit) { ui_product(registry_label); ui_action(instantiate(net1_deregister)); unregister(registry); ui_action(instantiate(net1_deinstall_dlls)); remove(dll); ui_action(instantiate(net1_deinstall_scripts)); remove(deinstl); } }