If an install.wim files is too large in size it will throw extraction errors, a quick way around the issue is to extract the image from the file and creating a new install.wim file smaller in size.
Install WimLib
Download the latest stable version of Wimlib from wimlib.net, follow standard tar.gz file install steps.
Some additional libraries may need to be installed if errors occur during install.
Finding the image index
Once wimlib is installed find your install.wim file and run
wiminfo /directory path/install.wim
The output will list all versions in the file, locate your desired version and it's index.
Extracting the image
Once you know the index of your version you can extract the image into a new install.wim file.
Create a new folder for the version to avoid confusion with your current install.wim file.
To extract and create the file run:
wimexport /current file path/install.wim <index> /new folder path/install.wim --compress=lzx
Once the extraction is done the new file will be created and you can verify the file by running the wiminfo command from above.