Windows Integration Guide - murphy78

Discussion in 'Windows 8' started by murphy78, Sep 5, 2013.

  1. Bira

    Bira MDL Junior Member

    Oct 4, 2017
    66
    15
    0
    Look at this slave I already have in the scripts

    cd / d "% ~ dp0"
    set "WORKDIR =% cd%"
    set "TEMPDIR =% WORKDIR% \ TEMP"
    if "% INSTALLWIMDIR%" == "" set "INSTALLWIMDIR = install.wim"
    if "% MOUNTDIR%" == "" set "MOUNTDIR =% ~ dp0 \ MOUNT"
    set "DISMTEMPDIR =% TEMPDIR% \ scratch"
    set "EXTRACTDIR =% TEMPDIR% \ extract"
    set "INSTALLMOUNTDIR =% MOUNTDIR% \ install"

    =====================
    Information Image (s)
    =====================

    Deployment Image Management and Maintenance Tool
    Version: 10.0.17134.1

    Image Details: install.wim

    Table of contents: 1
    Name: Windows 7 Home Basic x64
    Description: Home Basic
    Size: 11,776,358,966 bytes

    Table of Contents: 2
    Name: Windows 7 Home Premium x64
    Description: Home Premium
    Size: 12,290,816,824 bytes

    Table of Contents: 3
    Name: Windows 7 Professional x64
    Description: Professional
    Size: 13,448,801,793 bytes

    Table of Contents: 4
    Name: Windows 7 Enterprise x64
    Description: Enterprise
    Size: 13.475.655.960 bytes

    Table of contents: 5
    Name: Windows 7 Ultimate x64
    Description: Ultimate
    Size: 13,626,231,207 bytes

    The operation completed successfully.


    =================================
    Detect details Image (s)
    =================================


    Version: 7601
    Quant: 5 Image (s)
    Architecture: 64-bit


    ===============================
    Mounting Image (s) - index 1/5
    ===============================
    Press any key to continue. . .
     
  2. Bira

    Bira MDL Junior Member

    Oct 4, 2017
    66
    15
    0
    what I want, and that in this folder install, where I installed the loop, install the 1/5 images each one in your folder, and also I can create there the folders of the directory, where it will recognize in the directory, a folder, Packs / updates / x32 / 64, inside the same folder Packs / drivers / x32 / 64 to install in scripts, without mounting one with mkdir, understood?
     
  3. Bira

    Bira MDL Junior Member

    Oct 4, 2017
    66
    15
    0
    #843 Bira, Jul 1, 2018
    Last edited: Jul 1, 2018
    for those who do not know anything about scripts, I got other scripts and went to see if it worked. When I saw that it was working, I attributed it to my own way, of course, with a lot of head-ache, and gave it to me where I wanted to, that the scripts only recognized, the number of install.wim, with% VERSIONS% pulls the other ne? but let's one day learn rs I did nothing rs only I was erasing to see where it was where one was pulling the other finally gave it rs, what I just want and automatically make these index folders as in the first explanation that you gave in the loop d: \ mont\%% x, but in that install in that folder, and create the directory packs / updates / x32 / 64, and packs / drivers / x32 / 64, in that scripts
     
  4. Nanthakumar

    Nanthakumar MDL Novice

    Oct 14, 2017
    6
    1
    0
    Murphy, Help me to merge x86 and x64 windows 10 into one iso (like your dual boot)?
     
  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    30,800
    48,180
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    30,800
    48,180
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. matrixzri

    matrixzri MDL Novice

    Aug 19, 2016
    2
    1
    0
    Hello. How do I integrate DART in my windows installer?
     
  8. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    30,800
    48,180
    450
    #849 Enthousiast, Jan 10, 2019
    Last edited: Jan 10, 2019
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. matrixzri

    matrixzri MDL Novice

    Aug 19, 2016
    2
    1
    0
    Thank you very much. I will try it now
     
  10. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    30,800
    48,180
    450
    I've added win 10 support too :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    30,800
    48,180
    450
    #852 Enthousiast, Jan 10, 2019
    Last edited: Jan 10, 2019
    Added 8.1 too, next i will try to do something for winre.wim too.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    860
    1,522
    30
    Hey, ENTST, you removed your code with that last edit!
    Too bad, I was just going to say "Look out, you're turning into a coder"
    :)
     
  13. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    30,800
    48,180
    450
    :D:D

    https://forums.mydigitallife.net/th...ion-guide-murphy78.47875/page-43#post-1496205 not enough code, in the 6 cmd's? :D

    The deleted part needs to be reviewed, i can't code but for me these low level code "scripts" do their job ;):D

    Simple to edit, for specific needs, that's why i deleted the shown code for winre.wim, some have 1 index, others have 2, so i will have to find a way to keep it working for more scenarios.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    30,800
    48,180
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,701
    749
    60
    OMG thanks for the update. Without me implementing DaRT and testing it I wouldn't have caught that my temp 20GB recovery partition wasn't being deleted after the apply image stage!
    With every release of Win10 (1507-1909) my script has worked in removing this partition, except for 2004, where I now have added OVERRIDE to the diskpart script! DOH!
    Code:
    If %FIRMWARE_TYPE%==UEFI (
        echo sel vol w >x:\x.txt
        echo sel par 4 >>x:\x.txt
        echo del par override >>x:\x.txt
        echo sel par 3 >>x:\x.txt
        echo ext >>x:\x.txt
        echo sel par 1 >>x:\x.txt
        echo remove noerr >>x:\x.txt
        echo lis vol >>x:\x.txt
        diskpart /s x:\x.txt
        IF %ERRORLEVEL% NEQ 0 pause
        del x:\x.txt
       )
     
  16. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    30,800
    48,180
    450
    2004 creates the OEM partition after the others are created, could that be the cause of it not deleting your recovery partition?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,701
    749
    60
    I still have the real Recovery as the last partition. For bulk deployment I'm still using Legacy GhostCast. When this dummy recovery is booted it restores the OS, WinRE (with DaRT), new boot entries & then self deletes..
    Perhaps diskpart is protecting the booted partition? Anyway, all working now!
     
  18. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,807
    10,411
    210
    I think you might need to remove the recovery attribute on the partition to delete it if you're not doing a full "clean" wipe.
    I'm unsure if Windows Setup handles this automatically or not.
    I seem to remember reading something about that when writing up my diskpart script.
     
  19. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,701
    749
    60
    I'm handling everything from scripts. The dummy recovery doesn't have id de94bba4-06d1-4d40-a16a-bfd50179d6ac or gpt attribute 0x8000000000000001 set.. It's just a standard primary...