[USETUP] Disable install path test that may tests
authorEric Kohl <eric.kohl@reactos.org>
Tue, 15 May 2018 20:58:34 +0000 (22:58 +0200)
committerEric Kohl <eric.kohl@reactos.org>
Tue, 15 May 2018 20:58:34 +0000 (22:58 +0200)
base/setup/usetup/filesup.c

index a325df8..8007756 100644 (file)
@@ -142,12 +142,12 @@ IsValidPath(
     // TODO: Add check for 8.3 too.
 
     /* Path must be at least 2 characters long */
-    if (Length < 2)
-        return FALSE;
+//    if (Length < 2)
+//        return FALSE;
 
     /* Path must start with a backslash */
-    if (InstallDir[0] != L'\\')
-        return FALSE;
+//    if (InstallDir[0] != L'\\')
+//        return FALSE;
 
     /* Path must not end with a backslash */
     if (InstallDir[Length - 1] == L'\\')