Win8 SL, replace A$er install.swm with MSDN iso modified SL install.wim

Discussion in 'Windows 8' started by WriteConsole, Jun 3, 2013.

  1. WriteConsole

    WriteConsole MDL Junior Member

    Jun 3, 2013
    60
    1
    0
    #21 WriteConsole, Jun 5, 2013
    Last edited: Jun 5, 2013
    (OP)
    ok, i figure out some more stuffs,

    if i press Shift + F10 on the GUI setup window, i got a command prompt,
    x:\
    if i cd to sources\recovery\ , i could see StartRep.exe and RecEnv.exe

    maybe i should just check dism.exe depencency and copy them to recovery folder, then i could use them from command prompt,

    btw, i got curious about setup.exe that exists on root x:\ folder, where does it comes from, because mount boot.wim doesnt show this file exists.
     
  2. WriteConsole

    WriteConsole MDL Junior Member

    Jun 3, 2013
    60
    1
    0
    i did the following,
    the boot.wim file i used is 64bit windows 8
    C:\Windows\system32>Dism.exe /Image:E:\boot64m /Get-Packages
     
  3. WriteConsole

    WriteConsole MDL Junior Member

    Jun 3, 2013
    60
    1
    0
    i think i figure out the setup.exe thing, it is located in /index:2 on boot.wim
    i would like to ask a question, how the pendrive or bios or uefi or anything decide, which Index to load?
    i imagine, if i could remove Index 2 or force run Index 1, maybe i will get a small windows PE 4.0 (x64), so the setup.exe GUI doesnt show up after booting from uefi pendrive.
     
  4. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,466
    990
    60
    All you need to do to get to Windows RE (PE) is put in your Windows 8/Windows 7 DVD.
    Boot to it.
    Select repair computer (your now in Windows RE (PE)
    select the os
    goto advanced tools
    command prompt
    run your commands
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. adit123tya

    adit123tya MDL Senior Member

    Oct 25, 2012
    397
    197
    10
    That is the problem, the WinPE on windows dvd has dism but doesnot support applying images. You need to add the dism package to the media. It is inluded in Windows ADK with "Windows Preinstallation environment". So basically he has to install Windows ADK (and he cannot skip the Preinstallation environment)
     
  6. WriteConsole

    WriteConsole MDL Junior Member

    Jun 3, 2013
    60
    1
    0
    #26 WriteConsole, Jun 6, 2013
    Last edited: Jun 6, 2013
    (OP)
    is that determine by the version of dism?

    this is the version of dism inside windows 8 sources directory
     
  7. WriteConsole

    WriteConsole MDL Junior Member

    Jun 3, 2013
    60
    1
    0
    yeap, it works, i could reach cmd prompt already, using the boot.wim file from windows 8 dvd.
    now trying to figure out the capture image part, save it, and etc,

    maybe i need to add package into boot.wim to have network share connectivity?
     
  8. BTOR

    BTOR MDL Addicted

    Nov 18, 2009
    574
    584
    30
    the best thing now is , integrating DART 8 into Boot.wim will get you all necessary PE4 tools, NETWORK connectivity,and much more.
     
  9. WriteConsole

    WriteConsole MDL Junior Member

    Jun 3, 2013
    60
    1
    0
    #29 WriteConsole, Jun 6, 2013
    Last edited: Jun 6, 2013
    (OP)
    this the first time i heard about DART 8,
    seems like awesome tool, amazing!

    forums.mydigitallife.net/threads/39367-DaRT-8-0-%28Diagnostics-and-Recovery-Toolset%29

    i extracted the msi file,
    E:\>msiexec /a MSDaRT80_x64.msi /qb TARGETDIR=e:\dart8

    trying to dism add package using windows 7 result errors
     
  10. BTOR

    BTOR MDL Addicted

    Nov 18, 2009
    574
    584
    30
    you need the whole ADK for win 8 , it will be 2.55 gb.


    it is good to tell us, what you have in hand

    prerequisites
    ---------------

    1. wimdows 8 MSDN ISO X64 and X 86 [ WINDOWS SINGLE LANGUAGE IMAGE. in your case ]

    2. ADK for windows 8 also debugging tools [ some 450 mb ]

    3. LANGUAGE packs for WINDOWS 8 [ separate for each Architect ]

    4. WINDOWS TO GO or WIN PE 3.0 / 4.0


    Procedure
    ------------

    it is always good to get image from real machine [ the one which you intend to take image backup should be similar to target machine ],this way the updates and drivers would be correctly installed.

    1. install windows enterprise edition

    2. Install ADK

    3. Create WINDOWS TO GO

    4. Run the dart msi and create dart image with debugging and PE tools

    5. Mount RU-ru and remove russian language then intergrate ienglish, and set en as default

    6. Enable .net 3.5

    7. Commit and un mount install.wim

    8. Replace this install.wim in to the MSDN iso

    9. Burn the image to dvd

    10. Install the above image, enter audit mode, update , install office, drivers and all other program, if you install AV you need to disable it before sysprep/generalize


    11. Shut down boot into PE / WINDOWS to GO

    12. If you are familiar with dism command use it else use GIMAGEX and capture the image

    13. This resultant install.wim is the final one. next time you can simply set this wim as custom refresh image and use that feature to get a fresh system

    14. If the custom refresh is not able to do the install, simply boot in to PE / WINDOWS TO GO and apply the image

    DONE
     
  11. WriteConsole

    WriteConsole MDL Junior Member

    Jun 3, 2013
    60
    1
    0
    #31 WriteConsole, Jun 6, 2013
    Last edited: Jun 6, 2013
    (OP)
    i captured the image, with antivirus, office starter and so on, it is around 8GB, :(
    couldnt put it into fat32 uefi pendrive =(
     
  12. BTOR

    BTOR MDL Addicted

    Nov 18, 2009
    574
    584
    30
    If you need to deploy windows via set up then your only option is dual layer dvd, BTW can you post what all you installed ?
     
  13. ace2

    ace2 Guest

    #33 ace2, Jun 6, 2013
    Last edited by a moderator: Jun 6, 2013
    1.Split the HDD into two C:, D:, (D: about 10GB) OR MAKE A NEW Partition about 10GB (BY/Using Shrink Volume)

    2.Format D: TO NTFS & Extract the Windows 8 ISO/DVD TO D: & Change the install.wim FOR THE 8GB install.wim

    3.D: NEEDS TO BE Active (Mark Partition D: as Active) & Restart Pc & Install Windows 8 TO C:.:D

    NOTES:
    This is the Basic Idea When Using Only ONE Partition/HDD.:D
     
  14. WriteConsole

    WriteConsole MDL Junior Member

    Jun 3, 2013
    60
    1
    0
    i updated windows 8 to today latest updates, (got 2 huge updates today, around 300mb)
    avg antivirus
    acrobat reader
    ms office starter 2010 with the client virtual* something
    firefox, chrome, 7zip

    i think, thats all i installed during audit mode.
     
  15. WriteConsole

    WriteConsole MDL Junior Member

    Jun 3, 2013
    60
    1
    0
    sorry, i dont get it, would you mind to explain further,
    the captured install.wim is around 8gb,
    to boot from uefi, the pendrive must in fat32 filesystem format,

    not using mbr here,
     
  16. BTOR

    BTOR MDL Addicted

    Nov 18, 2009
    574
    584
    30
    8 gb for the above is little big, any-ways i will try to reproduce and tell you. but believe me once you get the hang of dism you will never use setup.
     
  17. ace2

    ace2 Guest

    #37 ace2, Jun 6, 2013
    Last edited by a moderator: Jun 6, 2013

    1.Do not know if it will work with boot from uefi.:(

    2.Pendrive is not needed (Only needed to save a copy of 8GB install.wim).:D

    3.

    1.Split the HDD into two C:, D:, (D: about 10GB) OR MAKE A NEW Partition about 10GB (BY/Using Shrink Volume)

    2.Format D: TO NTFS & Extract the Windows 8 ISO/DVD TO D: & Change the install.wim FOR THE 8GB install.wim

    3.D: NEEDS TO BE Active (Mark Partition D: as Active) & Restart Pc & Install Windows 8 TO C:.:D

    NOTES:
    This is the Basic Idea When Using Only ONE Partition/HDD.:D
     
  18. WriteConsole

    WriteConsole MDL Junior Member

    Jun 3, 2013
    60
    1
    0
    ok,
    idk if making D active using diskpart will cause pc to boot from there under gpt partition scheme, i try figure out later, thanks.
     
  19. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,466
    990
    60
    #39 Humphrey, Jun 6, 2013
    Last edited by a moderator: Apr 20, 2017
    Why would that be? Plus what he was doing was capturing the image, not applying it.

    And windows ADK has the same version.

    No. What you need to do is run diskpart and find out which dir letter is for your windows instlalation and then run
    Code:
    DISM.exe /capture-image /imagefile:(Path to where you want to save the image.) /capturedir:(Path to os installation you got from diskpart) /CheckIntegrity /Verify
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,466
    990
    60
    #40 Humphrey, Jun 6, 2013
    Last edited by a moderator: Apr 20, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...