remove installation directory in batch file, too
authorkramm <kramm>
Thu, 19 Jun 2008 20:29:19 +0000 (20:29 +0000)
committerkramm <kramm>
Thu, 19 Jun 2008 20:29:19 +0000 (20:29 +0000)
installer/installer.c

index 3573858..439fc2f 100644 (file)
@@ -807,6 +807,7 @@ static void remove_self()
     fprintf(fp, "del \"%s\"\n", exename);
     fprintf(fp, "if exist \"%s\" goto Repeat\n", exename);
     fprintf(fp, "del \"%s\"\n", batname);
+    fprintf(fp, "rmdir \"%s\"\n", install_path);
     fclose(fp);
 
     STARTUPINFO si;