Windows 7 AIO -on memory stik 4GB-

Discussion in 'Windows 7' started by ozzyboy, Feb 4, 2010.

  1. ozzyboy

    ozzyboy MDL Member

    May 18, 2009
    163
    5
    10
    #1 ozzyboy, Feb 4, 2010
    Last edited: Feb 4, 2010
    Windows 7 AIO -on memory stick 4GB-

    Hi ,
    I wondering if it's possible to do a image file of win 7 (all edition 32 and 64bit) for memory stick 4GB.
    I did an image after Hazar AiO 7 DvDkit, but the final file have 3.83GB and all 4GB memory stick have 3,72-3,76GB REAL free space...and it's not enough, to create a bootable stick with that image.
    So, i'm asking again, It is possible to "cut" a some files or to create a ISO AIO just like that created by Hazar AiO 7 DvDkit.

    Thx!!!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,104
    1,303
    150
    Doesnt Hazar's kit integrate windows updates aswell?

    Try not to integrate them (by removing them from the folder ofcourse.
     
  3. ozzyboy

    ozzyboy MDL Member

    May 18, 2009
    163
    5
    10
    #3 ozzyboy, Feb 4, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
    I haven't tried to remove them, but honestly it crossed in my mind,...I guess i have to try it..
    Aaa...But I think have to change the command line from "start.bat" somehow...What lines need to be changed?!!

    I looked in source cmd, and I guess all this command must be delelted....I'm right?

    Code:
    :x64_updates
    IF EXIST "%~dp0updates\x64" (
       DIR /B "%~dp0updates\x64" | FINDSTR /R ".*" >nul
       IF NOT ERRORLEVEL 1 (
          DIR /B /A:-D "%~dp0updates\x64" | FINDSTR /R ".*" >nul
          IF NOT ERRORLEVEL 1 (
             DISM /image:"%WINDIR%\MOUNT" /Add-Package /PackagePath:"%~dp0updates\x64" >nul
          ) ELSE (
             ECHO Ignore File Not Found >nul
          )
          FOR /F "tokens=*" %%A IN ('DIR /B /A:D "%~dp0updates\x64"') DO (
            DISM /image:"%WINDIR%\MOUNT" /Add-Package /PackagePath:"%~dp0updates\x64\%%A" >nul
          )
       )
    )
    cls
    Echo Working...
    GOTO :eof
    
    :x86_updates
    IF EXIST "%~dp0updates\x86" (
       DIR /B "%~dp0updates\x86" | FINDSTR /R ".*" >nul
       IF NOT ERRORLEVEL 1 (
          DIR /B /A:-D "%~dp0updates\x86" | FINDSTR /R ".*" >nul
          IF NOT ERRORLEVEL 1 (
             DISM /image:"%WINDIR%\MOUNT" /Add-Package /PackagePath:"%~dp0updates\x86" >nul
          ) ELSE (
             ECHO Ignore File Not Found >nul
          )
          FOR /F "tokens=*" %%A IN ('DIR /B /A:D "%~dp0updates\x86"') DO (
             DISM /image:"%WINDIR%\MOUNT" /Add-Package /PackagePath:"%~dp0updates\x86\%%A" >nul
          )
       )
    )
    cls
    Echo Working...
    GOTO :eof
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,104
    1,303
    150
    Well i dont have the whole kit on my computer, but is there any other .bat or .cmd files ?
     
  5. ozzyboy

    ozzyboy MDL Member

    May 18, 2009
    163
    5
    10
    Hazar himself, answer me...and right now i'll give a try.
    Thx, tcntad, for your interest!!

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. ozzyboy

    ozzyboy MDL Member

    May 18, 2009
    163
    5
    10
    I'm back!! Right now the process have completed...I've got 3,65 GB (3.925.352.448 bytes) image file.
    THX Hazar for helping me...Now I'm write it on my SanDisk 4GB Cruzer Titanium (who have 3.76GB) with windows 7 usb/dvd tool.
    All have a good night. I'm going to sleep right now!! :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. mazodude

    mazodude MDL Junior Member

    Jan 4, 2009
    59
    2
    0
    For other users could you post a tut on how you (and hazar) make the image.
     
  8. ozzyboy

    ozzyboy MDL Member

    May 18, 2009
    163
    5
    10
    #8 ozzyboy, Feb 5, 2010
    Last edited: Feb 5, 2010
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...