ManagedWimgApi
ManagedWimgApi copied to clipboard
Is it possible to add to a WIM without having to mount it first?
I've been using your library to deploy custom images and it's working nicely :)
The only issue is that the mounting and unmounting process is quite slow. Would it be possible to add files to the image without needing to go through this process?
I was looking at the DLL you wrap and noticed it exports WIMAddImagePath and WIMAddImagePaths. How can I use these, and would they work for this use case?
Thanks!
Since this library is just a wrapper around the native API, we'd have to figure out if the native API supports that. There used to be some documentation around WIMGAPI but I can't seem to find it anymore.
I'm not 100% sure if its possible to modify a WIM that hasn't been mounted. As far as I know, there are no APIs to add/remove files in a WIM. You mount an image, copy/delete files based on the mounted image path, and then unmount the image. So suspect its not possible to do what you're asking.
Mounting and unmounting are slower if you're using a HDD instead of SSD, if you have lots of files, or if you're using the highest compression option. You can try a lower compression option to see if its faster?