1.0 KiB
1.0 KiB
planning rewrite
- all steps as functions!
- ansi or utf8?
Steps
- define application-Root: ${aroot}
- function InitDirs : create directory structure
- mount .ISO File
- function CopyIso : copy all files from mounted ISO to temp\target
- function CopyWim : copy new boot.wim and install.wim from mounted ISO to temp\target dir for modification
- unmount .ISO File
- function ModifyBoot
- mount and modify boot.wim in temp\target
- insert drivers
- function ModifyInstall
- mount and modify install.wim in temp\target
- insert drivers
- insert updates
- function CreateTarget
- copy assets\isoroot* to \temp\target
- create ${outfile} .iso file
- Clean up things
Dir-Structure
C:\isobuilder
I_ builder.ps1
I_ assets
I I_ isoroot
I I I_ autounattend.xml
I I I_ scripts
I I I_ install_firefox.cmd
I I_ updates
I I_ tools
I I_ drivers
I I_ boot
I I_ install
I_ temp
I I_ target
I I_ mount
I I_ boot
I I_ install
I_targetfile.iso