[RAPPS]
[reactos.git] / reactos / base / applications / rapps / unattended.cpp
index 0b66686..6366d1e 100644 (file)
@@ -54,7 +54,10 @@ BOOL CmdParser(LPWSTR lpCmdLine)
             }
         } 
         while (SetupFindNextLine(&Context, &Context));
+        SetupCloseInfFile(InfHandle);
     }
+    else
+        return FALSE;
 
     CAvailableApps apps;
     apps.EnumAvailableApplications(ENUM_ALL_AVAILABLE, NULL);