浏览代码

Fix windows installer.

Fixes issue 1569


git-svn-id: http://svn.dmdirc.com/trunk@4470 00569f92-eb28-0410-84fd-f71c24880f
tags/0.6
Shane Mc Cormack 16 年前
父节点
当前提交
65c205a5f1
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      installer/windows/Setup.dpr

+ 2
- 1
installer/windows/Setup.dpr 查看文件

@@ -460,7 +460,7 @@ begin
460 460
 		if (ReleaseNumber <> '') then begin
461 461
 			params := params+' --release '+ReleaseNumber;
462 462
 		end;
463
-		// CHeck if the installer runs
463
+		// Check if the installer runs
464 464
 		if (ExecAndWait(javaCommand+' -cp DMDirc.jar com.dmdirc.installer.Main --help') <> 0) then begin
465 465
 			dowriteln('Failed!');
466 466
 			if not installJRE(true) then begin
@@ -471,6 +471,7 @@ begin
471 471
 				// Try again now that java is installed.
472 472
 				ExecAndWait(javaCommand+' -cp DMDirc.jar com.dmdirc.installer.Main '+params);
473 473
 			end;
474
+		end
474 475
 		else begin
475 476
 			// Java is the right version, run the installer
476 477
 			ExecAndWait(javaCommand+' -cp DMDirc.jar com.dmdirc.installer.Main '+params);

正在加载...
取消
保存