ntdevlabs / tiny11builder

Scripts to build a trimmed-down Windows 11 image.
9.83k stars 853 forks source link

[QUSTION] Can i inject first startup commands? #77

Closed Blazzycrafter closed 6 months ago

Blazzycrafter commented 1 year ago

yeah... thats my question... first startup (background) commands like:

winget install Notepad++.Notepad++ ; winget install Microsoft.WindowsTerminal ; winget install 7zip.7zip ; winget install --id Microsoft.VCRedist.2015+.x86 ; winget install --id Microsoft.VCRedist.2015+.x64 ; winget install --id Microsoft.VCRedist.2013.x86 ; winget install --id Microsoft.VCRedist.2013.x64 ; winget install --id Microsoft.VCRedist.2012.x86 ; winget install --id Microsoft.VCRedist.2012.x64 ; winget install --id Microsoft.VCRedist.2010.x86 ; winget install --id Microsoft.VCRedist.2010.x64 ; winget install --id Microsoft.DotNet.Runtime.7 ; winget install --id Microsoft.DotNet.Runtime.6 ; winget install --id Microsoft.DotNet.Runtime.5 ; winget install --id Microsoft.DotNet.Runtime.3_1 ; winget install --id Microsoft.DotNet.DesktopRuntime.7 ; winget install --id Microsoft.DotNet.AspNetCore.6 ; winget install --id Microsoft.DotNet.AspNetCore.5 ; winget install --id Microsoft.DotNet.AspNetCore.3_1 ; winget install --id Azul.Zulu.9.JRE ; winget install --id Azul.Zulu.8.JRE ; winget install --id Azul.Zulu.7.JRE ; winget install --id Azul.Zulu.18.JRE ; winget install --id Azul.Zulu.17.JRE ; winget install --id Azul.Zulu.16.JRE ; winget install --id Azul.Zulu.15.JRE ; winget install --id Azul.Zulu.13.JRE ; winget install --id Azul.Zulu.11.JRE

yeah its long... here the wrapped version:

winget install Notepad++.Notepad++ ;
winget install Microsoft.WindowsTerminal ;
winget install 7zip.7zip ;
winget install --id Microsoft.VCRedist.2015+.x86 ;
winget install --id Microsoft.VCRedist.2015+.x64 ;
winget install --id Microsoft.VCRedist.2013.x86 ;
winget install --id Microsoft.VCRedist.2013.x64 ;
winget install --id Microsoft.VCRedist.2012.x86 ;
winget install --id Microsoft.VCRedist.2012.x64 ;
winget install --id Microsoft.VCRedist.2010.x86 ;
winget install --id Microsoft.VCRedist.2010.x64 ;
winget install --id Microsoft.DotNet.Runtime.7 ;
winget install --id Microsoft.DotNet.Runtime.6 ;
winget install --id Microsoft.DotNet.Runtime.5 ;
winget install --id Microsoft.DotNet.Runtime.3_1 ;
winget install --id Microsoft.DotNet.DesktopRuntime.7 ;
winget install --id Microsoft.DotNet.AspNetCore.6 ;
winget install --id Microsoft.DotNet.AspNetCore.5 ;
winget install --id Microsoft.DotNet.AspNetCore.3_1 ;
winget install --id Azul.Zulu.9.JRE ;
winget install --id Azul.Zulu.8.JRE ;
winget install --id Azul.Zulu.7.JRE ;
winget install --id Azul.Zulu.18.JRE ;
winget install --id Azul.Zulu.17.JRE ;
winget install --id Azul.Zulu.16.JRE ;
winget install --id Azul.Zulu.15.JRE ;
winget install --id Azul.Zulu.13.JRE ;
winget install --id Azul.Zulu.11.JRE

and what is with interactive installation/ code like: a question if wich browser we should install....?

Blazzycrafter commented 1 year ago

oh and if yes ... how?

Coubiac commented 1 year ago

You can add them in the autounattend file