home *** CD-ROM | disk | FTP | other *** search
INI File | 2003-09-15 | 7.2 KB | 244 lines |
- [INIT]
-
- #define __ASK_UNINST_PAGE__ TRUE
-
- Version = 2.05.00 ; Script Version
- ProgShowName = Tobit ClipInc.
- ProgShortName = Tobit ClipInc.
- ;ProgramGroup = Tobit Software\%P
- UninstallShowName = Tobit Uninstall
- HeadLine = Uninstall
- FromYear = 2003
- Uninstall = TRUE
- UninstIcon = 0
- Languages = ger [Deutsch]
- DefaultLanguage = ger
- ResPath =
- TobitCltPath = %(windir)\
-
-
- ;; ----------------------------------------------------------------------------
-
- #RegQueryValue ("HKEY_LOCAL_MACHINE", "Software\Tobit\Tobit ClipInc\Server", "RootDirectory", "RootDirectory");
- #RegQueryValue ("HKEY_LOCAL_MACHINE", "Software\Tobit\Tobit ClipInc\Server\Setup", "Language", "CurrentLanguage");
- ;#RegQueryValue ("HKEY_LOCAL_MACHINE", "Software\Tobit\Tobit ClipInc\Server\Setup", "ProgramGroup", "ProgGroup");
-
- #RegQueryValue ("HKEY_LOCAL_MACHINE", "Software\Tobit\David", "RootDirectory", "DavidRoot");
- #RegQueryValue ("HKEY_CURRENT_USER", "Software\Tobit\Tobit InfoCenter\Settings", "ProgramDirectory", "TICDir");
-
- #ifdef RootDirectory
- TargetDir = %(RootDirectory)\
- #undef RootDirectory
- #else
- #Exit
- #endif
-
- ;#ifdef CurrentLanguage
- ; Languages = %(CurrentLanguage)
- ; DefaultLanguage = %(CurrentLanguage)
- ; #Undef CurrentLanguage
- ;#endif
-
- ;#ifdef ProgGroup
- ; ProgramGroup = "%(ProgGroup)"
- ; #undef ProgGroup
- ;#endif
-
- #RegQueryValue ( "HKEY_LOCAL_MACHINE", "Software\Microsoft\Windows\CurrentVersion", "ProgramFilesDir", "ProgramFilesDir" );
-
- ;---- Client Uninstall -----------------------------
- #RegQueryValue ("HKEY_CURRENT_USER", "Software\Tobit\Tobit ClipInc\Client", "RootDirectory", "ClientRootDir");
- #ifdef ClientRootDir
- #define ClientInstalled TRUE
- #define __ASK_UNINST_PLAYER__ TRUE
- #endif
-
- ;---------------------------------------------------
-
- ;; ============================================================================
- ;; ============================================================================
-
- [COPY]
-
- ;---- Client Uninstall -----------------------------
- #ifndef __ASK_UNINST_PLAYER__
- #undef ClientRootDir
- #else
- #CloseWnd ( "NULL", "Tobit ClipInc." );
- #Sleep 2000
-
- #CheckRunning "%(ClientRootDir)\ClipInc-Player.exe"
- #if !#Result
- #MessageBox ("##[PLAYER_RUNNING_%l]", "", "MB_OK | MB_ICONERROR");
- #endif
- #endif
- ;---------------------------------------------------
-
- #SetDlgCheckBmpState1 = 1
-
- #ServiceExec ("%t\ClipInc-Server.exe", "001 -u");
- #ServiceExec ("%t\ClipInc-Server.exe", "002 -u");
- #ServiceExec ("%t\ClipInc-Server.exe", "003 -u");
- #ServiceExec ("%t\ClipInc-Server.exe", "004 -u");
- #ServiceExec ("%t\ClipInc-Server.exe", "005 -u");
- #Sleep 100
-
- #SetDlgCheckBmpState1 = 2
-
- #SetDlgCheckBmpState2 = 1
- #Sleep = 2000
-
-
- #SetDlgCheckBmpState2 = 2
- #SetDlgCheckBmpState3 = 1
- #Sleep = 2000
-
- #RootDel "%(TargetDir)"
- #RootDel "%(TargetDir)\..\Setup"
- #StrReplace( "%(TargetDir)", "\Server", "", "ClipIncRoot" );
- #ifdef ClipIncRoot
- #EmptyDel "%(ClipIncRoot)"
- #endif
- #EmptyDel "%(ProgramFilesDir)\Tobit ClipInc"
-
- ;---- Client Uninstall -----------------------------
- #ifdef ClientRootDir
- #RootDel %(ClientRootDir)
- #StrReplace( "%(ClientRootDir)", "\Player", "", "ClipIncRoot" );
- #ifdef ClipIncRoot
- #EmptyDel "%(ClipIncRoot)"
- #endif
- #EmptyDel "%(ProgramFilesDir)\Tobit ClipInc"
- #endif
- ;---------------------------------------------------
-
-
- #rootdir=
- #destpath=%(windir)\
- #ifndef DavidRoot
- #ifndef TICDir
- #if ( !defined( ClientInstalled ) || defined( ClientRootDir ) )
- ;#Del Tobitclt.dll
- #SharedFileRemove( "%(windir)\TOBITCLT.DLL", 4 );
- #endif
- #endif
- #endif
-
-
- #rootdir=
- #destpath=%(WinSysDir)\
- #ifndef DavidRoot
- #Del davidlib.dll
- #Del dvmsg.dll
- #Del tobit32.dll
- #endif
-
- #SetDlgCheckBmpState3 = 2
- #SetDlgCheckBmpState4 = 1
- #Sleep = 1000
-
-
- #rootdir=
- #destpath=
-
- ;---- Client Uninstall -----------------------------
- #ifdef ClientRootDir
- #RegQueryValue ("HKEY_CURRENT_USER", "Software\Tobit\Tobit ClipInc\Client\Setup", "ProgramGroup", "ClientProgramGroup");
- #ifdef ClientProgramGroup
- #RootDel "%g\%(ClientProgramGroup)"
- #Sleep=1000
- #endif
- #EmptyDel "%g\Tobit"
- #EmptyDel "%g\Tobit Software"
- #endif
- ;---------------------------------------------------
-
- ;#RootDel %g\%G
- ;#Sleep=1000
- ;#EmptyDel "%g\Tobit"
- ;#EmptyDel "%g\Tobit Software"
-
- #SetDlgCheckBmpState4 = 2
- #SetDlgCheckBmpState5 = 1
- #Sleep = 1000
-
- ;---- Client Uninstall -----------------------------
- #ifdef ClientRootDir
- #GetProgGroupPath ( "DesktopDir", "DESKTOPDIR" );
- #ifdef DesktopDir
- #ShortCutDel ( "%(DesktopDir)", "Tobit ClipInc.." );
- #undef DesktopDir
- #endif
- #GetProgGroupPath ( "AppData", "APPDATA" );
- #ifdef AppData
- #ShortCutDel ( "%(AppData)\Microsoft\Internet Explorer\Quick Launch", "Tobit ClipInc.." );
- #undef AppData
- #endif
- ;#GetProgGroupPath ( "StartupPath", "STARTUP" );
- ;#ifdef StartupPath
- ; #ShortCutDel ( "%(StartupPath)", "Tobit ClipInc.." );
- ; #undef StartupPath
- ;#endif
- #endif
- ;---------------------------------------------------
-
-
- #SetDlgCheckBmpState5 = 2
- #SetDlgCheckBmpState6 = 1
- #Sleep = 1000
-
-
- #RegDeleteKey ("HKEY_LOCAL_MACHINE", "Software\Tobit", "Tobit ClipInc");
- #RegDeleteKey ("HKEY_LOCAL_MACHINE", "Software\Microsoft\Windows\CurrentVersion\Uninstall", "Tobit ClipInc Server");
-
- ;---- Client Uninstall -----------------------------
- #ifdef ClientRootDir
- #RegDeleteKey ("HKEY_CURRENT_USER", "Software\Tobit", "Tobit ClipInc");
- #RegDeleteKey ("HKEY_LOCAL_MACHINE", "Software\Microsoft\Windows\CurrentVersion\Uninstall", "Tobit ClipInc Client");
- #endif
- ;---------------------------------------------------
-
- #GetDOSPath ( "%(winsysdir)\Tobit ClipInc.scr", "ScrShortFN", 0 );
- #RegQueryValue ( "HKEY_CURRENT_USER", "Control Panel\Desktop", "SCRNSAVE.EXE", "InstalledScrFN" );
- #ifdef InstalledScrFN
- #if stricmp( "%(ScrShortFN)", "%(InstalledScrFN)" )
- #SCREENSAVER( "%(ScrShortFN)", 1 );
- #rootdir=
- #destpath=%(winsysdir)\
- #del "Tobit ClipInc.scr"
- #RegDeleteKey ("HKEY_CURRENT_USER", "Software\Tobit\Tobit ClipInc", "Screen Saver Settings");
- #endif
- #endif
-
- #rootdir=
- #destpath=%(windir)\
- #del CISUnins.exe
-
- ;---- Client Uninstall -----------------------------
- #ifdef ClientRootDir
- #del CICUnins.exe
- #endif
- ;---------------------------------------------------
-
-
- #SetDlgCheckBmpState6 = 2
- #Sleep = 2000
-
- ;===================================================================================
- ;===================================================================================
- ;===================================================================================
-
- [PLAYER_RUNNING_GER]
- <html><b>Achtung!</b>
-
- Der Tobit ClipInc. Player ist noch gestartet!
- Beenden Sie zunΣchst den Tobit ClipInc. Player
- um mit der Deinstallation fortzufahren.
-
- [PLAYER_RUNNING_ENG]
- <html><b>Achtung!</b>
-
- Der Tobit ClipInc. Player ist noch gestartet!
- Beenden Sie zunΣchst den Tobit ClipInc. Player
- um mit der Deinstallation fortzufahren.
-