[ADVPACK_WINETEST]: Sync with Wine 1.5.19.
[reactos.git] / rostests / winetests / advpack / install.c
index 6a4d8d6..4876d71 100644 (file)
@@ -259,6 +259,12 @@ START_TEST(install)
     if (!init_function_pointers())
         return;
 
+    if (!IsNTAdmin(0, NULL))
+    {
+        skip("Most tests need admin rights\n");
+        return;
+    }
+
     GetCurrentDirectoryA(MAX_PATH, prev_path);
     GetTempPath(MAX_PATH, temp_path);
     SetCurrentDirectoryA(temp_path);