Topic: Converting script between PESE and XPE  (Read 1422 times)

Re: Converting script between PESE and XPE
« Reply #20 on: March 08, 2020, 05:42:45 PM »

Malok

  • Chef
  • ***
  • Location: Canada
  • Date Registered: Aug 2016
  • Posts: 202
Hi Roy

Here's a couple logs from my build maybe it will give a hand.

Re: Converting script between PESE and XPE
« Reply #21 on: March 08, 2020, 08:02:34 PM »

RoyM

  • Jr. Chef
  • **
  • Date Registered: Aug 2017
  • Posts: 80

Thanks Malok:

There's lots of API calls not implemented.
There's just so many of them over the years, projects, builds, etc.
Not possible to add them all in the short time that I could devote.

NOT IMPLEMENTED: Arch_Set, Arch_On, Arch_Off
[Success] SetVar - Sucessfuly changed the value of [%arch_onoff%] to:
[Ignore] IF - [x86] is not equal to: [off] evaluated string: [If,#1,Equal,Off,Run,%api%,Arch_Off]
                   [Ignore] IF - [x86] is not equal to: [on] evaluated string: [If,#1,Equal,On,Run,%api%,Arch_On]
                   [Success] IF -
  • is equal to:
  • evaluated string: [If,%arch_onoff%,Equal,0,Run,%api%,Arch_Set,#1]
[Failed] Run - Failed to find section [Arch_Set] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]

You might solve this one by adding to se2xpe.script under [Win10xpe]
Set,Arch_On,x86
Set,Arch_Off,x64
You will have to find the API these calls came from.???
Then go see what these calls do.

**********************************************

For Add_Shortcut failures:  <-- TRY BELOW FIRST.
Try running this in codebox before building:  Run,%GTools%\se2xpe.script,API1
Notes are in se2xpe.script/[API1]
**********************************************

A43: All these variables should not be under [process/S]
 Run - Processing section: [ProcessS] From file: [%BaseDir%\Projects\MyPlugins\Apps\TEST2\a43_JGL.script]
            [Warning] Unrecognized command: [%ProgramTitle%=a43]
            [Warning] Unrecognized command: [%ProgramEXE%=A43.exe]
            [Warning] Unrecognized command: [%ProgramFolder%=a43]
            [Warning] Unrecognized command: [%SetupFile%=a43.zip]
**********************************************


@Lancelot, Yes, I am already building with Azin. (Nice Work)
 One important file was missing to make se2xpe.script work.
 It is included now, just wanted to keep all work together so others may use and play with.
 I am no longer developing this plugin, others may feel free to do so.
 It is a great learning aid.

Regards
RoyM



Re: Converting script between PESE and XPE
« Reply #22 on: March 08, 2020, 08:19:55 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi RoyM

Arch Info here:
http://theoven.org/index.php?topic=1464.0

(for now not added Arm Arm64, probably on the way in some future ;))

*
There's just so many of them over the years, projects, builds, etc.
I cut many of them over the years that can not be compatible (can not be generic)
 So Macro Library slowly become flexible and generic in passing years,
  That is the reason I can ~ quickly create Azin with Macro Library supporting Plugins out of box
    (after I cut rest of old bad designed syntax .... etc.)

So, in theory, today one can duplicate Macro Library with any other language etc. now
 (
  I had done some work for Macro_Library.cmd in the past but I do not trust cmd.exe  :wink:
    In theory, It is now possible to create
     Macro_Library.cmd for WimBuilder
     and
     Macro_Library.srt for LiveSystemPro
       That will make Plugins work out of box......
)


AND
Only informing, a lot more syntax already implemented .... with next package this week.  :wink:
It is hard to catch a moving target like "Macro Library"

So, Good luck.

:turtle:

 

Powered by EzPortal