Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

Joveler

PEBakery

Recommended Posts

2 minutes ago, misty said:

I have resorted to using wimlib to fully extract and repack a wim rather than mounting and unmounting, although this is a time consuming process. Injecting files with WimLib however is lightning fast. Wimib rocks! I'm pleased to read that you will be implementing this library and am looking forward to seeing how you implement it.

I had to use wimgapi because wimlib does not support mount / unmount of wim in Windows, sorry for that.
In my test, unmounting wim is disrupted by even a file explorer window viewing wim-mounted directory.

 

5 minutes ago, misty said:

BTW, I'm assuming that changes to the mounted image are not committed? Or am I doing something wrong?

Beta 1 only supports mount of wim in readonly mode, readwrite support will be added in beta 2.

 

6 minutes ago, misty said:

I'm not sure if this is a bug or not, however the progress bar is only displayed if the Build Project or Run Plugin buttons are pressed. If the commands are executed from a button embedded in the script then the progress bar(s) are not displayed. This is also an issue in WimBuilder (e.g. with WebGet).

I will investigate this issue, thanks for reporting.
 

Share this post


Link to post
Share on other sites
Posted (edited)

Deleted, my browser send a post request twice.

Edited by Joveler

Share this post


Link to post
Share on other sites
2 minutes ago, Joveler said:

I had to use wimgapi because wimlib does not support mount / unmount of wim in Windows, sorry for that.
In my test, unmounting wim is disrupted by even a file explorer window viewing wim-mounted directory.

Please do not apologise for adding support for a useful utility. It's not your fault that wimgapi is buggy. I also found issues with unmounting being due to Explorer being open. I swear the mount feature now feels more buggy (and slower) than when the WAIK for Windows Vista was first released!!!

wimlib does support mount - just not on Windows. This feature is limited to Linux only.

7 minutes ago, Joveler said:

Beta 1 only supports mount of wim in readonly mode, readwrite support will be added in beta 2.

Thanks - I honestly wasn't sure if this was more wimgapi bugginess.

Misty

P.s. Slightly offtopic. I found some issues with the ADK script in MistyPE and have updated the project. See here for more information - http://reboot.pro/topic/18917-mistype/?p=205342

Share this post


Link to post
Share on other sites

I think its all the junction points that are the issue in mounting. They all are rebased to point at the mount folders. If you look at the extracted folders from a se build the junction points don't work.

Share this post


Link to post
Share on other sites
11 hours ago, Paraglider said:

I think its all the junction points that are the issue in mounting. They all are rebased to point at the mount folders. If you look at the extracted folders from a se build the junction points don't work.

yeah. every since they went away from the filesystem overlay in v6.0 wimgapi has been nothing but a headache. I use wimlib extract or apply for my needs. With wimlib's superior speed and compression you can unpack and repack your .wim in the time it takes wimgapi to finishing mounting it in the first place.

Share this post


Link to post
Share on other sites

It is progressing fine :) 

I just tested Wim(Un)mount. It is fine with the progress bar and the percentage displayed.
by cons it would be good to have the %ExitCode% to handle errors by scripts, rather than the message box: Build Stopped by Error!
The main error is indeed when the mounted folder is opened in explorer.

I also use Wimlib to avoid these worries, mainly apply and capture. 
It would be good to have some Wimlib command in a future version, wiminfo, wimapply, wimcapture, wimexport, wimextract

Share this post


Link to post
Share on other sites
2 hours ago, Numb said:

It would be good to have some Wimlib command in a future version, wiminfo, wimapply, wimcapture, wimexport, wimextract

That's the plan. wimgapi for mount/unmount and wimlib for everything else. If wimlib ever supports mount/unmount on windows then we can look at moving everything over. Only time will tell.

Share this post


Link to post
Share on other sites

Good
Thank's to Joveler to not forget the %ExitCode% for WimMount/WimUnMount and for future Wimlib command.

-----
mount/unmount on windows does not seem in Eric Bigger's plans:
https://wimlib.net/forums/viewtopic.php?f=1&t=254#p387

Quote

I don't plan to implement mount support on Windows. Besides the large effort required, I understand that there is no way to create virtual filesystems without having a driver signed by Microsoft. This is in contrast to Linux where anyone can implement filesystems in userspace.

Share this post


Link to post
Share on other sites
Posted (edited)
On 4/1/2018 at 2:58 PM, Homes32 said:

That's the plan. wimgapi for mount/unmount and wimlib for everything else. If wimlib ever supports mount/unmount on windows then we can look at moving everything over. Only time will tell.

I think that using wimlib-imagex we can just extract the complete image (or part of it) to a folder, a VHD or an empty partition, then add all required files, folders and make registry changes, latter capture it again with wimlib-imagex (or inject to source when partial extraction was done), this way there is no need to mount/unmount wich takes a very long time, this is in few words the way MistyPE project works.

alacran

Edited by alacran
Typo
  • Like 1

Share this post


Link to post
Share on other sites

Beta 2 is released!

PEBakery binary and source is available at github.

Changelog
- [Fixed] WebLabel was not correctly parsed
- [Fixed] Resolved potential license issue

Edited by Joveler
  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×