Jump to content











Photo
- - - - -

ADK PEBakery / WinBuilder Project


  • Please log in to reply
34 replies to this topic

#1 misty

misty

    Silver Member

  • Developer
  • 881 posts
  •  
    United Kingdom

Posted 09 January 2018 - 09:51 PM

*
POPULAR

Posted Image

File Name: ADK PEBakery / WinBuilder Project
File Submitter: misty
File Submitted: 09 Jan 2018
File Updated: 20 Jan 2018
File Category: Projects

This mini PEBakery / WinBuilder project can be used for a limited range of Assessment and Deployment Kit (ADK) tasks.

Download and/or install the following Windows ADK components -
  • Windows Deployment Tools-x86_en-us
  • Windows PE x86 x64 wims-x86_en-us
  • Windows PE x86 x64-x86_en-us
The Assessment and Deployment Kits that are currently supported in the project are the ADK for Windows -
  • 8
  • 8.1
  • 10.0.10240
  • 10.0.10586
  • 10.0.14393
  • 10.0.15063
  • 10.0.16299
This project provides a GUI for installing Optional Components and their dependencies. WinBuilder 082 is included in the download package.

This is a beta release. Documentation is included in the download and also here.

Click here to download this file
  • Nuno Brito, alacran, Atari800XL and 1 other like this

#2 misty

misty

    Silver Member

  • Developer
  • 881 posts
  •  
    United Kingdom

Posted 11 January 2018 - 08:55 PM

Documentation added to the download. It's also available online - see here.

If you are one of the few people that have already downloaded the project, then use the Update Project option in the Advanced > Advanced Options script to update the download.

:cheers:

Misty
  • Atari800XL likes this

#3 misty

misty

    Silver Member

  • Developer
  • 881 posts
  •  
    United Kingdom

Posted 13 January 2018 - 10:31 AM

Project updated.

Additional options added to the main project script -
  • Select between DISM or erwan.l's TinyDISM (see here and here) to apply packages and carry out mount/unmount operations.
  • Option to mount the source .wim file instead of fully extracting it has also been added.
A new post processing script has been added for creating a bootable .iso file after the build has completed.

If you have already downloaded the project then click on the Update Project button in the Advanced Options script.

Comments/feedback welcome.

:cheers:

Misty

P.s. Much of the code has been copied from MistyPE and there may be some unintentional references to MistyPE remaining.
  • Atari800XL likes this

#4 alacran

alacran

    Silver Member

  • Advanced user
  • 621 posts
  •  
    Mexico

Posted 16 January 2018 - 03:26 AM

@ misty

 

I only downloaded and updated this project using Update Project button, haven't ran it yet, so far this are my findings:

 

ADK Main:

Options 1 - 2]ADK Version HELP:


Last paragraph says: ...Windows 10 is build specific with seperate ADKs...

It should say: ...Windows 10 is build specific with separate ADKs...


Options 2 - 6]Mount or Extract HELP:

Last paragraph says: EXRACT - .....

It should say: EXTRACT - .....


Download and Install:

1]Download and Install Version HELP:


Last paragraph says: ...Windows 10 is build specific with seperate ADKs...

It should say: ...Windows 10 is build specific with separate ADKs...


Advanced Options:

Inject all Files ?:


First paragraph says: ...(maintining directory structure)...

It should say: ...(maintaining directory structure)...

 

 

alacran
 


  • misty likes this

#5 misty

misty

    Silver Member

  • Developer
  • 881 posts
  •  
    United Kingdom

Posted 16 January 2018 - 08:11 AM

@alacran
Thanks - I'll fix it when I'm able to get the download back online.

:cheers:
  • Atari800XL likes this

#6 misty

misty

    Silver Member

  • Developer
  • 881 posts
  •  
    United Kingdom

Posted 17 January 2018 - 08:39 PM

Project updated and edited due to typos spotted by the eagle eyed alacran :thumbsup:

There are some minor changes in the scripts, with some additions to the Advanced Options script. Please click on the help buttons next to each item for a summary of the new functions. For the WIM functions in the Advanced Options script, a console window is now opened and paused so that you can check for any error messages. There is also an option to force delete the work directory if required.

