home *** CD-ROM | disk | FTP | other *** search
/ The John MacArthur Essential Bible Study Library / JohnMacArthurEssentialBibleStudyLibrary-Win2000.iso / Setup / Installs / LibronixUpdate.msi / F2480_PurgeLDLS.bat < prev    next >
DOS Batch File  |  2005-09-22  |  4KB  |  137 lines

  1. @echo off
  2. if "%1"=="purge" goto purge
  3.  
  4. cls
  5. echo.
  6. echo.
  7. echo.
  8. echo WARNING: this process will uninstall the core Libronix Digital Library System
  9. echo files from your computer. Your Libronix resources and licenses will 
  10. echo not be removed. 
  11. echo.
  12. echo Type Ctrl+C to cancel and answer Y, or
  13. pause
  14.  
  15. rem first time, copy self to temp folder and run from there
  16. copy PurgeLDLS.bat %temp% > nul
  17.  
  18. rem launch copy of self
  19. %temp%\PurgeLDLS.bat purge
  20.  
  21. rem finished
  22. goto done
  23.  
  24. :purge
  25. rem usage notes
  26. echo.
  27. echo This process will launch Windows Installer to uninstall each component 
  28. echo of the Libronix Digital Library System. Note that some components may 
  29. echo not be installed, in which case Windows Installer will display a message 
  30. echo to that effect. 
  31. echo.
  32. pause
  33. echo.
  34.  
  35. rem get proper path to msiexec.exe, make command line
  36. if "%OS%"=="Windows_NT" goto WindowsNT
  37. set MsiExecPath=start /wait "%windir%\System\msiexec.exe"
  38. goto continue
  39.  
  40. rem use local environment variables
  41. :WindowsNT
  42. setlocal
  43. set MsiExecPath=start /wait "" "%windir%\System32\msiexec.exe"
  44.  
  45. :continue 
  46. rem Libronix Update:
  47. echo Uninstalling Libronix Update...
  48. %MsiExecPath% /qb /x "{5F81DD9B-6A2F-11D4-903E-00E0293397B7}"
  49.  
  50. rem Common System Files:
  51. echo Uninstalling Common System Files...
  52. %MsiExecPath% /qb /x "{5F81DD89-6A2F-11D4-903E-00E0293397B7}"
  53.  
  54. rem Libronix Digital Library System:
  55. echo Uninstalling Libronix Digital Library System...
  56. %MsiExecPath% /qb /x "{5F81DD92-6A2F-11D4-903E-00E0293397B7}"
  57.  
  58. rem Libronix DLS Application:
  59. echo Uninstalling Libronix DLS Application...
  60. %MsiExecPath% /qb /x "{5F81DD97-6A2F-11D4-903E-00E0293397B7}"
  61.  
  62. rem Libronix DLS Shortcuts:
  63. echo Uninstalling Libronix DLS Shortcuts...
  64. %MsiExecPath% /qb /x "{CA0AF735-4583-413E-897F-E91A237EE2E1}"
  65.  
  66. rem Libronix DLS Shortcuts SESB:
  67. echo Uninstalling Libronix DLS Shortcuts SESB...
  68. %MsiExecPath% /qb /x "{91D0B34A-022D-4376-9E78-CE2957851F22}"
  69.  
  70. rem Libronix DLS Shortcuts Compubiblia:
  71. echo Uninstalling Libronix DLS Shortcuts Compubiblia...
  72. %MsiExecPath% /qb /x "{600345FE-E9D5-4273-8A1B-F32D03DFB40C}"
  73.  
  74. rem Libronix DLS Shortcuts BDEB:
  75. echo Uninstalling Libronix DLS Shortcuts BDEB...
  76. %MsiExecPath% /qb /x "{34F04178-AA96-4EBD-B233-83EC3D42C798}"
  77.  
  78. rem OEB Resource Driver:
  79. echo Uninstalling OEB Resource Driver...
  80. %MsiExecPath% /qb /x "{19991EAD-C273-47EB-87E8-0D274925230B}"
  81.  
  82. rem PDF Resource Driver:
  83. echo Uninstalling PDF Resource Driver...
  84. %MsiExecPath% /qb /x "{5F81DDA3-6A2F-11D4-903E-00E0293397B7}"
  85.  
  86. rem LLS Resource Driver:
  87. echo Uninstalling LLS Resource Driver...
  88. %MsiExecPath% /qb /x "{5F81DD9F-6A2F-11D4-903E-00E0293397B7}"
  89.  
  90. rem Bible Data Type System Files:
  91. echo Uninstalling Bible Data Type System Files...
  92. %MsiExecPath% /qb /x "{5F81DD84-6A2F-11D4-903E-00E0293397B7}"
  93.  
  94. rem Sentence Diagramming:
  95. echo Uninstalling Sentence Diagramming...
  96. %MsiExecPath% /qb /x "{A0EFB06D-0C7C-4A85-B1D3-65AF82536A7B}"
  97.  
  98. rem Graphical Query Editor:
  99. echo Uninstalling Graphical Query Editor...
  100. %MsiExecPath% /qb /x "{CC351B44-5610-43C5-81E6-A2C760CB0A20}"
  101.  
  102. rem Stuttgart Electronic Study Bible:
  103. echo Uninstalling Stuttgart Electronic Study Bible...
  104. %MsiExecPath% /qb /x "{B59C4B01-0880-4D48-8110-F48C5D99B890}"
  105.  
  106. rem Batch Update:
  107. echo Uninstalling Batch Update...
  108. %MsiExecPath% /qb /x "{72CB5335-6D2A-4207-B811-6CB6C6925039}"
  109.  
  110. rem Z 39.50 Library:
  111. echo Uninstalling Z 39.50 Library...
  112. %MsiExecPath% /qb /x "{E53A24DC-F90E-4372-937C-77E23DE0932B}"
  113.  
  114. rem Video Resource Driver:
  115. echo Uninstalling Video Resource Driver...
  116. %MsiExecPath% /qb /x "{0E16D716-ECAC-4881-ABB5-5017ACBDB2D7}"
  117.  
  118. rem Logos Smart Tags:
  119. echo Uninstalling Logos Smart Tags...
  120. %MsiExecPath% /qb /x "{B41B6AAE-020A-4132-90F5-3E4A565BA6DA}"
  121.  
  122. rem Clause Visualizer:
  123. echo Uninstalling Clause Visualizer...
  124. %MsiExecPath% /qb /x "{D0CE0D3A-6F06-43B7-93B2-46EED1E00B1D}"
  125.  
  126. rem end local environment variable usage
  127. if "%OS%"=="Windows_NT" endlocal
  128.  
  129. rem remove environment variable
  130. if not "%OS%"=="Windows_NT" set MsiExecPath=
  131.  
  132. echo.
  133. echo.
  134. echo Uninstall complete.
  135. echo.
  136.  
  137. :done