reactos/base/setup/lib
Hermès Bélusca-Maïto 42758b303b
[SETUPLIB] Fixes and improvements for the file copying code.
- In PrepareCopyInfFile(), explicitly use AddSectionToCopyQueueCab()
  to retrieve the files from the CAB INF.

  Otherwise if one continued to use and rely on AddSectionToCopyQueue()
  to do this job instead, bad things could happen like, re-enumerating
  twice or more (and adding them to the file queue) the same files.
  This is because in the new code AddSectionToCopyQueue() can be called
  many times to deal with different SIF file sections. The old code then
  called AddSectionToCopyQueueCab() in turn, but on the same list...
  Now the steps performed are clear, and everything works as intended.

- Simplify the code that computes the full source and destination paths
  for the files to be copied and directories to be created, using helper
  functions.

- Compute the source file and target location from the TXTSETUP.SIF
  entries in a NT-compatible manner.
2018-11-05 23:35:14 +01:00
..
lang [SETUPLIB][USETUP][INPUT.CPL] MUI integration with setuplib. 2018-10-28 00:13:07 +02:00
spapisup [SETUPLIB][REACTOS][USETUP] Further improve the interfacing with INF and File-Queue APIs. 2018-11-01 18:55:43 +01:00
utils [SETUPLIB][USETUP] Minor improvements. 2018-11-01 18:55:45 +01:00
bootsup.c [SETUPLIB] Silence noisy DPRINTs. 2018-10-28 23:40:26 +01:00
bootsup.h [USETUP][SETUPLIB] Move the bootsup.c code into the setuplib, and perform the necessary adjustments. 2018-10-27 22:09:32 +02:00
CMakeLists.txt [SETUPLIB][USETUP] Move all the code that performs file copying into the SETUPLIB. 2018-11-05 23:18:47 +01:00
errorcode.h [SETUPLIB] Remove a deprecated error number (that gets merged with ERROR_TXTSETUP_SECTION). 2018-10-28 01:43:56 +02:00
fsutil.c [SETUPLIB][USETUP] Bring some suggestions from PR #59 in. 2018-10-28 01:08:57 +02:00
fsutil.h [USETUP][SETUPLIB] Move the bootsup.c code into the setuplib, and perform the necessary adjustments. 2018-10-27 22:09:32 +02:00
install.c [SETUPLIB] Fixes and improvements for the file copying code. 2018-11-05 23:35:14 +01:00
install.h [SETUPLIB][USETUP] Move all the code that performs file copying into the SETUPLIB. 2018-11-05 23:18:47 +01:00
mui.c [SETUPLIB][USETUP] Use NT RTL String Safe functions instead of Win32-oriented ones (and remove usage of HRESULT too). 2018-10-28 00:58:46 +02:00
mui.h [SETUPLIB][USETUP][INPUT.CPL] MUI integration with setuplib. 2018-10-28 00:13:07 +02:00
muifonts.h [SETUPLIB][USETUP][INPUT.CPL] MUI integration with setuplib. 2018-10-28 00:13:07 +02:00
muilanguages.h [SETUPLIB][USETUP][INPUT.CPL] MUI integration with setuplib. 2018-10-28 00:13:07 +02:00
precomp.h [SETUPLIB] Move the files that implement utility functions into their own subdirectory. The files remaining in the main directory implement setup procedures that use the utility functions. 2018-10-27 22:09:34 +02:00
registry.c [SETUPLIB][REACTOS][USETUP] Further improve the interfacing with INF and File-Queue APIs. 2018-11-01 18:55:43 +01:00
registry.h [SETUPLIB][USETUP] Move the registry-update procedure into setuplib. 2018-10-28 14:42:00 +01:00
settings.c [SETUPLIB][REACTOS][USETUP] Further improve the interfacing with INF and File-Queue APIs. 2018-11-01 18:55:43 +01:00
settings.h [SETUPLIB][USETUP] Don't store UI-related display strings in GENERIC_LIST_ENTRY-ies, + other code adaptations. 2018-10-28 01:32:15 +02:00
setuplib.c [SETUPLIB][USETUP] Add support for setup error handling. 2018-11-05 12:03:19 +01:00
setuplib.h [SETUPLIB][USETUP] Move all the code that performs file copying into the SETUPLIB. 2018-11-05 23:18:47 +01:00