If you have already downloaded the project then click on the Update Project button in the Advanced Options script.

PEBakery has been temporarily removed from the download package.

:cheers:

Misty
  • alacran and Atari800XL like this

#7 alacran

alacran

    Silver Member

  • Advanced user
  • 621 posts
  •  
    Mexico

Posted 17 January 2018 - 09:13 PM

PEBakery has been temporarily removed from the download package.

:cheers:

Misty

 

Do you know Why?

 

EDIT: Nevermind I went to PEBakery download page and saw why.

 

 

Binary of prerelase Beta 1 was taken down because of potential license issue.

 

AFAIK it will be available again very soon.

 

alacran



#8 misty

misty

    Silver Member

  • Developer
  • 881 posts
  •  
    United Kingdom

Posted 18 January 2018 - 08:38 PM

Project updated again.

Minor update to fix the Browse for Folder dialog in the main project script - which was inadvertently set to Browse for File. Never picked up on it as I usually manually enter a path.

A new script has been added for deleting any directories created in the project that appear locked. Running DISM to apply a package appears to be changing either ownership or permissions (or both) on some files. Use the new Delete Folder script to get rid of them - running a combination of takeown.exe and icacls.exe. Refer to documentation for more information.

Fingers crossed the release cycle will now slow down.

Use the project update option or download the full package from the forum download section.

Misty
  • alacran and Atari800XL like this

#9 Atari800XL

Atari800XL

    Frequent Member

  • Advanced user
  • 112 posts
  •  
    Netherlands

Posted 18 January 2018 - 09:08 PM

Thank you very much for the new version. I tested your first version last week, and like Joveler, I too had some trouble with deleting some locked files (luckily I normally do all my testing on a separate partition, so a quick format helps in those cases).

 

With the new version, previously used folders were deleted without a problem.

 

I'm looking forward to doing some experiments on my new "enhanced" ADK-PE's over the weekend, thanks again, you're an excellent developer!!


  • misty likes this

#10 alacran

alacran

    Silver Member

  • Advanced user
  • 621 posts
  •  
    Mexico

Posted 19 January 2018 - 07:27 AM

and like Joveler, I too had some trouble with deleting some locked files (luckily I normally do all my testing on a separate partition, so a quick format helps in those cases).

 

Exactly this hapened to me first time I made a build of 10 PESE, once extracted install.wim and boot.wim from ISO it was very hard to delete them, since then allways use a Test partition easy to quick format just in case. Dism in any version is very prone to create this kind of troubles

 

Nice to see you around my friend.



#11 erwan.l

erwan.l

    Gold Member

  • Developer
  • 2286 posts
  • Location:Nantes - France
  •  
    France

Posted 19 January 2018 - 09:12 PM

my experience with mounting wim files :

-mounting wim in RW mode are more likely to create issues than in RO mode : i suspect that if a modification happens to the temp filesystem outside of dism control, unmounting/comitting will most likely fail

-when a wim file in RW mode has been mounted and is failing to unmount, using unmounting and discarding potential changes is likely to succeed

-do mount wim files in RO mode whenever possible as it is less problematic

-locking the filesystem (or folder but i am not sure this is possible) for exclusive wim operations could address some of the reported issues


  • misty likes this

#12 misty

misty

    Silver Member

  • Developer
  • 881 posts
  •  
    United Kingdom

Posted 20 January 2018 - 07:32 AM

The download has been updated to include the new PEBakery release (Beta 2) - see here

Please download using the download portal - updating from the project is not supported.

#13 Atari800XL

Atari800XL

    Frequent Member

  • Advanced user
  • 112 posts
  •  
    Netherlands

Posted 20 January 2018 - 07:51 AM

