mirror of
https://github.com/reactos/reactos.git
synced 2024-10-10 19:27:40 +00:00
* create a directory "system" under %SystemRoot% to make dumb apps work
* fixes bug 879 svn path=/trunk/; revision=23581
This commit is contained in:
parent
546f463b79
commit
b94a1c980f
|
@ -488,7 +488,7 @@ InstallReactOS (HINSTANCE hInstance)
|
|||
{
|
||||
TCHAR sAccessories[256];
|
||||
TCHAR sGames[256];
|
||||
|
||||
TCHAR szBuffer[MAX_PATH];
|
||||
|
||||
# if 0
|
||||
OutputDebugStringA ("InstallReactOS() called\n");
|
||||
|
@ -627,6 +627,13 @@ InstallReactOS (HINSTANCE hInstance)
|
|||
CreateTempDir(L"TEMP");
|
||||
CreateTempDir(L"TMP");
|
||||
|
||||
if (GetWindowsDirectory(szBuffer, sizeof(szBuffer) / sizeof(TCHAR)))
|
||||
{
|
||||
PathAddBackslash(szBuffer);
|
||||
_tcscat(szBuffer, _T("system"));
|
||||
CreateDirectory(szBuffer, NULL);
|
||||
}
|
||||
|
||||
hSysSetupInf = SetupOpenInfFileW(L"syssetup.inf",
|
||||
NULL,
|
||||
INF_STYLE_WIN4,
|
||||
|
|
Loading…
Reference in a new issue