ei.cfg automator script for Windows 8.1 AIO 4in1 (murphy78) run from USB

Discussion in 'Windows 8' started by BugsB, Sep 3, 2013.

  1. BTOR

    BTOR MDL Addicted

    Nov 18, 2009
    575
    584
    30
    yes, that method is for deployment customized wim file via answer-file, care must be taken to avoid in-compatibility..
     
  2. ace2

    ace2 Guest

    #22 ace2, Sep 6, 2013
    Last edited by a moderator: Apr 20, 2017
    ei.cfg for MY 5-IN-1 install.wim, (All version available for clean install as well). ;)

    Code:
    CD /D %~DP0
    
    echo.Installed Window Version IS
    reg query "HKLM\Software\Microsoft\Windows NT\CurrentVersion" /v "ProductName"
    
    IF EXIST ".\sources\ei.cfg" DEL /F /Q ".\sources\EI.CFG"
    
    Set EditionID=
    echo.
    echo.To which Windows 8.1 version do you want to upgrade OR downgrade
    echo.
    echo.     1 : Core
    echo.     2 : Professional
    echo.     3 : ProfessionalWMC
    echo.     4 : Enterprise
    echo.     5 : CoreSingleLanguage
    echo.
    choice /C:12345 /M "Please select a number to choose your option:"
    
    if "%errorlevel%"=="1" SET EditionID=Core & GOTO :eicreate
    if "%errorlevel%"=="2" SET EditionID=Professional & GOTO :eicreate
    if "%errorlevel%"=="3" SET EditionID=ProfessionalWMC & GOTO :eicreate
    if "%errorlevel%"=="4" SET EditionID=Enterprise & GOTO :eicreate
    if "%errorlevel%"=="5" SET EditionID=CoreSingleLanguage & GOTO :eicreate
    
    :eicreate
    echo.[EditionID]>>.\sources\ei.cfg
    echo.%EditionID%>>.\sources\ei.cfg
    echo.>>.\sources\ei.cfg
    echo.[Channel]>>.\sources\ei.cfg
    echo.Volume>>.\sources\ei.cfg
    echo.>>.\sources\ei.cfg
    echo.[VL]>>.\sources\ei.cfg
    echo.1>>.\sources\ei.cfg
    
    :setup
    echo.
    echo. Wait for the Windows 8.1 Setup to finish (DO NOT CLOSE THIS WINDOW)!!!
    echo.
    Start .\setup.exe
    
    TIMEOUT 30
    
    IF EXIST ".\sources\ei.cfg" DEL /F /Q ".\sources\EI.CFG"
    
    echo.[EditionID]>>.\sources\ei.cfg
    echo.>>.\sources\ei.cfg
    echo.[Channel]>>.\sources\ei.cfg
    echo.Volume>>.\sources\ei.cfg
    echo.>>.\sources\ei.cfg
    echo.[VL]>>.\sources\ei.cfg
    echo.1>>.\sources\ei.cfg
    
    EXIT
     
  3. csecker

    csecker MDL Novice

    Sep 6, 2013
    13
    2
    0
    Can anybody help me too get the options too Keep Windows settings personal files and apps I've tried editing the cversion.ini too 9431.0 and even tried editing the UpgradeMatrix.xml file but Keep Windows settings personal files and apps still wont appear is there anything else I can mod too get this option??? I've search google but can't seem too find an answer too this problem so could somebody please help me as I really need too upgrade and not do a clean install. Also I would like too use the file in this thread but I haven't got a clue on where too put it or what too do with it so if somebody could give me a little guide PLEASE as I really want too try this out...
     
  4. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,394
    11,615
    240
    We were not able to get the keep files and settings thing unless the following is true:
    No ei.cfg
    --or--
    ei.cfg set to a specific editionid (hence this whole thread)
    --and--
    run setup.exe from the root of the RTM dvd, not the sources\ folder
     
  5. csecker

    csecker MDL Novice

    Sep 6, 2013
    13
    2
    0
    I've tried changing the cversion.ini and changed lang and region too US and run setup.exe from root of dvd but still no joy do u have any other ideas??? I downloaded the preview .iso from Microsoft for united kingdom would that make any difference in upgrading too RTM???
     
  6. ultimate_live

    ultimate_live MDL Expert

    Mar 15, 2011
    1,022
    671
    60
    #26 ultimate_live, Apr 16, 2014
    Last edited by a moderator: Apr 20, 2017
    WEill this also work with other AIO's including x86/x64, and the Server 2012?
     
  7. greenworld5588

    greenworld5588 MDL Novice

    Jun 4, 2014
    19
    0
    0
    I created an AIO x64/x86 Windows 7 iso, and AOI x64/x86 8.1 iso.
    both worked perfectly, but if I make a single install.wim of Win7 and 8.1, in initial setup, it ended up with this error: installation key error.
    what there is any ei.cfg or unattend.xml to solve this problem?