Quick note: I did some more testing yesterday, and noticed that I started the project from my explorer again (actually, XYplorer), but once again, after a second run the files from a previous run can be difficult to remove (your script tries, but it [=taking ownership] seems to go very slow.
Best solutution for me is to remember and close any explorer (-like) windows *before* clicking the run button.
I will do more testing, but if this is indeed the case, maybe there could be a warning about this on the title screen? Let's see how Alacran's tests go...

#14 alacran

alacran

    Silver Member

  • Advanced user
  • 621 posts
  •  
    Mexico

Posted 20 January 2018 - 07:53 PM

I have been delaying my tests on ADK project :whistling: , the true is I have the feeling Dism is going to create problems :frusty:  , but I have to do it, that is my work :chair:, sorry for the delay boss. :)

 

I'm going to boot 10x64 Pro and run ADK using (PEBakery as Builder) from TEST partition (just in case), I'll do it this weekend and have some comments ASAP.

As my 10 OS is the very last and updated version I assume also the very last Dism version will be required to run on it.

 

Is that right? or I can install the version JFX downloads with WinNTSetup (wimgapi.dll v10.0.15063.0)?

 

Please any comments will be welcome before going to this dangerous adventure :titanic: .



#15 Atari800XL

Atari800XL

    Frequent Member

  • Advanced user
  • 112 posts
  •  
    Netherlands

Posted 20 January 2018 - 08:10 PM

If you think it's a dangerous adventure, you're doing something wrong :-)

If you're using a recent Windows 10 OS, you're OK with your DISM version, no need for WinNTSetup (or GetWAIKTools).

Don't be afraid of DISM (Done In Several Minutes), it will not hurt you if you don't provoke it :-)

It might be a good idea to close any Explorer (-like) windows before clicking "Build".

You can always PM me if you need more help...


Edited by Atari800XL, 20 January 2018 - 08:14 PM.

  • alacran likes this

#16 misty

misty

    Silver Member

  • Developer
  • 881 posts
  •  
    United Kingdom

Posted 20 January 2018 - 08:48 PM

...I'm going to boot 10x64 Pro and run ADK using (PEBakery as Builder) from TEST partition (just in case), I'll do it this weekend and have some comments ASAP.
As my 10 OS is the very last and updated version I assume also the very last Dism version will be required to run on it.
 
Is that right? ....

The Host OS DISM is not used. The project is coded to use whichever DISM (or erwan'l's TinyDISM + dismapi.dll and dependencies) matches the selected ADK.

Have fun.

Misty
  • alacran likes this

#17 erwan.l

erwan.l

    Gold Member

  • Developer
  • 2286 posts
  • Location:Nantes - France
  •  
    France

Posted 21 January 2018 - 11:54 AM

Latest tinydism has a new "force" option to reduce issues.

 

When mounting, any previous mounted image will be discarded/unmounted.

When unmounting, explorer windows will be closed.

tinydism /mount-image c:\temp\boot.wim c:\mount [/ro] [/force]
tinydism /unmount-image c:\mount [/discard] [/force]

Ideally, rather than closing explorer windows, the handle to the mounted folder should be found and closed.

Also, in some rare situations (which I have experienced but was not able to reproduce even when trying lots of nasty things), the mounted image gets disconnected from dism leaving "lost" reparse points which at first seem to be "undeletable".

 

Actually I believe that looping thru all junctions and deleting them, and then taking ownership back on the folder would fix this rare but extremely annoying issue (which even a reboot wont fix).


  • alacran and misty like this

#18 misty

misty

    Silver Member

  • Developer
  • 881 posts
  •  
    United Kingdom

Posted 21 January 2018 - 09:51 PM

Latest tinydism has a new "force" option to reduce issues.
 ...

@erwan.l
I look forward to testing it. Thank you.

:cheers:

Misty

#19 alacran

alacran

    Silver Member

  • Advanced user
  • 621 posts
  •  
    Mexico

Posted 22 January 2018 - 02:46 AM

@ misty

 

Downloaded and installed ADK 10.0.16299 ran ADK project using PEBakery builder from my 10x64 Pro OS. Selected Extract on Options 2 - 6]  AV Disabled.

 

PACKAGES

Spoiler


This are my findings:

WinReCfg was not found
FontSupport-WinRe was not found

