Jump to content











Photo
- - - - -

Exit command


  • Please log in to reply
8 replies to this topic

#1 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 04 May 2009 - 12:39 PM

I got an unexpected result running the following code in WB076:

[process]  If,ExistFile,%ProjectInfo%,Begin  IniRead,%ProjectInfo%,OS,Type,%OS%  End  If,ExistFile,%VistaInfo%,Begin  ReadENV  If,%SourceType%,Equal,VistaCD,Set,%OS%,Vista  End  Run,%ScriptFile%,Message1  ##  Run,%ScriptFile%,Message2    [Message1]  Message,OS=%OS%,Information  Exit,%OS%...    [Message2]  Message,This command should never be executed,Information
1. This code is working well with VistaPE (script finished by exit command)2. same result running the code in codebox3. same result running the script standalone (with small green arrow)but4. running a complete XP build the script will not be finished by exit command. Following lines and commands are being executed all the time.This behaviour happens only with 076 and 077 beta 1, with all earlier versions the script is running well.Is there anything wrong in my code or has something been changed in 076?Attached log-files:Vista-logXP-log

Regards
MaineCoon

#2 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 04 May 2009 - 01:21 PM

Hi MaineCoon

I confirm same behaviour with wb077b2 on livexp and nativeex barabone (I forgot to report this one :D )
I guess this is project issue not a winbuilder issue !!!!

This needs our guru's attention (he is away for a while)

#3 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 04 May 2009 - 01:45 PM

Iyi günler, Lancelot

Thank you for your answer.

So let's wait for our guru.

MaineCoon

#4 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 04 May 2009 - 02:32 PM

Guru's statement:
:D

I made a copy of nativeEx_barebone and:
  • minimized to this:
    Walter_Test.gif
  • Added Walter's test script
  • Run: Message2 NOT executed!
Seems to depend on some LiveXP history. But on what????

I think that it is a WinBuilder bug which has to be fixed:
Exit command does not exit the script.
But I need some info how to reproduce.

@MainCoon and Lancelot: Can you try to minimize the project and find out which minimum configuration still brings this behaviour?

Thanks

Peter

#5 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 04 May 2009 - 03:14 PM

Hi Peter,

I got it, it's the EarlyStarter.script by fxscrpt.
Disabling this script the test.script is working as it should and Message2 not executed anymore.

Walter

#6 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 04 May 2009 - 03:19 PM

Many Thanks, Walter!

I'm trying to catch it in the debugger!

Peter

#7 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 04 May 2009 - 03:43 PM

Fixed!

It has been a bug in EarlyStarter.

A "RegHiveUnload,WB-Setup" was missing.

Therefore WinBuilder after the Exit continues until all hives are closed.

Corrected EarlyStarter version 14 on the nativeEx server.

Peter

#8 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 04 May 2009 - 03:46 PM

Thanks, Peter.

Walter :D

#9 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 04 May 2009 - 11:43 PM

Thanks Peter psc, Thanks MaineCoon
script also updated to livexp server

ps: i need to write this down a place :D i guess i am an old guy too :D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users