We have a large number of legacy configuration files, of various formats normally something like KEYWORD DATA KEYWORD DATA KEYWORD DATA.
The the format of the data itself is unique within each configuration file.
What we would like to do is define the file data formats in some way and then use that to allow a application to check a the configuration files against to defined file formats.
We have thought about defining them as BNF and using YACC or its equivalent, but the nagging feeling is that there must be a away of doing this using XML.
What would be required was a way of defining a configuration files data format preferable in a XML format, then use that file to convert the legacy file into valid XML. Preferable a way of converting the XML file back to the legacy file format would be useful.
user64123user64123
4 Answers
For the convertion XML->legacy file, XSLT would probably work fine.
ToukoTouko6,1361111 gold badges6767 silver badges100100 bronze badges
This is precisely the type of problem that Gelatin was designed for. (Also, self promotion warning.)
knipknapknipknap2,68855 gold badges3030 silver badges3737 bronze badges
Have a look at the Altova-Tools, especially Mapforce. AFAIR they can convert from/to user-file-format and the mapping can be done quite naturally on screen. (Altova Tools also can generate XSD to check against.)
LeonidasLeonidas
Try to use a simple text processor like awk (or gawk) to generate the XML. The pattern would look like this.
Make sure the encoding is correct. For config files in English, 'ASCII' is enough.
After that, you can use a wide variety of tools to process that XML. I suggest to use this format because it's most simple to create and process:
Use a different name for 'config-type' for each type of config file you have so they are easy to distinguish.
To check the format of the XML, the most simple way is to define a DTD for it. Many XML editors can read an existing XML file and create a DTD for it. That DTD won't be perfect but it will be a very good starting point.
You can then specify the name of the DTD in the XML header and tell the XML parser to validate the structure (not the data, though).
To check the data, you can use XML schema but XML schema is very complicated and often an overkill.
Aaron DigullaAaron Digulla254k8888 gold badges489489 silver badges712712 bronze badges
Not the answer you're looking for? Browse other questions tagged xmlconverter or ask your own question.
The ISO image of both Windows 7 and Windows 8 had a file
ei.cfg
that could be modified to allow a user to install any edition of Windows.Since I am going to install the Windows 10 operating system on several different machines with different configurations, I would like to minimize the number of downloads I have to do in order to save bandwidth and time.
I would therefore like to know if the Windows 10 ISO also have this file for changing the windows edition (
Alex EssilfieAlex Essilfieei.cfg
) or I have to download each one separately.1,12822 gold badges1010 silver badges1919 bronze badges
3 Answers
I found that the Windows 10 does not have a
ei.cfg
file like in Windows 7 and Windows 8. Microsoft however provides two 'All Editions' versions in 32-bit and 64-bit flavors. Also, due to the layout of the disc, it is possible to combine both the 32-bit and 64-bit versions of both of the 'All Editions' discs in order to create a 'Universal Install Disc'I explain below how to obtain 32-bit or 64-bit All Editions disc and then a Universal Install Disc
How to download a Windows 10 All Editions Disc
- With a web browser running on any operating system apart from Wiindows 7 or Windows 8 (e.g. OSX, Linux, Android, Windows XP), visit https://www.microsoft.com/en-us/software-download/windows10ISO.
You can also modify your User Agent to falsely report your operating system if your browser supports it before clicking on the link. - Select the edition you want to download (i.e. Windows 10, Windows 10 KN, Windows 10 N, Windows 10 Single Language) and then click Confirm.
- Select the language you want to download and then clck Confirm.
You will now be presented with two buttons for downloading the 32-bit and/or 64-bit versions of Windows 10. The links are valid for 24 hours after which they expire.
How to create a Windows 10 Universal Install Disc
- Download both 32-bit and 64-bit versions of Windows 10 as shown above.
- Download the disc layout from here.
- Extract the Win10MultiIsoBase.zip file to a destination of your choice.
- Merge the contents of the Windows 10 ISO images with the extracted files by extracting the contents of the 32-bit ISO into the x86 folder and the 64-bit ISO into the x64 folder.
- Using ImgBurn, create an ISO image with the merged data.
Remember to make the image bootable by following these steps:- Select the Advanced tab and then the Bootable Disc tab.
- Check the Make Image Bootable check box.
- Download and use this file as the Boot Image.
- Choose
80x86
as the Platform ID. - Enter
Microsoft IMAPIv2
as the Developer ID. - Enter
07C0
as the Load Segment. - Enter
8
as the Sectors to Load.
- Optionally, burn the ISO to disc. You will have to use a DVD DL since the image file generated will be larger than 4.7 GB.After completing my download and examining the ISO, I have found that there is no
ei.cfg
file.
Credit to DOOManiac for finding how to download the ISO images and Danial B for the Windows 10 Multi-ISO base layout.
Original Post:
After completing my download and examining the ISO, I have found that there is no
ei.cfg
file.I am still searching for a way to achieve 'universal' install capability and I'll update this answer when I find one.
Ramhound22.8k1515 gold badges6565 silver badges8888 bronze badges
Alex EssilfieAlex Essilfie
How To Make A Config
1,12822 gold badges1010 silver badges1919 bronze badges
As Windows 10 build 10586 (also called version 1511 – for November 2015 – or Threshold 2) has come out since this question was asked, I'm going to write an up-to-date answer.
Traffic Report Daily Unique Visitors:Not ApplicableDaily Pageviews:Not ApplicableEstimated Valuation Income Per Day:$ 0.15Estimated Worth:$ 8.95Search Engine Indexes Google Indexed Pages:Not ApplicableBing Indexed Pages:Not ApplicableSearch Engine Backlinks Google Backlinks:Not ApplicableBing Backlinks:Not ApplicableSafety Information Google Safe Browsing:No Risk IssuesSiteadvisor Rating:Not ApplicableWOT Trustworthiness:Not ApplicableWOT Privacy:Not ApplicableWOT Child Safety:Not ApplicableWebsite Ranks & Scores Alexa Rank:Not ApplicableDomain Authority:Not ApplicableWeb Server Information.
The short answer is no, there is no
ei.cfg
in the .iso
by default.If having an all-in-one
.iso
containing Windows 10 Home and Pro 32-bit and 64-bit is what you want, this is fairly easy to do with the updated Media Creation tool that was released along with the November 2015 update.You have two options. If you want to start with a 'template', go to 1.1) Downloading the template. If you prefer to start from scratch, follow 1.2) From scratch.
1.1) Downloading the template
- Go to this OneDrive folder.
- Right-click on 'Windows10AIO' and click on 'Download' (VirusTotal rating).
- Extract the downloaded archive to your
C:
drive. You should now have aWindows10AIO
folder in yourC:
drive, which contains an emptyiso
folder, aprograms
folder,ei.cfg
andoscdimg.exe
. - Install 7-Zip if you don't have it (or a similar program) installed already from the
C:Windows10AIOprograms7-Zip
folder (use7z[version].exe
if you're following this guide on a 32-bit system, and7z[version]-x64.exe
for a 64-bit system).
1.2) From scratch
- Create a folder called
Windows10AIO
in yourC:
drive (soC:Windows10AIO
). - In that folder, create a folder called
iso
(soC:Windows10AIOiso
). - Download 7-zip from its website and install it (if you don't have a program that can extract
.iso
files installed already). - Download the Windows 10 Media Creation tool from here and save it to
C:Windows10AIOprogramsWindows 10 Media Creation tool
(create theprograms
andWindows 10 Media Creation tool
folders first). - Download the Windows 10 Assessment and Deployment Kit (WADK) and install it (you need only the Deployment Tools, so untick everything else during installation).
- Copy
oscdimg.exe
fromC:Program Files (x86)Windows Kits10Assessment and Deployment KitDeployment Toolsamd64Oscdimg
toC:Windows10AIO
. - Download the portable version of Rufus (
rufus-2.6p.exe
at the time of writing) from here, and save it toC:Windows10AIOprogramsRufus
. - Open Notepad and input the following text:
- Save this file as
ei.cfg
toC:Windows10AIO
. Make sure 'Save as type:' is set to 'All files (*.*)' when saving.
- Run the
MediaCreationTool.exe
and accept the license. - Select 'Create installation media for another PC' and click on 'Next'.
- Untick 'Use recommended options for this PC' if it's ticked.
- Select the language you want.
- Make sure 'Windows 10' is selected next to 'Edition' (unless you don't want/need Windows Media Player, in which case you select 'Windows 10 N').
You may notice that you can't choose between Windows 10 and Windows 10 Pro. This is because they're both included in the.iso
by default. - Select 'Both' for the architecture.
- Click on 'Next'.
- Choose 'ISO file' and click on 'Next'.
- Save the
.iso
toC:Windows10AIOiso
asWindows10.iso
. - Do something else while the Media Creation tool downloads and verifies the Windows 10 installation files, and makes an
.iso
out of them (unless you really like watching progress screens and percentages). - Click on 'Finish'.
- Navigate to
C:Windows10AIOiso
with File Explorer, right-click onWindows10.iso
and select '7-Zip' > 'Extract Here'. If you have another decompression program installed, use that to extractWindows10.iso
toC:Windows10AIOiso
. - Once everything is extracted, delete
Windows10.iso
. - There should now be four folders in
C:Windows10AIOiso
(boot
,efi
,x64
andx86
), and four files (autorun.inf
,bootmgr
,bootmgr.efi
andsetup.exe
). - Copy
ei.cfg
fromC:Windows10AIO
toC:Windows10AIOisox64sources
andC:Windows10AIOisox86sources
. - Navigate to
C:Windows10AIO
in File Explorer, hold down the Shift key and right click in an empty space. Click on 'Open command window here'. - In the Command Prompt that appears, type (or copy and paste) this and press Enter:
- There should now be a
Windows10AIO.iso
file inC:Windows10AIO
.
If you want to create a bootable Windows 10 installation USB-stick, follow 4.1) USB.
If you want to create a bootable DVD, follow 4.2) DVD.
If you don't want to do either, this is the end of this guide.
If you want to create a bootable DVD, follow 4.2) DVD.
If you don't want to do either, this is the end of this guide.
4.1) USB
- Plug in your USB-stick (must be at least 8 GB).
- Start
rufus-2.6p.exe
fromC:Windows10AIOprogramsRufus
. - Change the settings so they are like this:
- Device: the USB-stick you just plugged in.
- Format options
- Create a bootable disk using: ISO Image.
- Click on the button next to the dropdown box and select
C:Windows10AIOWindows10AIO.iso
.
- Partition scheme and target system type
- 'GPT partition scheme for UEFI' if the computers you're going to install Windows 10 on all have an UEFI BIOS, or 'MBR partition scheme for BIOS or UEFI-CSM' if the computers you're going to install Windows 10 on all have a legacy BIOS (pre-UEFI), or if some have UEFI and some have BIOS.
- Leave the other settings as they are.
- Double-check that the right USB-stick is selected, and make sure that there's nothing important on it.
If there is, this is your last chance to back everything up, as the USB-stick will be formatted while making it Windows 10 installation media. - Click on 'Start' and wait until Rufus has finished.
- Et voilà! You've created an all-in-one bootable Windows 10 USB-stick.
4.2) DVD
- Insert a double layer DVD in the disc tray.
- Navigate to
C:Windows10AIO
and right-click onWindows10AIO.iso
. - Select 'Burn disc image'.
- Make sure the correct disc burner is selected, optionally tick 'Verify disc after burning', and click on 'Burn'.
- Et voilà! You've created an all-in-one bootable Windows 10 DVD.
- For more information about
oscdimg.exe
, check this page.- The example on this page was used as basis for the
oscdimg
command line options in my answer.
- The example on this page was used as basis for the
- For more information about
ei.cfg
, check this page.
Disclaimer
- The Windows Media Creation tool and
oscdimg.exe
both copyright Microsoft.
I have no affiliation with Microsoft, nor do I claim to have any affiliation with the company or its employees. - Rufus – copyright Pete Batard/Akeo.
I have no affiliation with him or his website. - 7-Zip – copyright Igor Pavlov.
I have no affiliation with him or his website.
How To Change Txt To Lic
16.9k1111 gold badges4444 silver badges9191 bronze badges
niduncnidunc
In order to make an AIO iso you'll have to capture and append each version install.wim files. BUT you will not be able tu do OS upgrades with that AIO.
Upgrades can only be done with the corresponding version of Windows.
For example if you are using Windows 8.1 Pro the upgrade can be done with a Windows 10 Pro install disk/iso, not with an AIO even if it has the Windows 10 Pro installation files.
But an AIO works well, there is no ei.cfg needed.
I installed each version (W10 home & W10 Pro both 32 and 64 bits) on virtual machines, made my few customisations (like an OEM would do) in oobe mode, then captured each one in a install.wim file with dism, then appended them all into one install.wim file.
Then, I put it in the source folder of the 64 bit iso version of Windows 10 home (pro is working too) and that's it, working like a charm.
Of course if you don't know how to use virtual machines/oobe/dism you'll have to learn or wait for another guy to release en AIO on the internet.
ABCGuyABCGuy
protected by Community♦Jan 9 '16 at 1:58
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?