reactos/base/setup/usetup
Hermès Bélusca-Maïto 57402ee91e
[USETUP] Diverse fixes for path handling.
- Convert almost all swprintf() into StringCchPrintfW() and wcscpy() into StringCchCopyW();
- Explicitly add a trailing path separator to the "\Device\HarddiskX\PartitionY(\)" paths
  when they refer to FS directories (and not to partition objects);
- Remove useless (and half-buggy) "Remove trailing backslash" code.

With that, it is possible to install ReactOS in e.g. C:\ReactOS (as usual), C:\ReactOS\dir1\dir2 (as many dirs as you wish), and also in C:\ (yes yes!).
But in that latter case, a strange bug related to the registry arises...

Additionally:
- Adjust some comments;
- Add some debugging DPRINTs;
- The SetInstallPathValue() is part of the big hack I've mentioned in f51faa4a (r74709).

svn path=/branches/setup_improvements/; revision=74717
2018-10-14 23:22:55 +02:00
..
lang [USETUP] Update Russian translation 2018-09-14 11:33:50 +02:00
bootsup.c [USETUP] When installing new FreeLDR entries for recognized DOS/OS-2 boot loaders, use distinct OS section names. Also, add detection for the Dell Real-Mode Kernel OS (DRMK). 2018-10-14 21:15:55 +02:00
bootsup.h [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
cabinet.c
cabinet.h
chkdsk.c [SETUPLIB][USETUP] Introduce a 'SetupLib' library. CORE-13544 2018-05-27 20:18:50 +02:00
chkdsk.h [SETUPLIB][USETUP] Introduce a 'SetupLib' library. CORE-13544 2018-05-27 20:18:50 +02:00
CMakeLists.txt [USETUP][SETUPLIB] Added support for formatting partition in BTRFS and installing ReactOS on it. 2018-08-20 08:26:56 +02:00
cmdcons.c [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
cmdcons.h [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
console.c [USETUP] Implement a basic console 'input queue' and implement PeekConsoleInput() and CONSOLE_ConInKeyPeek() around it. 2018-08-27 00:28:08 +02:00
console.h [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
consup.c [USETUP] Remove a hardcoded value. 2018-09-29 21:54:48 +02:00
consup.h [USETUP] Implement a basic console 'input queue' and implement PeekConsoleInput() and CONSOLE_ConInKeyPeek() around it. 2018-08-27 00:28:08 +02:00
devinst.c [SETUPLIB][USETUP] Transform the existing ConcatPaths() function into a variadic function, and derive a CombinePaths() from it (plus their equivalent taking va_list). 2018-06-03 22:12:43 +02:00
drivesup.c [USETUP] Minor fixes & simplifications. 2018-06-03 22:12:43 +02:00
drivesup.h [USETUP] Minor fixes & simplifications. 2018-06-03 22:12:43 +02:00
errorcode.h
filequeue.c [SETUPLIB][USETUP] Transform the existing ConcatPaths() function into a variadic function, and derive a CombinePaths() from it (plus their equivalent taking va_list). 2018-06-03 22:12:43 +02:00
filequeue.h [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
filesup.c [USETUP] Use correct flags for the NtCreateFile call that creates new file directories. 2018-06-03 22:12:46 +02:00
filesup.h [SETUPLIB][USETUP] Move some code to the SetupLib. 2018-06-03 22:12:35 +02:00
format.c [SETUPLIB][USETUP] Introduce a 'SetupLib' library. CORE-13544 2018-05-27 20:18:50 +02:00
format.h [SETUPLIB][USETUP] Introduce a 'SetupLib' library. CORE-13544 2018-05-27 20:18:50 +02:00
fslist.c [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
fslist.h [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
genlist.c [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
genlist.h [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
inffile.c [USETUP] Remove the WIN32 support because usetup is a native-only application 2018-05-15 23:35:17 +02:00
inffile.h [USETUP] Remove the WIN32 support because usetup is a native-only application 2018-05-15 23:35:17 +02:00
keytrans.c [USETUP] Remove the WIN32 support because usetup is a native-only application 2018-05-15 23:35:17 +02:00
keytrans.h [USETUP] Remove the WIN32 support because usetup is a native-only application 2018-05-15 23:35:17 +02:00
mui.c
mui.h [USETUP] Implement the shutdown timeout progress bar. (#833) 2018-09-09 17:17:16 +02:00
muifonts.h [FONT][SETUP] Add 'Tms Rmn' and 'Times' font substitutes (#830) 2018-08-30 13:07:22 +02:00
muilanguages.h
partlist.c [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
partlist.h [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
progress.c [USETUP] Progress-bar: minor improvements. 2018-08-27 23:55:58 +02:00
progress.h [USETUP] Progress-bar: minor improvements. 2018-08-27 23:55:58 +02:00
registry.c [SETUPLIB][USETUP] Transform the existing ConcatPaths() function into a variadic function, and derive a CombinePaths() from it (plus their equivalent taking va_list). 2018-06-03 22:12:43 +02:00
registry.h [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
settings.c [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
settings.h [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
usetup.c [USETUP] Diverse fixes for path handling. 2018-10-14 23:22:55 +02:00
usetup.h [USETUP] Diverse fixes for path handling. 2018-10-14 23:22:55 +02:00
usetup.rc [SETUPLIB][USETUP] Diverse additions. 2018-06-03 22:12:45 +02:00