mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 11:33:43 +00:00
[SETUPLIB][REACTOS][USETUP] Don't export setup data. Make IsUnattendedSetup local to the installer.
This commit is contained in:
parent
8d80203d65
commit
8e53386de9
10 changed files with 89 additions and 99 deletions
|
@ -27,7 +27,7 @@ BOOLEAN IsUnattendedSetup = FALSE;
|
|||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
VOID
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
CheckUnattendedSetup(
|
||||
IN OUT PUSETUP_DATA pSetupData)
|
||||
|
@ -47,7 +47,7 @@ CheckUnattendedSetup(
|
|||
if (DoesFileExist(NULL, UnattendInfPath) == FALSE)
|
||||
{
|
||||
DPRINT("Does not exist: %S\n", UnattendInfPath);
|
||||
return;
|
||||
return IsUnattendedSetup;
|
||||
}
|
||||
|
||||
/* Load 'unattend.inf' from installation media */
|
||||
|
@ -59,7 +59,7 @@ CheckUnattendedSetup(
|
|||
if (UnattendInf == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
DPRINT("SpInfOpenInfFile() failed\n");
|
||||
return;
|
||||
return IsUnattendedSetup;
|
||||
}
|
||||
|
||||
/* Open 'Unattend' section */
|
||||
|
@ -200,6 +200,7 @@ CheckUnattendedSetup(
|
|||
|
||||
Quit:
|
||||
SpInfCloseInfFile(UnattendInf);
|
||||
return IsUnattendedSetup;
|
||||
}
|
||||
|
||||
VOID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue