Common API for projects
#51
Posted 18 March 2010 - 09:36 PM
The nativeEx developer has a problem with an inofficial version of the CAPI(V22) and blames the LiveXP developers for that, though those use CAPI(V15)!
#52
Posted 18 March 2010 - 10:30 PM
Coooome on peeps , is there really need for the exchange of such niceties?
I mean, fights from time to time are a good thing because soon after they are over (quickly) you are able to better appreciate peace. \V/
A M E N ! ! !
#53
Posted 18 March 2010 - 11:37 PM
%SourceArch% and %TargetWOW64% can be different depending upon source and script selection.
%SourceArch% can be 64-bit, but 32-bit programs will run if WOW64 is present. Hence the need for a distinction.
Currently, it's up to each project to define %TargetWOW64% -- LiveXP does this with the OnProjectRun and then with '5 - WOW64_Basic.Script'. Maybe CAPI could set %TargetWOW64% to %SourceArch% if %TargetWOW64% is undefined?
Regards,
Galapo.
#54
Posted 19 March 2010 - 03:03 AM
History:
about targetwow64:
First it was used by Max_Real QNX on Leopard (at that times LiveXP did not support multi_arc but followed Max since it was the first I guess)
Max_Real QNX was using %Os_Type% and %x864% (not %SourceArch% %TargetWOW64%)
ex:
%Os_Type%=x86
%x864%=x86
Before it was too late, and since it was the early times of x64, in order projects not use uncommon variables with their "common apps scripts" a set of topics created - discussed.
Long story to short; In the end of topics there becomes an agreement saying:
%SourceArch% (from nativeex world by Peter's request)
%TargetWOW64%
will be used on projects.
Max_Real QNX followed the agreement making required changes on Leopard. As well as Jonf (on vistape-capi), yahoouk (multi7), LiveXP. (+Live98 beta)....
Edit:
setting value method of %TargetWOW64% (old name %x864%) introduced by Max_Real Qnx on Leopard and followed that way.
#55
Posted 19 March 2010 - 09:38 AM
That would be a good solution!Maybe CAPI could set %TargetWOW64% to %SourceArch% if %TargetWOW64% is undefined?
Peter
#56
Posted 19 March 2010 - 09:58 AM
[Arch_check] If,Not,EXISTVAR,%TargetWOW64%,Set,%TargetWOW64%,%SourceArch% If,#1,Equal,x86,If,Not,%TargetWOW64%,Equal,x86,Exit,"%ProgramTitle% requires WOW64 for PE x64/IA64" If,#1,Equal,x64,If,%SourceArch%,Equal,x86,Exit,"%ProgramTitle% can only run on PE x64/IA64"
Peter
#57
Posted 19 March 2010 - 10:05 AM
[Arch_check] should be like this:
[Arch_check] Set,%arch%,#1 If,#1,Equal,off,Set,%arch%,%SourceArch% StrFormat,POS,%arch%,|,%multiarch% If,%multiarch%,Equal,0,Begin If,Not,EXISTVAR,%TargetWOW64%,Set,%TargetWOW64%,%SourceArch% If,%arch%,Equal,x86,If,Not,%TargetWOW64%,Equal,x86,Exit,"%ProgramTitle% requires WOW64 for PE %SourceArch%" If,%arch%,Equal,x64,If,Not,%SourceArch%,Equal,x64,Exit,"%ProgramTitle% can only run on PE x64" If,%arch%,Equal,IA64,If,Not,%SourceArch%,Equal,IA64,Exit,"%ProgramTitle% can only run on PE IA64" End Else,Begin StrFormat,POS,%arch%,%SourceArch%,%multiarch_test% If,%multiarch_test%,Equal,0,Exit,"%ProgramTitle% requires different source architecture than current %SourceArch%" End
Regards,
Galapo.
#58
Posted 19 March 2010 - 11:44 AM
For nativeEx projects that can wait until Pedro does it.
For me currently is importent that it does not prohibit standard nativeEx barebone project from successful build.
Peter
#59
Posted 19 March 2010 - 07:08 PM
Seems like there has been a couple of things like this that could easily be added to the "master" copy if there was some sort of a thing...
Wouldn't that be better than each project having its own revision? (and all of them saying they are version 22 ?)
#60
Posted 19 March 2010 - 07:23 PM
pedrole15 is away for a loooong while.
After this topic
http://www.boot-land...?...t&pid=78602
and after final release at post 605
he is away.
capi's main goal is providing a common method for application scripts to be used between projects. as a result all projects making its revision is bad. (in fact it was that way before untill pedrole15 united ).
Further, I agree with you, if there are api's specific to a project it should be outsite capi .
#61
Posted 19 March 2010 - 09:12 PM
The Download area is a "start", but it's not really a revision management system...I'll noodle on that in the background and think about what we might be able to do.
ThANKS
Scott
#62
Posted 19 March 2010 - 10:37 PM
Also the ability in a link file to link to another web server would be useful so scripts can easily be shared amongst projects without each project having its own copy. Something like:
[main]
website=http://rescue.w07.net/Projects/Win7RescuePE/locale.script
link=%BaseDir%\Projects\common\locale.script
selected=True
#63
Posted 19 March 2010 - 11:46 PM
#64
Posted 20 March 2010 - 11:39 AM
So for example if I just download nativex_win7 my link files point to files that do not exist locally unless I download the win7rescuepe project!
What I am asking for is that when I download nativex_win7 it also downloads automatically the win7rescuepe files if they don't already exist locally. Currently it cannot do that because the link files contain no reference to the originating web site.
Also online docs provide no description for link files.
#65
Posted 20 March 2010 - 11:51 AM
**
better to make a request topic.Also online docs provide no description for link files.
**
here is an old request for link files to support downloading which I guess matches your idea.
http://www.boot-land...amp;showbug=229
#66
Posted 20 March 2010 - 12:24 PM
#67
Posted 20 March 2010 - 01:07 PM
You should talk to Peter. As far as i know, nativeEx_barebone will download the nativeEx_core files upon run, if they do not already exist localy.They only support links to files that already exist locally. You have no support for downloading the linked file automatically via winbuilder other than by downloading the containing project.
#68
Posted 20 March 2010 - 02:50 PM
Hello allHi sbaeder,
pedrole15 is away for a loooong while.
After this topic
http://www.boot-land...?...t&pid=78602
and after final release at post 605
he is away.
capi's main goal is providing a common method for application scripts to be used between projects. as a result all projects making its revision is bad. (in fact it was that way before untill pedrole15 united ).
Further, I agree with you, if there are api's specific to a project it should be outsite capi .
I have been busy in my work last month
My last WB was WB78SP4 , there is probably a lot change since
I must re-learn WB before making something,
I'm not sure to have so much time as before for WB developpement
Pedro
#69
Posted 20 March 2010 - 03:03 PM
we are truely missing you , It is nice you have some time now.
#70
Posted 08 April 2010 - 08:50 AM
nativeEx_barebone fails when processing VirtualBoxNIC_AMD_PCNET.script.
Reason %arch%
Peter
#71
Posted 08 April 2010 - 11:47 AM
Issue highly probably with "winbuilder home" of psc, shortly psc (Peter).
#72
Posted 08 April 2010 - 03:01 PM
Maybe that my environments reacts more sensible.
But here in [Expand_file1] %arch% is still undefined. I suggest that you set it to x86 if undefined.
Peter
#73
Posted 08 April 2010 - 10:18 PM
I just download nativeEx_barebone and run with WB080 I don't get any error
No error with %arch% when processing VirtualBoxNIC_AMD_PCNET.script.
Pedro
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users