isobuilder/scratchbook.md

48 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2024-12-04 16:34:06 +00:00
# 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
2024-12-04 16:41:22 +00:00
* 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
2024-12-04 16:34:06 +00:00
```
Dir-Structure
C:\isobuilder
I_ builder.ps1
I_ assets
I I_ isoroot
2024-12-04 16:41:22 +00:00
I I I_ autounattend.xml
I I I_ scripts
I I I_ install_firefox.cmd
2024-12-04 16:34:06 +00:00
I I_ updates
2024-12-04 16:41:22 +00:00
I I_ tools
2024-12-04 16:34:06 +00:00
I I_ drivers
I I_ boot
I I_ install
I_ temp
2024-12-04 16:41:22 +00:00
I I_ target
I I_ mount
I I_ boot
I I_ install
I_targetfile.iso
2024-12-04 16:34:06 +00:00
```