#30824 - 2002-10-17 10:57 AM
Updated Kix, Old script wouldn't run
|
RoSkovs
Fresh Scripter
Registered: 2002-10-17
Posts: 6
|
I did a update on the KIX on the server, and kept the old scripts as they where, but they didn't work as usaly.
Heres how
Every computers doesn't have a desktop and some other things are taken away in the mainscript
but in the main script I also got " If InGroup("DeskTop") Call "DeskTop.kix" EndIf "
So they who are in Desktop group will be taken to the other script and at the end of DeskTop.kix " :ExitPoint
Return "
and in mainscript again " :ExitPoint
Cookie1 Exit "
But it seem like its not running desktop.kix or it's not going to the end of the mainscript after running desktop.kix
anyone that can see what I do wrong in the new kix here ?
|
|
Top
|
|
|
|
#30826 - 2002-10-17 01:37 PM
Re: Updated Kix, Old script wouldn't run
|
RoSkovs
Fresh Scripter
Registered: 2002-10-17
Posts: 6
|
All the clients are Win9x. They are working but they are working as the Desktop.kix never have been taken place.
I did a kxrpc -remove and in the new one I took Kxrpc -install so I think all that should be in order.
|
|
Top
|
|
|
|
#30829 - 2002-10-17 03:53 PM
Re: Updated Kix, Old script wouldn't run
|
RoSkovs
Fresh Scripter
Registered: 2002-10-17
Posts: 6
|
Thanks for the ideas, I will try this and come back with a feedback
|
|
Top
|
|
|
|
#30830 - 2002-10-18 08:01 AM
Re: Updated Kix, Old script wouldn't run
|
RoSkovs
Fresh Scripter
Registered: 2002-10-17
Posts: 6
|
Nothing have worked, I tried to make the script like Lonkero said, but that didn't solve my problem.
quote: Put DEBUG ON into the first line of your main script and step though the code. Also, I do not think you can have the same label ":ExitPoint" at multiple locations of your script, even if they are spread over different files.
Yes :Exitpoint are at the end of every exstra scripts, this have worked with the last version of Kixstart that I had, but maybe this have changed ?
The point with DeskTop.kix are that it shall return to the :Exitpoint in the main script not return where it was before it switch over to Desktop.kix
|
|
Top
|
|
|
|
#30832 - 2002-10-18 09:45 AM
Re: Updated Kix, Old script wouldn't run
|
RoSkovs
Fresh Scripter
Registered: 2002-10-17
Posts: 6
|
So that will say that I shall instead of
:Exitpoint in desktop.kix have
GOTO "Exitpoint" [ 18. October 2002, 09:47: Message edited by: RoSkovs ]
|
|
Top
|
|
|
|
#30834 - 2002-10-21 09:38 AM
Re: Updated Kix, Old script wouldn't run
|
RoSkovs
Fresh Scripter
Registered: 2002-10-17
Posts: 6
|
First I will thanks everyone that di replay my post (Lonkero and sealeopard)
I did find out my problem when I tried out everything you said, and had to do a lot of test and fail.
The soulution to my problem was (Running win NT4.0 server)
Group "DeskTop" was loacl groupe and not global, then where the old KIX did find the users the new one didn't, so the soulution was to make DeskTop group into a global group and then the script went on as it did before the upgrade of KIX.
|
|
Top
|
|
|
|
#30835 - 2002-12-05 04:48 PM
Re: Updated Kix, Old script wouldn't run
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear,
To prevent possible upgrading problems with ingroup function we are always using the format
code:
IF (InGroup("Desktop") <> 0) ? "user is member from local or global group" ELSE ? " user is not a member of group DESKTOP" ENDIF
greetings.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 581 anonymous users online.
|
|
|