[Tool] ConvertNT5SKUs - Convert Windows NT 5.x SKUs v3.0.0 (RC2)

Discussion in 'Windows XP / Older OS' started by example12345678912345678, Oct 31, 2021.

  1. example12345678912345678

    Dec 29, 2019
    568
    319
    30
    #141 example12345678912345678, Dec 23, 2023
    Last edited: Dec 23, 2023
    (OP)
    I started to figure out the sound copying issue.
    As of now, there are no boot nor major copying problems left. Only a few minor bugs left.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. ohault

    ohault MDL Member

    Dec 27, 2022
    192
    52
    10
    Have you been able to solve the last issues about 3.0.0 ?
     
  3. example12345678912345678

    Dec 29, 2019
    568
    319
    30
    It is almost complete. However I have yet to fix Media Center Edition components on x64.
    MCE uses .NET Framework 1.x and not compatible with NT 5.2's Net Framework 2.0.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. ohault

    ohault MDL Member

    Dec 27, 2022
    192
    52
    10
  5. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,451
    60
    There is simple way

    Usage:
    Code:
     %WinDir%\System32\wscript.exe //nologo %WinDir%\setup\scripts\invisible.vbs YourBatch WithAny NumberOf Parameters Too
    Invisible.vbs
    Code:
    Dim Args()
    ReDim Args(WScript.Arguments.Count - 1)
    
    For i = 0 To WScript.Arguments.Count - 1
        Args(i) = """" & WScript.Arguments(i) & """"
    Next
    
    CreateObject("WScript.Shell").Run Join(Args), 0, True
    It run's and wait until given process terminate.
    0/1 = Hide / Show
    True/False = Wait/Continue
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. example12345678912345678

    Dec 29, 2019
    568
    319
    30
    Unfortunately, I tried everything possible. Checking SVCPACK.INF syntax and even converting .vbs to .exe. All results are the same. Installation ends without installing .NET Framework 1.1 nor Media Center components.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,919
    150
    You may try the great nircmd from nirsoft that has the option to launch any cmd command as hidden (and maximized/minimized...)
     
  8. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,451
    60
    Easy, build SFX installer with WinRAR, and run that command from there using Setup=. For example extract to %TEMP%\sfxtest and command
    Code:
    "%WinDir%\System32\wscript.exe" //nologo "%TEMP%\sfxtest\invisible.vbs" YourBatch WithAny NumberOf Parameters Too
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,919
    150
    Surely using internal commands is somewhat more elegant, but the nircmd is something that is generic, deadly simple to use even for a newbie, and useful for a number of other things aside the install steps, starting from hiding a scheduled task script.

    Also given the hidden thing is a switch, is pretty practical to test a command without the hidden switch, then add it when you're sure that everything works as expected.
     
  10. example12345678912345678

    Dec 29, 2019
    568
    319
    30
    It is not working. I tried everything including nircmd and iexpress.exe.
    Setup still does not run the file during installation.
    Code:
    [Version]
    Signature="$Windows NT$"
    
    [SetupData]
    CatalogSubDir="\AMD64\svcpack"
    
    [SetupHotfixesToRun]
    Setup=install.exe
    
    [ProductCatalogsToInstall]
    mediactr.cat
    
    Another example:
    Code:
    [Version]
    Signature="$Windows NT$"
    
    [SetupData]
    CatalogSubDir="\AMD64\svcpack"
    
    [SetupHotfixesToRun]
    nircmdc exec hide install.exe
    
    [ProductCatalogsToInstall]
    mediactr.cat
    
    Another example:
    Code:
    [Version]
    Signature="$Windows NT$"
    
    [SetupData]
    CatalogSubDir="\AMD64\svcpack"
    
    [SetupHotfixesToRun]
    nircmdc exec hide cscript script.vbs
    
    [ProductCatalogsToInstall]
    mediactr.cat
    
    Using Setup= or not does not make any difference.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,451
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,919
    150
    about nircmd, like I said, try first with the show switch to see what's going on. (nircmd sends errors to a pupup windows, nircmdc to the console)

    also there is a further way using nircmd win show/hide that hides a window launched, before, by something else (cmd.exe for example), less elegant but if everything else fails may be an option.
     
  13. example12345678912345678

    Dec 29, 2019
    568
    319
    30
    #155 example12345678912345678, Jan 15, 2024
    Last edited: Jan 15, 2024
    (OP)
    I think the problem is related to svcpack. Setup simply bypasses the file and continues to install Windows.
    There's no problem when running the file manually.
    But it has to be installed automatically and since Setup registers components RunOnce is not a solution.
    @George King, @acer-5100
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,919
    150
    I thought your problem was that the thing worked, automatically, using cmd but you wanted to do that silently.
     
  15. example12345678912345678

    Dec 29, 2019
    568
    319
    30
    #157 example12345678912345678, Jan 15, 2024
    Last edited: Jan 15, 2024
    (OP)
    I got an idea. Why don't I try to install MCE via sysoc.inf and NetFx 1.1 via svcpack.inf?
    Update: It didn't work.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,451
    60
    You don’t using that way already when you don’t need to use repack or original installer?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,451
    60
    No, Thats not true. You can safely use repack Thats wait for Exit code.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. example12345678912345678

    Dec 29, 2019
    568
    319
    30
    #160 example12345678912345678, Jan 15, 2024
    Last edited: Jan 15, 2024
    (OP)
    I don't really understand why does this happens. If there're no syntax errors in the examples I've provided, then it is supposed to work. It skips right into 10 minutes left part without even running the file. I wonder if it can't find the file even though it's there.
    Ok this is what happens if Net Framework is installed after Media Center Edition:
    VirtualBox_Windows XP Professional x64 Edition_15_01_2024_17_26_24.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...