Topic: Create ISO Include Files In ISO Root doesnt work  (Read 131 times)

Create ISO Include Files In ISO Root doesnt work
« on: March 01, 2021, 01:07:58 PM »

Double DD

  • Jr. Chef
  • **
  • Double DD
  • Date Registered: Apr 2018
  • Posts: 27
Create ISO Include Files In ISO Root doesnt work
ila_rendered
Files are selected in the map ....Custom\x64\IsoRoot
ila_rendered
but if i create the iso i cant see the files

Re: Create ISO Include Files In ISO Root doesnt work
« Reply #1 on: March 01, 2021, 03:53:52 PM »

APT

  • Grand Chef
  • *****
  • winpe enthusiast
  • Location: UK
  • Date Registered: Nov 2012
  • Posts: 1150
Hi

I know it's not particularly helpful, but it seems to work for me, in a quick test

ila_rendered
« Last Edit: March 01, 2021, 04:06:02 PM by APT »

Re: Create ISO Include Files In ISO Root doesnt work
« Reply #2 on: March 01, 2021, 03:58:05 PM »

Malok

  • Chef
  • ***
  • Location: Canada
  • Date Registered: Aug 2016
  • Posts: 202
Hi Double DD,

I don't know why your files are not copied to the root of the compilation, maybe a reason could be found in your logs. But you might want to try to create a plugin to add your software to your compilation instead of using "include files in ISO root".

Re: Create ISO Include Files In ISO Root doesnt work
« Reply #3 on: March 01, 2021, 04:30:02 PM »

APT

  • Grand Chef
  • *****
  • winpe enthusiast
  • Location: UK
  • Date Registered: Nov 2012
  • Posts: 1150
Hi

as Malok says, the log shows a complete dir copy

[Info] Copy Iso Root Files...
[Success] DirCopy - Copied directory [%BaseDir%\Custom\x64\IsoRoot\*] to: [%BaseDir%\ISO]

or maybe not in your case!
« Last Edit: March 01, 2021, 04:31:06 PM by APT »

Re: Create ISO Include Files In ISO Root doesnt work
« Reply #4 on: March 01, 2021, 04:39:25 PM »

Double DD

  • Jr. Chef
  • **
  • Double DD
  • Date Registered: Apr 2018
  • Posts: 27
Thats not possible to make a plugin for a map Drivers (21GB)

i will check the logs

Re: Create ISO Include Files In ISO Root doesnt work
« Reply #5 on: March 01, 2021, 04:57:07 PM »

Double DD

  • Jr. Chef
  • **
  • Double DD
  • Date Registered: Apr 2018
  • Posts: 27
