to facilitate upgrading from a running Windows when the 8.1 Upgrade is run from USB ONLY since requiring write access. Code: @echo off start control.exe /name Microsoft.System echo To which Windows 8.1 version do you want to upgrade? echo. echo C : Core echo P : Professional echo E : Enterprise echo. choice /C:cpe /M "Please type letter to choose your option:" if errorlevel 3 goto enterprise if errorlevel 2 goto professional if errorlevel 1 goto core :core echo. copy \sources\ei.cfgs\core\ei.cfg \sources\ei.cfg goto setup :professional echo. copy \sources\ei.cfgs\pro\ei.cfg \sources\ei.cfg goto setup :enterprise echo. copy \sources\ei.cfgs\enterprise\ei.cfg \sources\ei.cfg :setup echo. echo Wait for the Windows 8.1 Setup to finish (do NOT close this Window)! echo. \setup.exe copy \sources\ei.cfgs\ei.cfg \sources\ei.cfg echo. echo The original ei.cfg fie [Channel: Retail] was restored - done! echo. pause all files attached. Overwrite existing autorun.inf @ admin: I'm aware of the repository, but since no murphy AIO section could be found in there, it was inefficient to post in there ..
This seems to be the only keyless way of doing AIO for Win8.1 and be able to keep your program files and settings from your previous OS. We experimented with the setup and ei.cfg fairly extensively the other night and could not upgrade without either keeping the ei.cfg set to a specific [editionid] or simply omitting the ei.cfg and entering the key manually. I guestimate that if you paired this up with a command to run setup afterward, it would be a fairly decent way of running a keyless AIO for win8.1
Code: :setup echo. echo Wait for the Windows 8.1 Setup to finish (do NOT close this Window)! echo. \setup.exe copy \sources\ei.cfgs\ei.cfg \sources\ei.cfg @ ace2: thanks for your contrib - am digging through corporate code right now and will reply (and inquire) soon.
hoi ace2 - as threatened a few remarks and questions for enjoyable discussion 1. WMC: ah OK, I guess this is necessary - \sources\ei.cfgs\proWMC\ei.cfg: Code: [EditionID] ProfessionalWMC [Channel] Retail 2. Code: start D:\setup.exe TIMEOUT 30 I intentionally decided against a timeout considering it sub-optimal because it bears potential to not have the set-up reach the pivotal point. Example: right after setup.exe launches, a distraction occurs (phone call, cat barks, dog meouws). Result: the installer will throw an error at you. 3. what according to you is the advantage of the DEL/ XCOPY + params combo, vs. simple COPY? Just the suppression of the copied file echo? I do not care about it (and did not even look into possible params to achieve the same with COPY. 4. what according to you is the difference in regards to root path HDD vs. USB Flash drive? I totally do not see the slightest necessity and advantage of adding a static drive letter + : in front of the root \ 5. downgrade: I briefly experimented with that - the disadvantage seems to be that one can only keep settings, but no "apps". No idea how MS defines "apps" here - if that only refers to MS apps, or to any APPLICATIONS one has installed. Thanks, Bugs.
Instead of having the folders containing the seperate ei.cfg files, it should just have lines of code in the cmd/batch that outputs the needed lines to a ei.cfg that is created by the cmd/batch. Code: @echo off Set EditionID= start control.exe /name Microsoft.System echo To which Windows 8.1 version do you want to upgrade? echo. echo C : Core echo P : Professional echo E : Enterprise echo. choice /C:cpe /M "Please type letter 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=enterprise & GOTO :eicreate :eicreate ECHO.[EditionID]>>.\sources\ei.cfg ECHO.%EditionID%>>.\sources\ei.cfg ECHO.>>.\sources\ei.cfg ECHO.[Channel]>>.\sources\ei.cfg ECHO.Retail>>.\sources\ei.cfg :setup echo. echo Wait for the Windows 8.1 Setup to finish (do NOT close this Window)! echo. \setup.exe copy \sources\ei.cfgs\ei.cfg \sources\ei.cfg echo. echo The original ei.cfg fie [Channel: Retail] was restored - done! echo. pause ~ed~ Corrected some lines of code.
Help with this file Hi could u please help me with this file I have downloaded it but I am not too sure where too put it or what too do with it, will this file help me upgrading the preview as I have tried the cversion.ini trick but can't seem too get it too work still only have the 2 options when there should be 3 options PLEASE could somebody HELP me. Thanks Chris...
Thanks for ur reply but where are the instructions I only got one .php file when I downloaded it and don't know where too put it no instructions and what does this actually do and will it help me too do a upgrade install at all as im really stuck and need too my program files???
very cool, Humphrey, thank you. I've seen the ECHO.>> function before but need to admit that a) I never learned DOS batch and Windows terminal in depth, and b) my notes are incomplete. I'll update my script when I'm awake again, also with the missing ei.cfg [Edition] professionalWMC part (can hardly focus my eyes and I think my head might fall onto the keyboard any moment .. )
Changed it up a little. Seeing how the natural state of a ISO is to not have a EI.CFG I had it delete the ei.cfg instead of adding a default one. Code: @echo off CD /D %~DP0 IF EXIST ".\sources\ei.cfg" DEL /F /Q ".\sources\EI.CFG" Set EditionID= start control.exe /name Microsoft.System echo. To which Windows 8.1 version do you want to upgrade? echo. echo. 1 : Core echo. 2 : Professional echo. 3 : ProfessionalWMC echo. 4 : Enterprise echo. choice /C:1234 /M "Please type letter 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 :eicreate echo.[EditionID]>>.\sources\ei.cfg echo.%EditionID%>>.\sources\ei.cfg echo.>>.\sources\ei.cfg echo.[Channel]>>.\sources\ei.cfg echo.Retail>>.\sources\ei.cfg :setup echo. echo. Wait for the Windows 8.1 Setup to finish (do NOT close this Window)! echo. \setup.exe IF EXIST ".\sources\ei.cfg" DEL /F /Q ".\sources\EI.CFG" echo. pause
lol idk. Wouldn't the delete command wait till setup finished before running? Hmm. Maybe I need to sleep. Forgot how windows boots for a moment. Also, the exit i had in there was in place so i could test the batch without it try to call setup, i have now removed it.
This will create a blank ei.cfg after you delete the existing one. copy /y NUL %~dp0sources\ei.cfg >NUL The setup files for Vista\Win7\Win8\8.1 x86 and x64 without the install or boot wims are 2 gb. Something i have been toying with today is running the various setups\upgrades from within the %temp% folder. Zipped, the 2 gigabytes become 250 meg. I made a little gui exe where it contains all the files zipped, and when you select the OS, it unzipps the setup files to %temp% and calls setup. I just point setup in the right direction to install.wim and use the /m switch for good measure, and it has been working well. With 8.1, im leaning towards just extracting the setup files to the usb sources dir and running them on demand depending on the OS if i can't run setup from a non root. One last trick i noticed, if you have many setup files in dirs that you run that require a boot.wim in the setup files directory to work, i mounted a boot.wim, and deleted everything but bootmgr and then saved the wim (less than a meg). As long as the flag is set to 9, it works with upgrades.
Still not too sure how I use this file could u please write me a little guide on how too use/put it please and what I need too do...
I'm not sure what "flag set to 9" means but this is an interesting concept. I could see something like this being used with a boot image for UEFI support and stuff. I wish I knew more about the different boot environments, bcdboot stuff, system partitions etc; but alas I'm a bit clueless. It's like trying to read that kms emulator source thread. A lot of it I understand, but when they start talking about Salt IV and stuff, my eyes just glaze over.
Modded for HDD, for MY 5-IN-1 install.wim, Humphrey Thanks for the idea ace2 Code: @echo off 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" EXIT OR Code: @echo off echo.Installed Window Version IS reg query "HKLM\Software\Microsoft\Windows NT\CurrentVersion" /v "ProductName" IF EXIST "D:\sources\ei.cfg" DEL /F /Q "D:\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]>>D:\sources\ei.cfg echo.%EditionID%>>D:\sources\ei.cfg echo.>>D:\sources\ei.cfg echo.[Channel]>>D:\sources\ei.cfg echo.Volume>>D:\sources\ei.cfg echo.>>D:\sources\ei.cfg echo.[VL]>>D:\sources\ei.cfg echo.1>>D:\sources\ei.cfg :setup echo. echo. Wait for the Windows 8.1 Setup to finish (DO NOT CLOSE THIS WINDOW)!!! echo. Start D:\setup.exe TIMEOUT 30 IF EXIST "D:\sources\ei.cfg" DEL /F /Q "D:\sources\EI.CFG" EXIT
yes, that method is for deployment customized wim file via answer-file, care must be taken to avoid in-compatibility..
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
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...