Page 1 of 1 1
Topic Options
#26517 - 2002-08-05 05:40 PM Script Error
mhs Offline
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
#26518 - 2002-08-05 06:38 PM Re: Script Error
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
A little bit more information would help.

1) How does your batch file look?

2) How do you call the KiXtart executable

3) How do you call the KiXtart script?
_________________________
There are two types of vessels, submarines and targets.

Top
#26519 - 2002-08-05 07:09 PM Re: Script Error
mhs Offline
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
#26520 - 2002-08-05 07:24 PM Re: Script Error
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
The one unusual thing that I notice is that if all three IF EXIST evalueate ot false the script will continue at :nt-kix

I think that you should have another GOTO in place for this eventuality.

Also, check out the LOGIN.BAT/LOGON.BAT fiels that others ahve posted and the example .BAt file in both the KiXtart manual and the Kixtart Starter's Guide
_________________________
There are two types of vessels, submarines and targets.

Top
#26521 - 2002-08-05 07:33 PM Re: Script Error
NTDOC Administrator Offline
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 Offline
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
#26523 - 2002-08-06 12:14 AM Re: Script Error
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
crashdummy,
your scripts stuff does not matter actually when you get the error script not found.
it means it does not find the script you just posted.
there is obvious reason for xp clients to fail to find the script (I think it's descriped in faq forum) but if you can't figure it out can you also post how you call your script?
_________________________
!

download KiXnet

Top
#26524 - 2002-08-06 12:25 AM Re: Script Error
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
crassdummy:

Deep mapping will only work under Windows 2000/XP, under Windows NT you must use SUBST, and you're out of louch with regards to windwos 9x. Please read the manual Appendix A, search the BBS for 'map root' and/or 'YAMD'.
_________________________
There are two types of vessels, submarines and targets.

Top
#26525 - 2002-08-06 12:28 AM Re: Script Error
crassdummy Offline
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
#26526 - 2002-08-06 12:36 AM Re: Script Error
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
in user manager you most likely (if you want to make it work on all windows version up from 3.11) want to use:
your_batch_file.bat
or:
your_batch_file

and then in the netlogon share call your kix from that same named batch. more on this in faq.
_________________________
!

download KiXnet

Top
#26527 - 2002-08-06 12:39 AM Re: Script Error
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
actually could not find it in faq.
anyway, probably your "basic batch" would look like:
wkix32 %0\..\logon.kix

or:
kix32 logon.kix

or similar.
_________________________
!

download KiXnet

Top
#26528 - 2002-08-06 01:19 AM Re: Script Error
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
remove the \\pdc\netlogon
and place the name of your batch file that is in your NETLOGON folder there.

Top
#26529 - 2002-08-06 01:31 AM Re: Script Error
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
les, kent:
why I was unable to find this topic on faq?
_________________________
!

download KiXnet

Top
#26530 - 2002-08-06 01:34 AM Re: Script Error
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Have you checked the KiXtart Starter's Guide?
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1808 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.08 seconds in which 0.038 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org