i see no error


 Run - Processing section: [CreateISO] From file: [%BaseDir%\Projects\Win10XPE\CreateISO.script]
       [Info] Create ISO
       [Ignore] IF - File exists: [%BaseDir%\ISO\sources\boot.wim] evaluated string: [If,Not,ExistFile,%GISO%\sources\boot.wim,EchoExtended,"boot.wim image was not found in ISO\sources source folder. The project must be built beforehand.",Warn,,Message,,Halt]
       [Success] StrFormat - converted [SPLIT(en-GB|en-US,|)] to variable: [%NbLang%] with result: [2]
       [Info] [//-]
       [Success] IF - [true] is equal to: [true] evaluated string: [If,%IsoRoot_CheckBox%,Equal,True,Run,%ScriptFile%,IsoRootAdd]
       Run - Processing section: [IsoRootAdd] From file: [%BaseDir%\Projects\Win10XPE\CreateISO.script]
             [Success] Retrieve - Sucessfully retrieved the directory size from: [%BaseDir%\Custom\x64\IsoRoot] to variable: [%IsoRootSize%] with result: [-1460156359]
                   [Ignore] IF - [-1460156359] is not bigger than
  • evaluated string: [If,%IsoRootSize%,Bigger,0,Begin]
[Skipped] [Echo,"Copy Iso Root Files..."]
                   [Skipped] [DirCopy,%GCustom%\%Architecture%\IsoRoot\*,%GISO%]
             [Ignore] [End]
       Run - Processed section [IsoRootAdd] in file: [%BaseDir%\Projects\Win10XPE\CreateISO.script]

Re: Create ISO Include Files In ISO Root doesnt work
« Reply #6 on: March 01, 2021, 05:18:55 PM »

APT

  • Grand Chef
  • *****
  • winpe enthusiast
  • Location: UK
  • Date Registered: Nov 2012
  • Posts: 1150
                   [Skipped] [DirCopy,%GCustom%\%Architecture%\IsoRoot\*,%GISO%]

seems to be saying the copy was skipped for some reason

can you try a much smaller amount of files as a test?

Re: Create ISO Include Files In ISO Root doesnt work
« Reply #7 on: March 01, 2021, 05:38:16 PM »

Double DD

  • Jr. Chef
  • **
  • Double DD
  • Date Registered: Apr 2018
  • Posts: 27
i will try only 1 map

Re: Create ISO Include Files In ISO Root doesnt work
« Reply #8 on: March 01, 2021, 06:03:24 PM »

Malok

  • Chef
  • ***
  • Location: Canada
  • Date Registered: Aug 2016
  • Posts: 202
For some reason the String evaluation returns a negative number.

Code: [Select]
[Success] Retrieve - Sucessfully retrieved the directory size from: [%BaseDir%\Custom\x64\IsoRoot] to variable: [%IsoRootSize%] with result: [-1460156359]
                   [Ignore] IF - [-1460156359] is not bigger than

    evaluated string: [If,%IsoRootSize%,Bigger,0,Begin]

Evaluation of the string returns IsoRootSize smaller than 0 so the plugin skips the copy.
« Last Edit: March 01, 2021, 06:04:50 PM by Malok »

Re: Create ISO Include Files In ISO Root doesnt work
« Reply #9 on: March 01, 2021, 06:30:04 PM »

Double DD

  • Jr. Chef
  • **
  • Double DD
  • Date Registered: Apr 2018
  • Posts: 27
now is see this

and it's not creating a empty folder

Run - Processing section: [CreateISO] From file: [%BaseDir%\Projects\Win10XPE\CreateISO.script]
       [Info] Create ISO
       [Ignore] IF - File exists: [%BaseDir%\ISO\sources\boot.wim] evaluated string: [If,Not,ExistFile,%GISO%\sources\boot.wim,EchoExtended,"boot.wim image was not found in ISO\sources source folder. The project must be built beforehand.",Warn,,Message,,Halt]
       [Success] StrFormat - converted [SPLIT(en-GB|en-US,|)] to variable: [%NbLang%] with result: [2]
       [Info] [//-]
       [Success] IF - [true] is equal to: [true] evaluated string: [If,%IsoRoot_CheckBox%,Equal,True,Run,%ScriptFile%,IsoRootAdd]
       Run - Processing section: [IsoRootAdd] From file: [%BaseDir%\Projects\Win10XPE\CreateISO.script]
             [Success] Retrieve - Sucessfully retrieved the directory size from: [%BaseDir%\Custom\x64\IsoRoot] to variable: [%IsoRootSize%] with result:
[Ignore] IF -
  • is not bigger than
  • evaluated string: [If,%IsoRootSize%,Bigger,0,Begin]
[Skipped] [Echo,"Copy Iso Root Files..."]
                   [Skipped] [DirCopy,%GCustom%\%Architecture%\IsoRoot\*,%GISO%]
             [Ignore] [End]
       Run - Processed section [IsoRootAdd] in file: [%BaseDir%\Projects\Win10XPE\CreateISO.script]
       [Info] [//-]
       [Info] [// For AIOBoot do not create CDUsb.y if Run All programs from RAM selected]
       [Success] IniRead - [%BaseDir%\Projects\Win10XPE\script.project] Section [Features] Key [AllInRam] to variable: [%AllInRam%] with value [False]
             [Ignore] IF - [false-false] is not equal to: [true-true] evaluated string: [If,%NoCDUsbY_CheckBox%-%AllInRam%,Equal,True-True,Begin]
             [Skipped] [If,ExistFile,%GISO%\CDUsb.y,FileDelete,%GISO%\CDUsb.y]
       [Ignore] [End]
             [Success] ELSE - executing command: [Begin]
                   [Success] IF - File does not exist: [%BaseDir%\ISO\CDUsb.y] evaluated string: [If,Not,ExistFile,%GISO%\CDUsb.y,Begin]
                   [Success] FileCreateBlank - Created a new file: [%BaseDir%\ISO\CDUsb.y]
                   [Success] TxtAddLine - Added line: [%BaseDir%\ISO\CDUsb.y] line: Value: Flag File to mount CD/USB on drive Y: Option: Append
             [Success] [End]
       [Success] [End]
       [Info] [//-]


Re: Create ISO Include Files In ISO Root doesnt work
« Reply #10 on: March 01, 2021, 06:37:09 PM »

HeyJoe

  • Chef
  • ***
  • Location: Germany
  • Date Registered: Apr 2020
  • Posts: 102
Hi Guys,

Quote
For some reason the String evaluation returns a negative number.

hope this helps. Using command "Retrieve,FolderSize,..."
I thinks if retrieving the directory size of > 32 bit number of bytes You will get a negative result --> 32bit limit overrun.
(that is > 2 GB)

Quote
evaluated string: [If,%IsoRootSize%,Bigger,0,Begin]
Try change to: If,Not,%IsoRootSize%,Equal,0, ...

If I remember correctly: ChrisR gave a tip somewhere here.

Note: If size is exactly equal 2 GB result is 0 !  :sad:

Regards.

Hi Malok, just noticed crossed post, sorry.
« Last Edit: March 01, 2021, 07:15:42 PM by HeyJoe, Reason: cross post »

Re: Create ISO Include Files In ISO Root doesnt work
« Reply #11 on: March 01, 2021, 06:52:06 PM »

Malok

  • Chef
  • ***
  • Location: Canada
  • Date Registered: Aug 2016
  • Posts: 202
There is nothing in the returned value,

You can try to rem-out the offending code in CreateISO.script

Code: [Select]
[IsoRootAdd]
//Retrieve,FolderSize,%GCustom%\%Architecture%\IsoRoot,%IsoRootSize%
//If,%IsoRootSize%,Bigger,0,Begin
  Echo,"Copy Iso Root Files..."
  DirCopy,%GCustom%\%Architecture%\IsoRoot\*,%GISO%
//End

Knowing UDF file system support up to 16TB, I would give it a try.
« Last Edit: March 01, 2021, 07:55:45 PM by Malok »

Re: Create ISO Include Files In ISO Root doesnt work
« Reply #12 on: March 02, 2021, 08:25:15 PM »

Double DD

  • Jr. Chef
  • **
  • Double DD
  • Date Registered: Apr 2018
  • Posts: 27
Tnx Malok

it works now Tnx

 

Powered by EzPortal