[USETUP]
authorKamil Hornicek <kamil.hornicek@reactos.org>
Thu, 17 Apr 2014 21:32:35 +0000 (21:32 +0000)
committerKamil Hornicek <kamil.hornicek@reactos.org>
Thu, 17 Apr 2014 21:32:35 +0000 (21:32 +0000)
- add a default page file entry to the registry also during unattended setup
CORE-8074

svn path=/trunk/; revision=62769

reactos/base/setup/usetup/interface/usetup.c

index d8c73af..8ba4d85 100644 (file)
@@ -1524,6 +1524,8 @@ SelectPartitionPage(PINPUT_RECORD Ir)
                                    MaxSize,
                                    TRUE);
 
                                    MaxSize,
                                    TRUE);
 
+                DestinationDriveLetter = (WCHAR)PartitionList->CurrentPartition->DriveLetter[0];
+
                 return SELECT_FILE_SYSTEM_PAGE;
             }
         }
                 return SELECT_FILE_SYSTEM_PAGE;
             }
         }
@@ -1535,6 +1537,8 @@ SelectPartitionPage(PINPUT_RECORD Ir)
                 return SELECT_PARTITION_PAGE; /* let the user select another partition */
             }
 
                 return SELECT_PARTITION_PAGE; /* let the user select another partition */
             }
 
+            DestinationDriveLetter = (WCHAR)PartitionList->CurrentPartition->DriveLetter[0];
+
             return SELECT_FILE_SYSTEM_PAGE;
         }
     }
             return SELECT_FILE_SYSTEM_PAGE;
         }
     }