home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 January
/
Chip_2004-01_cd1.bin
/
program
/
ctenari
/
Antonin
/
instalace.ba_
/
instalace.ba
Wrap
Text File
|
2003-11-16
|
5KB
|
147 lines
@echo off
echo II II II IIIIIIII IIIIIIII II II II
echo II IIII II II II IIII II II
echo II II II II II II II II II II
echo II II II II IIIIIII II II II II II
echo II II II II II II IIIIIIIIII II II
echo II II IIII II II II II II II
echo II II II IIIIIII II II II IIIIII IIIIII
echo V1.1. Karel Antonφn (c) 2003 MS-DOS Instalacni program.
echo .
echo .
echo .
echo .
echo .
echo .
echo .
echo .
echo .
echo .
echo .
echo Instalacni program zkopiruje soubory na vas pevny disk.
echo Adresar pro program je C:\
echo.
pause
@echo off
echo Program vytvari adresare...
echo .
echo Program adresare USPESNE vytvoril.
echo .
echo Program kopiruje soubory...
echo -
if not exist C:\Windows\System\comdlg32.ocx goto INS
if not exist C:\Windows\System\dblist32.ocx goto INS
if not exist C:\Windows\System\richtx32.ocx goto INS
if not exist C:\Windows\System\comctl32.ocx goto INS
if not exist C:\Windows\System\dbgrid32.ocx goto INS
if not exist C:\Windows\System\msdxm.ocx goto INS
if not exist C:\Windows\System\tabctl32.ocx goto INS
if not exist C:\Windows\System32\comdlg32.ocx goto INS
if not exist C:\Windows\System32\dblist32.ocx goto INS
if not exist C:\Windows\System32\richtx32.ocx goto INS
if not exist C:\Windows\System32\comctl32.ocx goto INS
if not exist C:\Windows\System32\dbgrid32.ocx goto INS
if not exist C:\Windows\System32\msdxm.ocx goto INS
if not exist C:\Windows\System32\tabctl32.ocx goto INS
echo Neni nutne kopirovat systemove soubory,
echo soubory jsou na tomto pocitaci jiz nainstalovany.
goto NEI
:INS
echo Program kopiruje systemove soubory VB 4.0....
echo comdlg32.ocx (system)
copy D:\SD\comdlg32.ocx C:\Windows\System\comdlg32.ocx
echo dblist32.ocx (system)
copy D:\SD\dblist32.ocx C:\Windows\System\dblist32.ocx
echo richtx32.ocx (system)
copy D:\SD\richtx32.ocx C:\Windows\System\richtx32.ocx
echo comctl32.ocx (system)
copy D:\SD\comctl32.ocx C:\Windows\System\comctl32.ocx
echo dbgrid32.ocx (system)
copy D:\SD\dbgrid32.ocx C:\Windows\System\dbgrid32.ocx
echo msdxm.ocx (system)
copy D:\SD\msdxm.ocx C:\Windows\System\msdxm.ocx
echo tabctl32.ocx (system)
copy D:\SD\tabctl32.ocx C:\Windows\System\tabctl32.ocx
echo comdlg32.ocx (system 32)
copy D:\SD\comdlg32.ocx C:\Windows\System32\comdlg32.ocx
echo dblist32.ocx (system 32)
copy D:\SD\dblist32.ocx C:\Windows\System32\dblist32.ocx
echo richtx32.ocx (system 32)
copy D:\SD\richtx32.ocx C:\Windows\System32\richtx32.ocx
echo comctl32.ocx (system 32)
copy D:\SD\comctl32.ocx C:\Windows\System32\comctl32.ocx
echo dbgrid32.ocx (system 32)
copy D:\SD\dbgrid32.ocx C:\Windows\System32\dbgrid32.ocx
echo msdxm.ocx (system 32)
copy D:\SD\msdxm.ocx C:\Windows\System32\msdxm.ocx
echo tabctl32.ocx (system 32)
copy D:\SD\tabctl32.ocx C:\Windows\System32\tabctl32.ocx
echo Program zkopiroval systemove soubory.
:NEI
if not exist C:\recycle.sds goto NNN
if not exist C:\news.sds goto NNN
if not exist C:\news2.sds goto NNN
if not exist C:\schedule.exe goto NNN
echo Neni nutne kopirovat soubory programu,
echo soubory jsou na tomto pocitaci jiz nainstalovany.
goto NII
:NNN
echo Program kopiruje soubory programu.
copy D:\SD\recycle.sds C:\recycle.*
copy D:\SD\news.sds C:\news.*
copy D:\SD\news2.sds C:\news2.*
copy D:\SD\icon.ico C:\icon.*
copy D:\SD\schedule.exe C:\schedule.*
:NII
echo -
echo Program zkopiroval soubory na vas pevny disk.
echo.
echo.
echo.
echo.
echo Program zkontroluje existenci souboru.
if not exist C:\Windows\System\comdlg32.ocx goto NOEXST
if not exist C:\Windows\System\dblist32.ocx goto NOEXST
if not exist C:\Windows\System\richtx32.ocx goto NOEXST
if not exist C:\Windows\System\comctl32.ocx goto NOEXST
if not exist C:\Windows\System\dbgrid32.ocx goto NOEXST
if not exist C:\Windows\System\msdxm.ocx goto NOEXST
if not exist C:\Windows\System\tabctl32.ocx goto NOEXST
if not exist C:\Windows\System32\comdlg32.ocx goto NOEXST
if not exist C:\Windows\System32\dblist32.ocx goto NOEXST
if not exist C:\Windows\System32\richtx32.ocx goto NOEXST
if not exist C:\Windows\System32\comctl32.ocx goto NOEXST
if not exist C:\Windows\System32\dbgrid32.ocx goto NOEXST
if not exist C:\Windows\System32\msdxm.ocx goto NOEXST
if not exist C:\Windows\System32\tabctl32.ocx goto NOEXST
if not exist C:\recycle.sds goto NOEXST2
if not exist C:\news.sds goto NOEXST2
if not exist C:\news2.sds goto NOEXST2
if not exist C:\schedule.exe goto NOEXST2
goto R
:R
echo Instalace byla uspesna, program nyni spousti Schedule Doctor
C:
schedule.exe
:S
echo Nyni ukoncete program. (ALT+F4, krizek v pravem hornim rohu)
echo.
goto PRRE
:NOEXST
echo Jeden nebo vice systemovych souboru instalace nemohla zkopirovat,
echo restartujte pocitac a spustte instalaci znovu,
echo pripadne zkontrolujte atributy disku (jestli neni aktivovano
echo Read Only) a jestli neni disk vadny (spustte program ScanDisc)
echo SPOUSTEJTE INSTALACI POUZE Z ADRESARE NA CD-ROMu (D:\SD\setup.bat)
goto S
:NOEXST2
echo Jeden nebo vice programovych souboru nemohla instalace zkopirovat,
echo restartujte pocitac a spustte instalaci znovu,
echo pripadne zkontrolujte atributy disku (jestli neni aktivovano
echo Read Only) a jestli neni vadny sektor (spustte program ScanDisc).
goto S
:PRRE
goto PRRE