home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 February / PCWK0296.iso / po7_win / object10 / object10.dei < prev    next >
Text File  |  1995-01-06  |  5KB  |  134 lines

  1. /* Copyright (c) Oracle Corporation 1994.  All Rights Reserved */
  2. /*****************************************************************************
  3.   NAME
  4.     object10.dei - Windows V3 de-installation script for OO4W.
  5.  
  6.   DESCRIPTION
  7.     This script removes the OO4W files and un-registers the product.
  8.  
  9.   OWNER
  10.     Biju Albert
  11.  
  12.   MODIFIED    DD-MMM-YY Reason
  13.     balbert   01-DEC-94 Created.
  14. *****************************************************************************/
  15. {
  16.   { doit = execute("%installer_home%\windows.dei"); }
  17.   [
  18.     'UNBOUND_VARIABLE: signal('failure,instantiate(nls("instver_too_early2","The version of the Installer currently running is %%installer_version%%. The product(s) you have chosen to deinstall were installed with a later version of the Installer. Please use a later version of the Installer to deinstall these product(s).")));
  19.   ]
  20.  
  21.   if (doit)
  22.     {
  23.       /**********************************************************************
  24.          Ensure that the necessary environment variables are bound
  25.        **********************************************************************/
  26.       winsys = windows_system_directory();
  27.  
  28.       /**********************************************************************
  29.          Bind all NLS deinstall strings here...
  30.        **********************************************************************/
  31.  
  32.       unregistering = nls("unregistering","Unregistering %%registry_label%%...");
  33.       deinst_doc = nls("deinst_doc","Removing %%registry_label%% Informational Files...");
  34.       deinst_dll = nls("deinst_dll","Removing %%registry_label%% Dynamic Link Libraries...");
  35.       deinst_exe = nls("deinst_exe","Removing %%registry_label%% Executables...");
  36.       deinst_msg = nls("deinst_msg","Removing %%registry_label%% Message Files...");
  37.       deinst_script = nls("deinst_script","Removing %%registry_label%% Installation Scripts...");
  38.       deinst_class_library = nls("deinst_class_library",
  39.                                "Removing C++ Class Library Files...");
  40.       deinst_object_server = nls("deinst_object_server",
  41.                                "Removing Oracle Object Server Files...");
  42.       deinst_ole_libraries = nls("deinst_ole_libraries",
  43.                                "Removing Microsoft OLE 2.0 Library Files...");
  44.       deinst_vb_vba = nls("deinst_vb_vba",
  45.                                "Removing VB and VBA Support Files...");
  46.  
  47.  
  48.       /**********************************************************************
  49.          Continue with the deinstallation
  50.        **********************************************************************/
  51.  
  52.       ui_product(registry_label);
  53.  
  54. /*
  55.       ui_action(instantiate(deinst_doc));
  56.       remove(doc);
  57.       remove(pldoc);
  58.  
  59.       ui_action(instantiate(deinst_exe));
  60.       remove(exec);
  61.       remove(bin);
  62.  
  63.       ui_action(instantiate(deinst_msg));
  64.       remove(msg);
  65.       remove(plmsg);
  66. */
  67.       ui_action(instantiate(deinst_class_library));    
  68.       remove (CPPBMFCEMPEDIT);
  69.       remove (CPPBMFCEMPEDITRES);
  70.       remove (CPPBMFCH);
  71.       remove (CPPBMFCLIB);
  72.       remove (CPPBMFCLIBD);
  73.       remove (CPPBMFCSRC);
  74.       remove (CPPBOWL);
  75.       remove (CPPBOWLEMPEDIT);
  76.       remove (CPPBOWLH);
  77.       remove (CPPBOWLLIB);
  78.       remove (CPPBOWLLIBD);
  79.       remove (CPPBOWLSRC);
  80.       remove (CPPDOC);
  81.       remove (CPPH);
  82.       remove (CPPMFCBIN);
  83.       remove (CPPMFCBIND);
  84.       remove (CPPMFCLIB);
  85.       remove (CPPOWLBIN);
  86.       remove (CPPOWLBIND);
  87.       remove (CPPOWLLIB);
  88.       remove (CPPSRC);
  89.       remove (CPPWORK);
  90.       remove (CPPWORKBOUNDVAL);
  91.       remove (CPPWORKEMPEDT);
  92.       remove (CPPWORKEMPEDTRES);
  93.       remove (CPPWORKLOGDLG);
  94.       remove (CPPWORKPOSADV);
  95.       remove (CPPDEMOSQL);
  96. /*      remove (Files); */
  97.       ui_action(instantiate(deinst_object_server));    
  98.       remove (OIPBIN);
  99.       remove (OIPSRV);
  100.  
  101.       remove (OIPDOC);
  102.       remove (OO4W);
  103.       remove (OO4WREL);
  104. /*      ui_action(instantiate(deinst_ole_libraries));    */
  105. /*      remove (OLEBIN); */
  106. /*      remove (OLEREG); */
  107.       ui_action(instantiate(deinst_vb_vba));    
  108.       remove (VBBIN);
  109.       remove (VBDEPT);
  110.       remove (VBEMP);
  111.       remove (VBLOGIN);
  112.       remove (VBMSG);
  113.       remove (VBOBJ);
  114.       remove (VBPARM);
  115.       remove (VBQUOTE);
  116.       remove (VBRAISE);
  117.       remove (VBSQL);
  118.       remove (XSAMP);
  119.  
  120.       ui_action(instantiate(deinst_script));
  121.       remove(deinstl);
  122.  
  123.       if (registered("winrsf71"))
  124.       {
  125.         dependent = registration("winrsf71");
  126.         unreference(dependent,current_registry);
  127.       }
  128.  
  129.       ui_action(instantiate(unregistering));
  130.       unregister(current_registry);
  131.  
  132.     }
  133. }
  134.