#26517 - 2002-08-05 05:40 PM
Script Error
|
mhs
Lurker
Registered: 2002-08-05
Posts: 2
Loc: Brazil
|
Hi, I´m running the version 4.02 of kixtart. My NT and W95 Workstations are running well but my W98 workstations are getting the folowing message:
Script Error: Falied to Find;Open Script.
Tks,
_________________________
Mauro Sato
|
|
Top
|
|
|
|
#26519 - 2002-08-05 07:09 PM
Re: Script Error
|
mhs
Lurker
Registered: 2002-08-05
Posts: 2
Loc: Brazil
|
Here is my batch file that calls the executable:
@echo off
@echo Carregando ... if exist c:\winnt\kix402.ok goto kix_nt if exist c:\windows\kix402.ok goto kix_9x if exist c:\windows\nul goto w95-kix
:nt-kix del c:\winnt\kix*.* copy %0\..\Files\Kix2001\*.* c:\winnt @echo Installation completed >c:\winnt\kix402.ok goto kix_nt
:w95-kix del c:\windows\kix*.* copy %0\..\Files\Kix2001\*.* c:\windows @echo Installation completed >c:\windows\kix402.ok goto kix_9x
:kix_nt c:\winnt\wkix32.exe %0\..\cea.kix goto server
:kix_9x c:\windows\wkix32.exe %0\..\cea.kix goto server
:server @echo off
_________________________
Mauro Sato
|
|
Top
|
|
|
|
#26521 - 2002-08-05 07:33 PM
Re: Script Error
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11634
Loc: Space
|
Here is a batch method that verifies all required files are there before calling it locally... otherwise it calls it from the NETLGON share point.
code:
@ECHO OFF CLS IF "%OS%" == "Windows_NT" GOTO Kix_WinNT IF NOT "%OS%" == "Windows_NT" GOTO Kix_Win9X :Kix_WinNT IF EXIST %windir%\kix402.ok GOTO Server ECHO Please wait... Updating the KiXtart program ECHO files on your system. This may take a few minutes... IF EXIST %windir%\kix32.exe DEL %windir%\kix32.exe IF EXIST %windir%\kx95.dll DEL %windir%\kx95.dll IF EXIST %windir%\kx16.dll DEL %windir%\kx16.dll IF EXIST %windir%\kx32.dll DEL %windir%\kx32.dll IF EXIST %windir%\system32\kix32.exe DEL %windir%\system32\kix32.exe IF EXIST %windir%\system32\kx95.dll DEL %windir%\system32\kx95.dll IF EXIST %windir%\system32\kx16.dll DEL %windir%\system32\kx16.dll IF EXIST %windir%\system32\kx32.dll DEL %windir%\system32\kx32.dll XCOPY %0\..\kix32.exe %windir%\. /H /I /R > NUL @echo KiXtart v4.02: installation completed > %windir%\kix402.ok GOTO Server :Kix_Win9X IF EXIST %windir%\kix402.ok GOTO Server ECHO Please wait... Updating the KiXtart program ECHO files on your system. This may take a few minutes... IF EXIST %windir%\kix32.exe DEL %windir%\kix32.exe IF EXIST %windir%\kx95.dll DEL %windir%\kx95.dll IF EXIST %windir%\kx16.dll DEL %windir%\kx16.dll IF EXIST %windir%\kx32.dll DEL %windir%\kx32.dll IF EXIST %windir%\system\kx95.dll DEL %windir%\system\kx95.dll IF EXIST %windir%\system\kx16.dll DEL %windir%\system\kx16.dll IF EXIST %windir%\system\kx32.dll DEL %windir%\system\kx32.dll XCOPY %0\..\kix32.exe %windir%\. /H /I /R > NUL XCOPY %0\..\kx16.dll %windir%\system\. /H /I /R > NUL XCOPY %0\..\kx32.dll %windir%\system\. /H /I /R > NUL XCOPY %0\..\kx95.dll %windir%\system\. /H /I /R > NUL @echo KiXtart v4.02: installation completed > %windir%\kix402.ok :Server @echo off REM ** BEGIN CHECK FOR DIAL-UP CONNECTION ** :CHECK_RAS CLS echo Please wait - Network authentication is being verified . . . ECHO. IF EXIST %WINDIR%\CHECKRAS.EXE GOTO LOCAL copy %0\..\CHECKRAS.EXE %WINDIR% GOTO LOCAL
:LOCAL %WINDIR%\CHECKRAS.EXE > nul IF ERRORLEVEL 1 GOTO SLOW GOTO NOT_RAS
:SLOW echo Please wait - Network authentication is being verified . . . echo. %windir%\Kix32.exe %0\..\kix32.exe DIALIN.kix GOTO END
REM ** END CHECK FOR DIAL-UP CONNECTION **
:NOT_RAS GOTO KIX
:KIX IF EXIST %windir%\Kix32.exe GOTO LOCALKIX %0\..\kix32.exe %0\..\logon.kix GOTO END
:LOCALKIX @ECHO OFF IF NOT "%OS%" == "Windows_NT" GOTO LOCAL9X %windir%\Kix32.exe %0\..\logon.kix GOTO END
:LOCAL9X @ECHO OFF IF EXIST %windir%\system\kx95.dll GOTO STEP1 %0\..\kix32.exe %0\..\logon.kix GOTO END
:STEP1 IF EXIST %windir%\system\kx16.dll GOTO STEP2 %0\..\kix32.exe %0\..\logon.kix GOTO END
:STEP2 IF EXIST %windir%\system32\kx32.dll GOTO STEP3 %0\..\kix32.exe %0\..\logon.kix GOTO END
:STEP3 IF EXIST %windir%\kix32.exe GOTO STEP4 %0\..\kix32.exe %0\..\logon.kix GOTO END
:STEP4 %windir%\Kix32.exe %0\..\logon.kix GOTO END
:END
|
|
Top
|
|
|
|
#26522 - 2002-08-06 12:09 AM
Re: Script Error
|
crassdummy
Lurker
Registered: 2002-07-31
Posts: 3
Loc: New York
|
I also get the same error message.... here is my script
;group mapping if ingroup('Technology') use k: '\\fs-sa-nj\it\technology share' endif ;user directory mapping use t: '\\fs-sa-nj\it\technology\'+@USERID use t: '\\fs-sa-nj\it\technology\'+@USERID+'$$'
|
|
Top
|
|
|
|
#26525 - 2002-08-06 12:28 AM
Re: Script Error
|
crassdummy
Lurker
Registered: 2002-07-31
Posts: 3
Loc: New York
|
In USR MGR I post in the profile \\pdc\netlogon and in the logon script name I post the file kix32.exe. This is a NT 4 domain.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1808 anonymous users online.
|
|
|