Files
Whindmar Saksit 30b02d038e [SYSSETUP][BOOTDATA] Unattended execute GuiUnattended:DetachedProgram , SetupParams:UserExecute (#9276)
This PR implements two of the three hooks that allows you to run custom
applications during 2nd-stage setup (the 3rd hook is `...\$OEM$\Cmdlines.txt`,
but that requires file copy operations, etc.)

- `DetachedProgram` is documented[^1] for NT4...2003; it is started before
  installation and `UserExecute` after.
- `UserExecute` is a great place to install VM Guest Additions, one reboot
  less and you have shared folders/clipboard on the first normal boot.

[^1]: https://web.archive.org/web/20090902145959/http://technet.microsoft.com/en-us/library/cc757642(WS.10).aspx
2026-07-16 23:22:27 +02:00

91 lines
2.4 KiB
INI

[Unattend]
Signature = "$ReactOS$"
; Set UnattendSetupEnabled to yes in order to get unattended setup working.
; yes - unattend setup enabled
; no - unattend setup disabled
UnattendSetupEnabled = no
; Install to \Device\Harddisk0\Partition1\ReactOS
DestinationDiskNumber = 0
DestinationPartitionNumber = 1
InstallationDirectory=ReactOS
; BootLoaderLocation=0 Skip installation
; BootLoaderLocation=1 Install on removable media (floppy)
; BootLoaderLocation=2 Install on system partition (for MBR disks: MBR and VBR)
; BootLoaderLocation=3 Install on VBR only (for MBR disks)
BootLoaderLocation=2
FullName="MyName"
;OrgName="MyOrg"
ComputerName="MYCOMPUTERNAME"
;AdminPassword="MyPassword"
; TimeZone is set to GMT as default.
TimeZoneIndex=85
; Enable this setting to disable daylight saving changes.
;DisableAutoDaylightTimeSet = 1
; Enable this setting to format the selected partition.
; 1 - format enabled
; 0 - format disabled
FormatPartition=1
; Enable this setting to automatically create a partition during installation.
; 1 - enabled
; 0 - disabled
AutoPartition = 1
; Choose default file system type.
; 0 - FAT
; 1 - BtrFS
FsType = 0
; Choose if RAPPS can download optional components during setup.
; yes - Download addons from RAPPS
; no - Don't download addons from RAPPS
RappsDownload = no
; Set this option to automatically specify language in 2nd mode setup.
; See hivesys.inf for available languages.
LocaleID = 409
; Set installation type.
; 0 - ReactOS Server
; 1 - ReactOS Workstation
; 2 - ReactOS Server Core
; 3 - ReactOS Nano Server (Reserved)
InstallationType = 0
;[GuiUnattended]
; Run a program early in 2nd-stage setup.
;DetachedProgram=%SystemRoot%\system32\cmd.exe
;Arguments="/C echo.Early 2nd-stage setup...&choice>nul /N /T:Y,5"
;[SetupParams]
; Run a program at the end of 2nd-stage setup.
;UserExecute="cmd.exe /C echo.End of 2nd-stage setup...&choice>nul /N /T:Y,5"
; Enable this section to automatically launch programs after 3rd boot.
;[GuiRunOnce]
;%SystemRoot%\system32\cmd.exe
; Enable this section to change resolution / bpp.
; Setting a value to 0 or skipping it will leave it unchanged.
;[Display]
;BitsPerPel = 32
;XResolution = 1440
;YResolution = 900
;VRefresh = 0
; Enable this section to add environment variables.
;[Env]
;WINETEST_PLATFORM=reactos
; Enable this section to enable the default ReactOS theme.
;[Shell]
;DefaultThemesOff = no
;CustomDefaultThemeFile = "%WINDIR%\Resources\Themes\Lautus\lautus.msstyles"