Create Iso Script do not have 1]  and/or an option to select it to be run during build.

Anyway build finished and got boot.wim on ADK\ADK_workspace\ISO_Root\sources\boot.wim 442 MB

NO ISO was builded

Tryed to run Create Iso Script directly on his page with button Run this Plugin but it aborted and PEBakery closed.

Pictures Attached

Now I'm going to make a build using Mount and TinyDism from Erwan.l (version contained on ADK project) and will comeback to report.

Attached Files


  • misty likes this

#20 alacran

alacran

    Silver Member

  • Advanced user
  • 621 posts
  •  
    Mexico

Posted 22 January 2018 - 03:09 AM

@ misty

 

After a build this time selecting Mount and TinyDism, (version contained on ADK project, not the very last Erwan.l just posted). AV Disabled.

 

Findings are the same as in previous post, only difference is boot.wim is now 444 MB.

 

Now I'm going to make a build using Mount and Dism and will comeback to report.


  • misty likes this

#21 alacran

alacran

    Silver Member

  • Advanced user
  • 621 posts
  •  
    Mexico

Posted 22 January 2018 - 03:29 AM

@ misty

 

After a build this time selecting Mount and DISM.  AV Disabled.

 

Findings are the same as in post #19,  boot.wim is 444 MB again.

 

After running the 3 different options It seems to me the Extract option is faster an give you a little smaller boot.wim (2 MB smaller)


  • misty likes this

#22 misty

misty

    Silver Member

  • Developer
  • 881 posts
  •  
    United Kingdom

Posted 22 January 2018 - 08:12 AM

@alacran
Thank you as always for the tests AND the feedback. :thumbsup:
 

@ misty
Downloaded and installed ADK 10.0.16299 ran ADK project using PEBakery builder from my 10x64 Pro OS. Selected Extract on Options 2 - 6] AV Disabled....
....WinReCfg was not found
FontSupport-WinRe was not found....

I'll have a more detailed look at which packages are included in each ADK when I get some free time. The project is coded to continue without error if they are not found, so other than a message there shouldn't be any adverse consequences.
 

...Create Iso Script do not have 1] and/or an option to select it to be run during build...

I'll have a think about this. It should be very easy to implement and I can't really remember why I didn't include this option to start with!

 

....NO ISO was builded

Tried to run Create Iso Script directly on his page with button Run this Plugin but it aborted and PEBakery closed....

I had a look at the attached screens. No hablo espanol ;)

I will see if I can reproduce this error.
  • alacran likes this

#23 alacran

alacran

    Silver Member

  • Advanced user
  • 621 posts
  •  
    Mexico

Posted 22 January 2018 - 10:01 AM

This is the message in picture no. 6

 

PEBakery stopped working

The program stopped working correctly because of a problem. Close the program.

Close the program



#24 misty

misty

    Silver Member

  • Developer
  • 881 posts
  •  
    United Kingdom

Posted 22 January 2018 - 12:14 PM

Updated Create ISO script with option to run during the build process is attached to this post. I'll add it to my server later.

Output iso file renamed from WinPE_yyyy_mm_dd_hh.nn.iso to ADK_yyyy_mm_dd_hh.nn.iso

Misty

Edit - @alacran, I can't reproduce your error. Might it be low storage or low memory related? Does the same thing happen if WinBuilder is used instead of PEBakery?

Attached File  create.ISO.script   21.59KB   75 downloads
  • alacran likes this

#25 alacran

alacran

    Silver Member

  • Advanced user
  • 621 posts
  •  
    Mexico

Posted 22 January 2018 - 09:40 PM

Edit - @alacran, I can't reproduce your error. Might it be low storage or low memory related? Does the same thing happen if WinBuilder is used instead of PEBakery?

attachicon.gifcreate.ISO.script

 

It was after build when tryed to run Create Iso Script directly on its page with button "Run this Plugin" but it aborted and PEBakery closed.

 

About low storage or low memory, no I don't think it was the causa.

 

Anyway I think it doesn't matter now that we have a new script to replace the faulty one, I'll download it and latter make an ISO and report back.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users