I have a Windows 10 ISO which has several editions. I only want one of those editions, so I exported it with dism, used MagicISO to replace the original install.wim with the new exported install.wim which only has one edition in. Windows gives the below the message when trying to install using this ISO: Code: Windows could not collect information for [OSImage] because the specified image file [install.wim] does not exist. I did try removing ei.cfg from the ISO but this made no difference. The original ISO works fine and does not show any errors.
Did you check if there is an ei.cfg in the sources folder? Or a pid.txt? If they exist, delete or change their content to the correct data. I see you've deleted the ei.cfg. What is the content of the install.wim now? Which sku? and what was the source iso?
When queried with dism, this is content from the original install.wim: Code: Index : 1 Name : Windows 10 Education Description : Windows 10 Education Size : 10,339,405,082 bytes Index : 2 Name : Windows 10 Education N Description : Windows 10 Education N Size : 9,746,951,069 bytes Index : 3 Name : Windows 10 Enterprise Description : Windows 10 Enterprise Size : 10,339,441,578 bytes Index : 4 Name : Windows 10 Enterprise N Description : Windows 10 Enterprise N Size : 9,746,896,179 bytes Index : 5 Name : Windows 10 Pro Description : Windows 10 Pro Size : 10,339,342,672 bytes Index : 6 Name : Windows 10 Pro N Description : Windows 10 Pro N Size : 9,746,869,495 bytes Index : 7 Name : Windows 10 Pro Education Description : Windows 10 Pro Education Size : 10,339,368,859 bytes Index : 8 Name : Windows 10 Pro Education N Description : Windows 10 Pro Education N Size : 9,746,914,398 bytes Index : 9 Name : Windows 10 Pro for Workstations Description : Windows 10 Pro for Workstations Size : 10,339,386,854 bytes Index : 10 Name : Windows 10 Pro N for Workstations Description : Windows 10 Pro N for Workstations Size : 9,746,932,617 bytes And this is from the exported install.wim: Code: Index : 1 Name : Windows 10 Enterprise Description : Windows 10 Enterprise Size : 10,339,441,578 bytes
Should be OK, when the ei.cfg is deleted or edited, or even left intact: Original ei.cfg: Code: [Channel] volume [VL] 1 Could you open the new iso with the ISO Mastering Tool you used? And show a screenshot of the content of the "sources" folder, showing install.wim and boot.wim?
I think I have solved my own problem. I tried UltraISO to change the install.wim in the ISO and the image seems to work fine now! So the problem could have been MagicISO all along!
This is the source iso you've used? Code: 6abf0c67712ced499a61298fe239de4f2d47e556 *en-gb_windows_10_business_editions_version_1803_updated_march_2018_x64_dvd_12063708.iso
I added my experiences because to show, that there is an easy way to change the content of an ISO. That way is easy: mount an ISO File add content to an folder on HDD change, edit, delete, add what's needed on that content 'burn' the 'new' content to a new ISO file. Between, you'll have the option to test your changes from within a USB/Flash drive and after all is OK, just create that new ISO File for whatever use you'll need that! Using App like MagicISO, PowerISO or so may endup in trouble, as you experienced on your own. Nevermind it's simply up to the user what way he/she like to go!