|
ReactOS 0.4.17-dev-966-gf06eace
|
#include "precomp.h"#include "filesup.h"#include "infsupp.h"#include "inicache.h"#include "setuplib.h"#include <debug.h>
Go to the source code of this file.
Macros | |
| #define | NDEBUG |
| #define | IS_PATH_SEPARATOR(c) ((c) == L'\\' || (c) == L'/') |
Variables | |
| HANDLE | ProcessHeap |
| BOOLEAN | IsUnattendedSetup = FALSE |
| static PCWSTR | InfUnattendSignature = L"$ReactOS$" |
Definition at line 897 of file setuplib.c.
| #define NDEBUG |
Definition at line 20 of file setuplib.c.
| BOOLEAN NTAPI CheckUnattendedSetup | ( | IN OUT PUSETUP_DATA | pSetupData | ) |
Definition at line 165 of file setuplib.c.
Referenced by _tWinMain(), and SetupStartPage().
|
static |
Definition at line 33 of file setuplib.c.
Referenced by IsInfUnattendSetupEnabled().
| VOID NTAPI FinishSetup | ( | IN OUT PUSETUP_DATA | pSetupData | ) |
Definition at line 1231 of file setuplib.c.
Referenced by _tWinMain(), and RunUSetup().
| NTSTATUS GetSourcePaths | ( | _Out_ PUNICODE_STRING | SourcePath, |
| _Out_ PUNICODE_STRING | SourceRootPath, | ||
| _Out_ PUNICODE_STRING | SourceRootDir | ||
| ) |
Determine the installation source path and isolate its useful path components (root path and source sub-directory).
The installation source path is based either on the installer's image file path, or on the \SystemRoot full path.
In case the \SystemRoot full path prefixes the image file path, use the resolved \SystemRoot as the installation source path. Otherwise, use the image file path.
The returned strings are allocated with RtlCreateUnicodeString(), and need to be freed with RtlFreeUnicodeString() after being used.
Example of output: SourcePath: '\Device\CdRom0\I386' SourceRootPath: '\Device\CdRom0' SourceRootDir: '\I386'
Definition at line 535 of file setuplib.c.
Referenced by InitializeSetup().
|
static |
Definition at line 95 of file setuplib.c.
Referenced by CheckUnattendedSetup(), and InstallSetupInfFile().
| NTSTATUS NTAPI InitDestinationPaths | ( | _Inout_ PUSETUP_DATA | pSetupData, |
| _In_ PCWSTR | InstallationDir, | ||
| _In_ PVOLENTRY | Volume | ||
| ) |
Equivalent of 'NTOS_INSTALLATION::SystemArcPath'
Equivalent of 'NTOS_INSTALLATION::SystemNtPath'
Equivalent of 'NTOS_INSTALLATION::PathComponent'
Definition at line 991 of file setuplib.c.
Referenced by InstallDirectoryPage(), and PrepareAndDoCopyThread().
| ERROR_NUMBER NTAPI InitializeSetup | ( | _Inout_ PUSETUP_DATA | pSetupData, |
| _In_opt_ PSETUP_ERROR_ROUTINE | ErrorRoutine, | ||
| _In_ PSPFILE_EXPORTS | pSpFileExports, | ||
| _In_ PSPINF_EXPORTS | pSpInfExports | ||
| ) |
Definition at line 1147 of file setuplib.c.
Referenced by _tWinMain(), and SetupStartPage().
| BOOLEAN NTAPI InitSystemPartition | ( | _In_ PPARTLIST | PartitionList, |
| _In_ PPARTENTRY | InstallPartition, | ||
| _Out_ PPARTENTRY * | pSystemPartition, | ||
| _In_opt_ PFSVOL_CALLBACK | FsVolCallback, | ||
| _In_opt_ PVOID | Context | ||
| ) |
Find or set the active system partition.
Definition at line 806 of file setuplib.c.
Referenced by PrepareAndDoCopyThread(), and StartPartitionOperationsPage().
| VOID NTAPI InstallSetupInfFile | ( | IN OUT PUSETUP_DATA | pSetupData | ) |
Definition at line 337 of file setuplib.c.
Referenced by FileCopyPage(), and PrepareAndDoCopyThread().
|
static |
Definition at line 56 of file setuplib.c.
Referenced by GetUnattendInfPath().
Verify whether the given directory is suitable for ReactOS installation. Each path component must be a valid 8.3 name.
Definition at line 906 of file setuplib.c.
Referenced by InstallDirectoryPage(), MoreOptDlgProc(), and START_TEST().
| ERROR_NUMBER LoadSetupInf | ( | IN OUT PUSETUP_DATA | pSetupData | ) |
Definition at line 690 of file setuplib.c.
Referenced by InitializeSetup().
| ERROR_NUMBER NTAPI UpdateRegistry | ( | IN OUT PUSETUP_DATA | pSetupData, |
| IN BOOLEAN | RepairUpdateFlag, | ||
| IN PPARTLIST | PartitionList, | ||
| IN WCHAR | DestinationDriveLetter, | ||
| IN PCWSTR | SelectedLanguageId, | ||
| IN PREGISTRY_STATUS_ROUTINE StatusRoutine | OPTIONAL, | ||
| IN PFONTSUBSTSETTINGS SubstSettings | OPTIONAL | ||
| ) |
Definition at line 1282 of file setuplib.c.
Referenced by PrepareAndDoCopyThread(), and RegistryPage().
|
static |
Definition at line 28 of file setuplib.c.
Referenced by CheckUnattendedSetup(), and IsInfUnattendSetupEnabled().
Definition at line 27 of file setuplib.c.
Referenced by CheckUnattendedSetup(), CreateFreeLoaderReactOSEntries(), InitializeSetup(), and InstallSetupInfFile().
| HANDLE ProcessHeap |
Definition at line 26 of file setuplib.c.