https://git.reactos.org/?p=reactos.git;a=commitdiff;h=81c0d8a256dc223aba357…
commit 81c0d8a256dc223aba35750134a3d4ff83929755
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Jan 7 01:47:52 2018 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Mon Nov 5 23:35:12 2018 +0100
[BOOTDATA] Use a Win2k3-compatible TXTSETUP.SIF layout for the specification of the files list.
Also add detailed documentation about the meaning of each field, obtained from:
- my own tests;
- http://www.msfn.org/board/topic/125480-txtsetupsif-syntax/
- http://www.msfn.org/board/topic/127677-txtsetupsif-layoutinf-reference/
In addition, add a spreadsheet that helps generating the files list.
Note that the files source directory is "\reactos", until we use
per-architecture directories in the installation medium.
---
boot/bootdata/txtsetup.sif | 192 +++++++++++++++++++---------
boot/bootdata/txtsetup_sourcedisksfiles.ods | Bin 0 -> 6085 bytes
2 files changed, 133 insertions(+), 59 deletions(-)
diff --git a/boot/bootdata/txtsetup.sif b/boot/bootdata/txtsetup.sif
index f7f44d8f9b..808c2e2bc7 100644
--- a/boot/bootdata/txtsetup.sif
+++ b/boot/bootdata/txtsetup.sif
@@ -1,11 +1,36 @@
[Version]
Signature = "$ReactOS$"
-; Directories relative to the installation directory.
+;
+; The [SourceDisksNames] section lists all the available installation media
+; where the installation files can be found. It can specifies media common
+; to all architectures, or media specific to a given architecture (x86, amd64,
+; and so on...) within [SourceDisksNames.x86] (etc...) sections.
+;
+; The format of each line is as follows:
+; <disk_id> = <description>,<tagfile>,<unused>,<subdirectory>,<flags>,<tagfile>
+;
+[SourceDisksNames]
+_1 = %cdname%,%cdtagfile%,,""
+
+[SourceDisksNames.x86]
+;1 = %cdname%,%cdtagfilei%,,\i386
+1 = %cdname%,%cdtagfilei%,,\reactos
+
+[SourceDisksNames.amd64]
+1 = %cdname%,%cdtagfilea%,,\amd64
+
+;
+; The directories listed in the [Directories] or [WinntDirectories] sections
+; are relative to the installation source or destination directories.
+;
+; The format of each line is as follows:
+; <directory_id> = <path>
+;
; For specifying absolute directories, use the SystemPartitionFiles section,
; or use names starting with \.
+;
[Directories]
-; <directory_id> = <path>
1 = "\"
2 = system32
3 = system32\config
@@ -18,57 +43,106 @@ Signature = "$ReactOS$"
; Required free system partition disk space in MB
FreeSysPartDiskSpace=450
+;
+; The [SourceDisksFiles] section lists all the files available to the
+; installer. It can specifies files common to all architectures, or files
+; specific to a given architecture (x86, amd64, and so on...) within
+; [SourceDisksFiles.x86] (etc...) sections.
+;
+; Each line provides the location of a file in the installation media
+; and its destination when being installed on a target architecture.
+; The format of each line is as follows:
+;
+; <source_filename> =
+; <disk_id>,<subdirectory>,<file_size>,<checksum>,<unused>,<unused>,
+; NT-specific fields:
+; <boot_media_id>,<destination_dir_id>,<upgrade_dispo>,<install_dispo>,
+; <destination_filename>,
+; WinPE(MiniNT)-specific optional fields:
+; <WinPE_disk_id>,<WinPE_directory_id>
+;
+; The 'disk_id', 'boot_media_id' and 'WinPE_disk_id' media IDs refer to
+; source media listed in the [SourceDisksNames] section. The 'boot_media_id'
+; value specifies any additional boot/installation media.
+;
+; The values for the disposition flags 'upgrade_dispo' (used when upgrading)
+; or 'install_dispo' (used when installing, usually by the text-mode installer)
+; are:
+; 0: always copy (default);
+; 1: copy if present;
+; 2: copy if not present;
+; 3: never copy.
+;
+; The 'destination_dir_id' and 'WinPE_directory_id' directory IDs refer to
+; the directories listed in the [Directories] section.
+;
+; ReactOS-specific: we don't use 'boot_media_id' yet and instead, we use
+; an identifier 'x' to signal the SetupLdr that it has to load the file.
+; This must be replaced by handling the "DiskDrivers.Load", "FileSystems.Load",
+; ("Hal.Load", "Display.Load"), "SCSI.Load", "BootBusExtenders.Load",
+; "BusExtenders.Load", "InputDevicesSupport.Load", "Keyboard.Load",
+; "ScsiClass.Load", "FloppyDrivers.Load", "CdRomDrivers.Load", and
+; "MouseDrivers.Load" sections.
+;
[SourceDisksFiles]
-acpi.sys=,,,,,,,,,,,,4
-nmidebug.sys=,,,,,,x,,,,,,4
-sacdrv.sys=,,,,,,x,,,,,,4
-uniata.sys=,,,,,,x,,,,,,4
-buslogic.sys=,,,,,,x,,,,,,4
-storahci.sys=,,,,,,x,,,,,,4
-blue.sys=,,,,,,x,,,,,,4
-vgafonts.cab=,,,,,,,,,,,,1
-bootvid.dll=,,,,,,,,,,,,2
-c_437.nls=,,,,,,,,,,,,2
-c_1252.nls=,,,,,,,,,,,,2
-cdfs.sys=,,,,,,x,,,,,,4
-cdrom.sys=,,,,,,x,,,,,,4
-class2.sys=,,,,,,x,,,,,,4
-isapnp.sys=,,,,,,,,,,,,4
-kdcom.dll=,,,,,,,,,,,,2
-kdvbox.dll=,,,,,,,,,,,,2
-disk.sys=,,,,,,x,,,,,,4
-floppy.sys=,,,,,,x,,,,,,4
-i8042prt.sys=,,,,,,,,,,,,4
-hidclass.sys=,,,,,,,,,,,,4
-hidparse.sys=,,,,,,,,,,,,4
-hidusb.sys=,,,,,,,,,,,,4
-usbccgp.sys=,,,,,,x,,,,,,4
-usbd.sys=,,,,,,x,,,,,,4
-usbhub.sys=,,,,,,x,,,,,,4
-usbuhci.sys=,,,,,,x,,,,,,4
-usbohci.sys=,,,,,,x,,,,,,4
-usbehci.sys=,,,,,,x,,,,,,4
-usbstor.sys=,,,,,,x,,,,,,4
-kbdhid.sys=,,,,,,,,,,,,4
-kbdclass.sys=,,,,,,x,,,,,,4
-l_intl.nls=,,,,,,,,,,,,2
-pci.sys=,,,,,,,,,,,,4
-scsiport.sys=,,,,,,x,,,,,,4
-storport.sys=,,,,,,x,,,,,,4
-fastfat.sys=,,,,,,x,,,,,,4
-btrfs.sys=,,,,,,x,,,,,,4
-ramdisk.sys=,,,,,,x,,,,,,4
-classpnp.sys=,,,,,,,,,,,,4
-pciide.sys=,,,,,,,,,,,,4
-pciidex.sys=,,,,,,,,,,,,4
-pcix.sys=,,,,,,,,,,,,4
-pcmcia.sys=,,,,,,,,,,,,4
-swenum.sys=,,,,,,,,,,,,4
-ntdll.dll=,,,,,,,,,,,,2
-wmilib.sys=,,,,,,,,,,,,4
-ksecdd.sys=,,,,,,,,,,,,4
-mountmgr.sys=,,,,,,x,,,,,,4
+acpi.sys = 1,,,,,,,4,1,,,1,4
+nmidebug.sys = 1,,,,,,x,4,,,,1,4
+sacdrv.sys = 1,,,,,,x,4,,,,1,4
+uniata.sys = 1,,,,,,x,4,,,,1,4
+buslogic.sys = 1,,,,,,x,4,,,,1,4
+storahci.sys = 1,,,,,,x,4,,,,1,4
+blue.sys = 1,,,,,,x,4,,,,1,4
+vgafonts.cab = 1,,,,,,,1,,,,1,1
+bootvid.dll = 1,,,,,,,2,,,,1,2
+c_437.nls = 1,,,,,,,2,,,,1,2
+c_1252.nls = 1,,,,,,,2,,,,1,2
+cdfs.sys = 1,,,,,,x,4,,,,1,4
+cdrom.sys = 1,,,,,,x,4,,,,1,4
+class2.sys = 1,,,,,,x,4,,,,1,4
+isapnp.sys = 1,,,,,,,4,,,,1,4
+kdcom.dll = 1,,,,,,,2,,,,1,2
+kdvbox.dll = 1,,,,,,,2,,,,1,2
+disk.sys = 1,,,,,,x,4,,,,1,4
+floppy.sys = 1,,,,,,x,4,,,,1,4
+i8042prt.sys = 1,,,,,,,4,,,,1,4
+hidclass.sys = 1,,,,,,,4,,,,1,4
+hidparse.sys = 1,,,,,,,4,,,,1,4
+hidusb.sys = 1,,,,,,,4,,,,1,4
+usbccgp.sys = 1,,,,,,x,4,,,,1,4
+usbd.sys = 1,,,,,,x,4,,,,1,4
+usbhub.sys = 1,,,,,,x,4,,,,1,4
+usbuhci.sys = 1,,,,,,x,4,,,,1,4
+usbohci.sys = 1,,,,,,x,4,,,,1,4
+usbehci.sys = 1,,,,,,x,4,,,,1,4
+usbstor.sys = 1,,,,,,x,4,,,,1,4
+kbdhid.sys = 1,,,,,,,4,,,,1,4
+kbdclass.sys = 1,,,,,,x,4,,,,1,4
+l_intl.nls = 1,,,,,,,2,,,,1,2
+pci.sys = 1,,,,,,,4,,,,1,4
+scsiport.sys = 1,,,,,,x,4,,,,1,4
+storport.sys = 1,,,,,,x,4,,,,1,4
+fastfat.sys = 1,,,,,,x,4,,,,1,4
+btrfs.sys = 1,,,,,,x,4,,,,1,4
+ramdisk.sys = 1,,,,,,x,4,,,,1,4
+classpnp.sys = 1,,,,,,,4,,,,1,4
+pciide.sys = 1,,,,,,,4,,,,1,4
+pciidex.sys = 1,,,,,,,4,,,,1,4
+pcix.sys = 1,,,,,,,4,,,,1,4
+pcmcia.sys = 1,,,,,,,4,,,,1,4
+swenum.sys = 1,,,,,,,4,,,,1,4
+ntdll.dll = 1,,,,,,,2,,,,1,2
+wmilib.sys = 1,,,,,,,4,,,,1,4
+ksecdd.sys = 1,,,,,,,4,,,,1,4
+mountmgr.sys = 1,,,,,,x,4,,,,1,4
+
+[SourceDisksFiles.x86]
+
+[SourceDisksFiles.amd64]
+;
+; The [SystemPartitionFiles] section lists all the files
+; that should be installed in the System Partition.
+;
[SystemPartitionFiles]
[HardwareIdsDatabase]
@@ -158,20 +232,20 @@ acpi_up = "ACPI UP"
;acpi_mp = "ACPI MP"
[Files.pci_up]
-ntoskrnl.exe=,,,,,,,,,,,,2
-hal.dll=,,,,,,,,,,,,2
+ntoskrnl.exe = 1,,,,,,,2,,,,1,2
+hal.dll = 1,,,,,,,2,,,,1,2
;[Files.pci_mp]
-;ntkrnlmp.exe=,,,,,,,,,,ntoskrnl.exe,,2
-;halmps.dll=,,,,,,,,,,hal.dll,,2
+;ntkrnlmp.exe = 1,,,,,,,2,,,ntoskrnl.exe,1,2
+;halmps.dll = 1,,,,,,,2,,,hal.dll,1,2
[Files.acpi_up]
-ntoskrnl.exe=,,,,,,,,,,,,2
-halacpi.dll=,,,,,,,,,,hal.dll,,2
+ntoskrnl.exe = 1,,,,,,,2,,,,1,2
+halacpi.dll = 1,,,,,,,2,,,hal.dll,1,2
;[Files.acpi_mp]
-;ntkrnlmp.exe=,,,,,,,,,,ntoskrnl.exe,,2
-;halacpi.dll=,,,,,,,,,,hal.dll,,2
+;ntkrnlmp.exe = 1,,,,,,,2,,,ntoskrnl.exe,1,2
+;halacpi.dll = 1,,,,,,,2,,,hal.dll,1,2
[Display]
;<id> = <user friendly name>,<spare>,<service key name>,<height>,<width>,<bpp>
diff --git a/boot/bootdata/txtsetup_sourcedisksfiles.ods b/boot/bootdata/txtsetup_sourcedisksfiles.ods
new file mode 100644
index 0000000000..5303c9ea39
Binary files /dev/null and b/boot/bootdata/txtsetup_sourcedisksfiles.ods differ
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=751674c98e2ed686f258a…
commit 751674c98e2ed686f258a2448a1a98829acf9278
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Nov 4 18:39:13 2018 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Nov 4 18:39:13 2018 +0100
[MC] Add some messages to netmsg.dll
---
sdk/include/reactos/mc/netmsgmsg.mc | 220 ++++++++++++++++++++++++++++++++++++
1 file changed, 220 insertions(+)
diff --git a/sdk/include/reactos/mc/netmsgmsg.mc b/sdk/include/reactos/mc/netmsgmsg.mc
index 08528d1ef7..3820e609d8 100644
--- a/sdk/include/reactos/mc/netmsgmsg.mc
+++ b/sdk/include/reactos/mc/netmsgmsg.mc
@@ -94,6 +94,226 @@ Language=Russian
The device is not connected.
.
+MessageId=2114
+Severity=Success
+Facility=System
+SymbolicName=NERR_ServerNotStarted
+Language=English
+The Server service is not started.
+.
+Language=Russian
+The Server service is not started.
+.
+
+MessageId=2115
+Severity=Success
+Facility=System
+SymbolicName=NERR_ItemNotFound
+Language=English
+The queue is empty.
+.
+Language=Russian
+The queue is empty.
+.
+
+MessageId=2116
+Severity=Success
+Facility=System
+SymbolicName=NERR_UnknownDevDir
+Language=English
+The device or directory does not exist.
+.
+Language=Russian
+The device or directory does not exist.
+.
+
+MessageId=2117
+Severity=Success
+Facility=System
+SymbolicName=NERR_RedirectedPath
+Language=English
+The operation is invalid on a redirected resource.
+.
+Language=Russian
+The operation is invalid on a redirected resource.
+.
+
+MessageId=2118
+Severity=Success
+Facility=System
+SymbolicName=NERR_DuplicateShare
+Language=English
+The name has already been shared.
+.
+Language=Russian
+The name has already been shared.
+.
+
+MessageId=2119
+Severity=Success
+Facility=System
+SymbolicName=NERR_NoRoom
+Language=English
+The server is currently out of the requested resource.
+.
+Language=Russian
+The server is currently out of the requested resource.
+.
+
+MessageId=2121
+Severity=Success
+Facility=System
+SymbolicName=NERR_TooManyItems
+Language=English
+Requested addition of items exceeds the maximum allowed.
+.
+Language=Russian
+Requested addition of items exceeds the maximum allowed.
+.
+
+MessageId=2122
+Severity=Success
+Facility=System
+SymbolicName=NERR_InvalidMaxUsers
+Language=English
+The Peer service supports only two simultaneous users.
+.
+Language=Russian
+The Peer service supports only two simultaneous users.
+.
+
+MessageId=2123
+Severity=Success
+Facility=System
+SymbolicName=NERR_BufTooSmall
+Language=English
+The API return buffer is too small.
+.
+Language=Russian
+The API return buffer is too small.
+.
+
+MessageId=2127
+Severity=Success
+Facility=System
+SymbolicName=NERR_RemoteErr
+Language=English
+A remote API error occurred.
+.
+Language=Russian
+A remote API error occurred.
+.
+
+MessageId=2131
+Severity=Success
+Facility=System
+SymbolicName=NERR_LanmanIniError
+Language=English
+An error occurred when opening or reading the configuration file.
+.
+Language=Russian
+An error occurred when opening or reading the configuration file.
+.
+
+MessageId=2136
+Severity=Success
+Facility=System
+SymbolicName=NERR_NetworkError
+Language=English
+A general network error occurred.
+.
+Language=Russian
+A general network error occurred.
+.
+
+MessageId=2137
+Severity=Success
+Facility=System
+SymbolicName=NERR_WkstaInconsistentState
+Language=English
+The Workstation service is in an inconsistent state. Restart the computer before restarting the Workstation service.
+.
+Language=Russian
+The Workstation service is in an inconsistent state. Restart the computer before restarting the Workstation service.
+.
+
+MessageId=2138
+Severity=Success
+Facility=System
+SymbolicName=NERR_WkstaNotStarted
+Language=English
+The Workstation service has not been started.
+.
+Language=Russian
+The Workstation service has not been started.
+.
+
+MessageId=2139
+Severity=Success
+Facility=System
+SymbolicName=NERR_BrowserNotStarted
+Language=English
+The requested information is not available.
+.
+Language=Russian
+The requested information is not available.
+.
+
+MessageId=2140
+Severity=Success
+Facility=System
+SymbolicName=NERR_InternalError
+Language=English
+An internal error occurred.
+.
+Language=Russian
+An internal error occurred.
+.
+
+MessageId=2141
+Severity=Success
+Facility=System
+SymbolicName=NERR_BadTransactConfig
+Language=English
+The server is not configured for transactions.
+.
+Language=Russian
+The server is not configured for transactions.
+.
+
+MessageId=2142
+Severity=Success
+Facility=System
+SymbolicName=NERR_InvalidAPI
+Language=English
+The requested API is not supported on the remote server.
+.
+Language=Russian
+The requested API is not supported on the remote server.
+.
+
+MessageId=2143
+Severity=Success
+Facility=System
+SymbolicName=NERR_BadEventName
+Language=English
+The event name is invalid.
+.
+Language=Russian
+The event name is invalid.
+.
+
+MessageId=2144
+Severity=Success
+Facility=System
+SymbolicName=NERR_DupNameReboot
+Language=English
+The computer name already exists on the network. Change it and restart the computer.
+.
+Language=Russian
+The computer name already exists on the network. Change it and restart the computer.
+.
+
;
; other message definitions