Author: khornicek
Date: Thu Apr 17 21:32:35 2014
New Revision: 62769
URL:
http://svn.reactos.org/svn/reactos?rev=62769&view=rev
Log:
[USETUP]
- add a default page file entry to the registry also during unattended setup
CORE-8074
Modified:
trunk/reactos/base/setup/usetup/interface/usetup.c
Modified: trunk/reactos/base/setup/usetup/interface/usetup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/interfac…
==============================================================================
--- trunk/reactos/base/setup/usetup/interface/usetup.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/interface/usetup.c [iso-8859-1] Thu Apr 17 21:32:35
2014
@@ -1524,6 +1524,8 @@
MaxSize,
TRUE);
+ DestinationDriveLetter =
(WCHAR)PartitionList->CurrentPartition->DriveLetter[0];
+
return SELECT_FILE_SYSTEM_PAGE;
}
}
@@ -1534,6 +1536,8 @@
MUIDisplayError(ERROR_INSUFFICIENT_DISKSPACE, Ir, POPUP_WAIT_ANY_KEY);
return SELECT_PARTITION_PAGE; /* let the user select another partition
*/
}
+
+ DestinationDriveLetter =
(WCHAR)PartitionList->CurrentPartition->DriveLetter[0];
return SELECT_FILE_SYSTEM_PAGE;
}