[SUPPORT/CHAT] s1ave77s S-M-R-T W[/O]U TOOL v.0.78.1406.2

Discussion in 'MDL Projects and Applications' started by s1ave77, Nov 23, 2014.

  1. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    #161 The_Guardian, Apr 11, 2015
    Last edited: Apr 11, 2015
    I don't know the script but this looks like it could be causing a problem...
    ADMINI~1
    Why not just do %Temp% for user temp directory? What if the user name for the %Temp% directory is Bill? See what I am saying? Also if Admin acct is active then it will put the files there instead of user %Temp% folder which will cause a error. Keep in mind if win 7 there is a known issue that M$ has never fixed on some machines where the user %Temp% folder gets corrupt and you cant write to it. This isn't on every win 7 machine but it does happen to some. This is the main reason for win7 I do not use the user %Temp% folder. ;) Like I said, I don't know the script but worth looking into.
     
  2. Vercetti757

    Vercetti757 MDL Novice

    Sep 16, 2013
    6
    6
    0
    Thanks @The_Guardian! I will take a look at that and see if that helps. I am currently testing this on a Windows 8.1 x64 Virtual Machine so i don't think it would be related to the Win7 bug. I was using the Local Administrator account when i copied the Console text but i get the same error with another user name such as Bill. The screenshot from my previous post had the username as "Yay" (I am not very creative with my VM names ;))

    Here is a section of the script that sets the variable for the txt files:

    ::SET FILE PATH VARIABLES
    set "todolist=%temp%\todolist.txt"
    set "updatelist=%temp%\updatelist.txt"
    ::=======================

    This section checks CPU Arch:

    :SystemCheckVariables
    for /f "tokens=2* delims= " %%a in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "CurrentVersion"') do set "version=%%a"
    if "%version%"=="6.1" set "updatename=Windows6.1"
    if "%version%"=="6.2" set "updatename=Windows8-RT"
    if "%version%"=="6.3" set "updatename=Windows8.1"
    for /f "tokens=2* delims= " %%a in ('reg query "HKLM\System\CurrentControlSet\Control\Session Manager\Environment" /v "PROCESSOR_ARCHITECTURE"') do (
    if "%%b"=="AMD64" set vera=x64
    if "%%b"=="x86" set vera=x86
    )



    And the FOR Loop that looks in updatelist.txt file and saves the output to todolist.txt:

    set "count=0"&&set "count2=0"
    for /f "tokens=* delims=- " %%a in (%updatelist%) do (
    for /r %%i in (*.msu) do (
    set "archcheck=%%~ni"
    echo %%~ni | findstr /i "%%a" 1>nul && if "!archcheck:~-3!"=="%vera%" set /a "count+=1"&&echo %%~ni&&echo %%~ni>>%todolist%
    ))
    if /i "%count%"=="0" (
    call :NotFound "No Updates to install found."
    call :Footer
    goto:CheckDownloadChoice
    )


    I feel like it must be something obvious I am missing but I am still a n00b in many ways:p

    I appreciate any suggestions, it is great getting a fresh perspective after staring at code for days :D
     
  3. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    This seems to be the issue but not sure how to fix it...will have to research it first.
    echo %%~ni | findstr /i "%%a" 1>nul && if "!archcheck:~-3!"=="%vera%" set /a "count+=1"&&echo %%~ni&&echo %%~ni>>%todolist%
     
  4. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    Hello Folks! Sorry for any inconvenience.

    Was a bit distracted by real life duties and needed a little break. Now i'm back and will update the tool soon.

    Reworked the Online Install. Seems to work now, including downloading parsed links from WindowsUpdate.log.

    Also got the Update Integration working. Only need updated lists.

    Doggie
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    Nice one, thanks :good3:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    960
    1,677
    30
    Welcome back.
    You had me worried there for a while...
    (So, a six month sentence this time, eh? ;))
     
  7. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    We could call it like that :D. Although it was self chosen :cool2:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    Watching your moves pattern in 2014, now in 2015, you are like Comet Halley with your periodic arrivals and departures very spectacular and sad every time :D
    Welcome back !!!
     
  9. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    #170 s1ave77, Jun 10, 2015
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,219
    84,895
    340
  11. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    #172 s1ave77, Jun 10, 2015
    Last edited: Jun 10, 2015
    (OP)
    @ abbodi

    Thank you pal, is already new list for x86 :good3:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. leontief

    leontief MDL Novice

    Jan 18, 2011
    1
    1
    0
    @s1ave77
    I found a typo in script.
    label :SystemCheckVariables

    script line: 2554
    for /f "tokens=2* delims= " %%a in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "CurrentVersion"') do set "version=%%a"

    It maybe should be %%b.
    I have not yet tried this script. Even if Version Check fails, is there no problem?
     
  13. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    BGD PRODUCTION PRESENTS:
    s1ave77s S-M-R-T WU TOOL v.1.01

    featuring burfs Office Installer



    v1.01
    Tons of fixes and addings ... will be added later on
    Reworked Online Update Install part
    Reworked and updated murphy/abbodi Integration part for latest MSDN ISOs

    New Log Query feature to match KB list with Download link list




     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    #176 s1ave77, Jun 14, 2015
    Last edited by a moderator: May 23, 2017
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    #177 s1ave77, Jun 16, 2015
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    BGD PRODUCTION PRESENTS:
    s1ave77s S-M-R-T WU TOOL v.1.02





    v.1.02
    Added option to download single links
    Added option to create bootable USB from Setupfiles



     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. kuroda

    kuroda MDL Senior Member

    Aug 25, 2012
    445
    32
    10
    Hi! I would like to know if can be converted to an iso 8.1(core,pro,enterprise) aio with install.win for install.esd (aio).Thanks!
     
  19. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    Don't get exactly what you want. Tool is able to export indices (needed to create so-called AIOs) and convert WIM>ESD and vice versa.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...