The Oven

Project World => Win10PE SE HomePage => Topic started by: lappy02 on February 12, 2020, 05:59:46 PM

Title: Cant build?? List index out of bounds (-1): [Run,%ScriptFile%,HostOSToolsEWF]
Post by: lappy02 on February 12, 2020, 05:59:46 PM
Im newbie here and i have probelm now is cant build my project because title error
See screenshot for more details.
Please help me
Title: Re: Cant build?? List index out of bounds (-1): [Run,%ScriptFile%,HostOSToolsEWF]
Post by: lappy02 on February 12, 2020, 06:00:51 PM
Just using Ulti >> Extract Wim folder and get that error
Title: Re: Cant build?? List index out of bounds (-1): [Run,%ScriptFile%,HostOSToolsEWF]
Post by: lappy02 on February 12, 2020, 06:08:22 PM
And another error when press Build :(
Title: Re: Cant build?? List index out of bounds (-1): [Run,%ScriptFile%,HostOSToolsEWF]
Post by: Lancelot on February 12, 2020, 07:18:12 PM
Hi lappy02,

Just checked both Plugins, all fine

From pictures, both errors on both Plugins happen when Plugins try to READ a value from your host registry !

As far as I can remember, such thing never reported before (10 or more years, still my memory may be wrong  :wink: )

Some ideas:
+ do you use AntiVirus (or any Anti ;)) that prevent from READ host registry ?!
+ sandbox-like applications that simulates a fake registry for an application do not work properly for projects that may cause such failure (last time I checked some years ago)

maybe you have a clue ?

:turtle:
Title: Re: Cant build?? List index out of bounds (-1): [Run,%ScriptFile%,HostOSToolsEWF]
Post by: Malok on February 13, 2020, 12:02:06 AM
Hi Lappy,

From the number of warnings you have it looks like you have security access problems on your host.
can you show us what are all those warnings. Can you post a log of one of your build attempt.
This would help pinpointing your problem.

A dirty trick to alleviate "access is denied" or "Cannot Delete". Is to add the administrator user to the Access group,
even if the administratorS group is already there, give full control, replace security on all child objects
and run BuilderSE.exe as Administrator. always fixes everything for me. Once I had this so severely that I also
had to take ownership of the PESE directory and make individually the same change on all %tools% in project to make a successful build.

Like Lancelot Mentioned If you have a running AV-ASW create Exceptions to exclude your PESE directory from resident scanners.
and it's a good idea to disable UAC altogether.

Title: Re: Cant build?? List index out of bounds (-1): [Run,%ScriptFile%,HostOSToolsEWF]
Post by: lappy02 on February 13, 2020, 10:51:54 AM
Sorry for delay answer..
May be reinstall my windows 10 v1909 for fix everything :))
Here is my log
Title: Re: Cant build?? List index out of bounds (-1): [Run,%ScriptFile%,HostOSToolsEWF]
Post by: Lancelot on February 13, 2020, 05:45:18 PM
Hi lappy02,

only new thing on your log is, side by side not being able to READ registry, txtreplace command do not work too.  :lol:

I use Win10-1909 , I am sure I never saw such a build failure since 12 years or more.  :lol:

Follow Malok and Lancelot replies on previous posts, It will be interesting when you figure out the reason of this troubles.

:turtle:

Title: Re: Cant build?? List index out of bounds (-1): [Run,%ScriptFile%,HostOSToolsEWF]
Post by: Lancelot on February 21, 2020, 04:56:22 PM
+
Do not use \Program Files\ subfolder,

I feel Malok found the real reason behind,
AND
There is no way to precheck such a thing
eg. no way to precheck permissions without basic functions like READ registry,txtreplace ...
eg. god knows how extracting or executing a separate .cmd or .exe works ... they can even return a fake success (like false positive)


As written on all project instructions, extract the package to a new fresh folder eg. D:\Oven\
 which mostly works without security access problems on your host underlined by Malok  :thumbsup:,
  if similar problems check D:\Oven\ folder do not have security access problem.

Something very new to me, thanks Malok. :turtle: