mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[USETUP]
InstallDirectoryPage1: Initialize DestinationRootPath. ReactOS can be installed on an existing partition again. CORE-8984 #resolve svn path=/trunk/; revision=65913
This commit is contained in:
@@ -2969,6 +2969,16 @@ InstallDirectoryPage1(PWCHAR InstallDir,
|
||||
RtlCreateUnicodeString(&InstallPath,
|
||||
InstallDir);
|
||||
|
||||
/* Set DestinationRootPath */
|
||||
RtlFreeUnicodeString(&DestinationRootPath);
|
||||
swprintf(PathBuffer,
|
||||
L"\\Device\\Harddisk%lu\\Partition%lu",
|
||||
DiskEntry->DiskNumber,
|
||||
PartEntry->PartitionNumber);
|
||||
RtlCreateUnicodeString(&DestinationRootPath,
|
||||
PathBuffer);
|
||||
DPRINT("DestinationRootPath: %wZ\n", &DestinationRootPath);
|
||||
|
||||
/* Create 'DestinationPath' string */
|
||||
RtlFreeUnicodeString(&DestinationPath);
|
||||
wcscpy(PathBuffer, DestinationRootPath.Buffer);
|
||||
|
||||
Reference in New Issue
Block a user