Shutdown issue
#1
Posted 29 August 2009 - 05:32 PM
(I tried with download 'minimum' into an empty directory, then add 'recommended', then add 'complete')
Everything went well besides one issue which in my opinion really is a LiveXP issue (it does not occur e.g. in nativeEx_barebone)
When in (minimum) trying to shutdown the PE using StartMenu, system shuts down.
When in (recommended) trying to shutdown the PE using StartMenu, nothing happens.
When in (complete) trying to shutdown the PE using StartMenu, nothing happens.
For the users who want to hear my IMHO: Everybody knows that I do not like themes etc. And I'm sure that in (recommended) and (complete) there are a couple of them ...
BTW: Crazy idea: Currently maanu reports about 'voodoo' appearences in his PE. May it be caused by some scripts introducing some 'unusual' conditions ?
BTW2: @Lancelot: I do not want to reanimate our personal WW3 (which fortunatelly ended with 2 winners ), but maybe you read again, and emotionless my post about 'cooperating scripts'
Peter
#2
Posted 29 August 2009 - 06:26 PM
May take a look if msgina.dll is the renamed pegina.dll (20KB), which does the job from the Shutdown dialog.
No need to tell which one, cause it's not in the (recommended) and (complete) packages.
I only want's to a point to the .dll that runs the shutdown api.
#3
Posted 29 August 2009 - 06:29 PM
I only know one develoopment script that can cause this problem
And are you gonna tell us WHICH ONE or we need to put you under torture?
jaclaz
#4
Posted 29 August 2009 - 06:55 PM
I'm not sure whether I understood your post completelly.I only know one develoopment script that can cause this problem
May take a look if msgina.dll is the renamed pegina.dll (20KB), which does the job from the Shutdown dialog.
No need to tell which one, cause it's not in the (recommended) and (complete) packages.
I only want's to a point to the .dll that runs the shutdown api.
Therefore a simple question:
How to enable the shutdown functionality in (recommended) and (complete) ?
Peter
#5
Posted 29 August 2009 - 07:02 PM
But in a default LiveXP the shutdown is initiated through paraglider's PEGina.dll. May some filecopy goes wrong and you still have the normal msgina.dll insteed of the renamed pegina.dll?
#6
Posted 29 August 2009 - 07:10 PM
Well I'dont have an shutdown problems with today downloaded LiveXP recommanded.
But in a default LiveXP the shutdown is initiated through paraglider's PEGina.dll. May some filecopy goes wrong and you still have the normal msgina.dll insteed of the renamed pegina.dll?
I think that is not possible, because, as I explained, I did a download into a new directory. Therefore 'no remainders' and 'nothing known'
As a dummy user, I do not have any opinion on Paraglider's pegina or something else. Did I do something wrong?
Or does it depend on:
- download (minimum), change nothing but the source CD pointer and build >> shutdown ok
- after that download (recommended), change nothing and build >> no shutdown
If yes, there is not only something, there is A LOT wrong !!!!
Peter
#7
Posted 29 August 2009 - 07:29 PM
in the script '\LiveXP\Apps\System\Registry\regshot.script'
in the line #62:
require_file,MSGINA.DLL
#8
Posted 29 August 2009 - 07:32 PM
Does that mean:In LiveXP
in the script '\LiveXP\Apps\System\Registry\regshot.script'
in the line #62:
require_file,MSGINA.DLL
If Galapo / Lancelot do something, my issue from the first post is fixed?
Would be great.
Peter
#9
Posted 29 August 2009 - 08:17 PM
#10
Posted 29 August 2009 - 08:24 PM
You really are notAm I the only one, who doesn't like the taste that require_file overwrites an existing file?
Remember the private WorldWar3 which came up between me and a friend in Izmir when I mentioned such an issue in the log as warning!
Peter
#11
Posted 29 August 2009 - 08:39 PM
As a neutral person at your WW3, how about using parameters:
require_file,MSGINA.DLL,OverWrite require_file,MSGINA.DLL,NoOverWriteNoOverwrite shoud be default option, Overwrite should only be used by script writers by good reason.
#12
Posted 29 August 2009 - 08:44 PM
But require_file is an API command outside the responsibility of WinBuilder.
And WinBuilder can only process the command the API delivers, either with or without PRESERVE.
Peter
#13
Posted 29 August 2009 - 09:11 PM
BTW: Like said above, WW3 is finshed now with two winners ...As a neutral person at your WW3, ...
Peter
#14
Posted 30 August 2009 - 04:14 AM
[Expand_file1] //Syntax==> Require_File,[Folder\]filename,[Source (if different of %Source_Sys%)],[Target(If different of %Target_Sys%)],[OverWrite],[PRESERVE],[NOWARN],[MUI Source (if different of parameter #2)] Echo,"Copy or Expand #1" If,#4,Equal,,Set,#4,PRESERVE If,#4,Equal,OverWrite,Set,#4,"" StrFormat,filename,#1,#9 StrFormat,path,#1,#8 If,|#2#3|,Equal,||,Run,%API%,Expand_1,#1,%Source_Sys%,%Target_Sys%,#4,#5,#6,#7,#8,#9 Else,Run,%API%,Expand_2,#1,#2,#3,#4,#5,#6,#7,#8,#9
Regards,
Galapo.
#15
Posted 30 August 2009 - 08:18 AM
But during capi development, this features removed (I dont know the reason) and I decide not to ask again....
Maybe after this topic pedrole may decide to put this features back !
With other words, What I specifically ask(ed) is "optionality" on api gui so "developers" can easly debug during tests when api used.
@psc
I remember "read again relevant post" posts written by me, I guess it is already understood this has no end, I write you "read again relevant post", you write me "read again relevant post".... Better no to write "read again" (or anything pointing the ww3 you mentioned) since it is proven this do not have any good result. With our peace agreement offered by you and agreed by me a while ago for the sake of wb development, I believe better not to write anything referring that times in order not to reanimate....etc.BTW2: @Lancelot: I do not want to reanimate our personal WW3 ......, but maybe you read again, and emotionless my post about 'cooperating scripts'
ps: All looses during any war
@dera
Thanks
#16
Posted 30 August 2009 - 10:05 AM
If Galapo / Lancelot do something, my issue from the first post is fixed?
fixed , new script uploaded (certification included )
#17
Posted 30 August 2009 - 10:06 AM
#18
Posted 30 August 2009 - 10:14 AM
Thanks,
Galapo.
#19
Posted 30 August 2009 - 10:39 AM
fixed , new script uploaded (certification included )
api script ? i mean which script i need to update ?
#20
Posted 30 August 2009 - 11:10 AM
[Expand_file] ... If,Not,ExistFile,"#3\#4#5",Begin ...
Regards,
Galapo.
#21
Posted 30 August 2009 - 09:02 PM
"PowerdownAfterShutdown"="1"
OR
"APM ACPI"
OR
Microsoft System Management BIOS Driver
#22
Posted 31 August 2009 - 06:48 AM
Interesting reply[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"PowerdownAfterShutdown"="1"
But the issue is here that the shutdown simply is not performed.
Therefore there is no 'After Shutdown'.
Peter
#23
Posted 31 August 2009 - 11:40 AM
>shutdown -l -s -f
logoff/shutdown/force
If that works, you have a hung app/dll
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users