Browse Source

Fixes issue 1683


git-svn-id: http://svn.dmdirc.com/trunk@4613 00569f92-eb28-0410-84fd-f71c24880f
tags/0.6.3m1rc1
Shane Mc Cormack 16 years ago
parent
commit
800fdd008d
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      installer/windows/Uninstaller.dpr

+ 2
- 2
installer/windows/Uninstaller.dpr View File

@@ -208,10 +208,10 @@ begin
208 208
 		showmessage('DMDirc has been uninstalled from "'+InstallDir+'".', 'Uninstall Successful');
209 209
 	end
210 210
 	else if askQuestion('This will uninstall DMDirc. '+#13#10+#13#10+'Do you want to continue?') then begin
211
-		if (ExecAndWait('java -jar ' + ExtractFileDir(paramstr(0)) + '\DMDirc.jar -k', true) <> 0) then begin
211
+		if (ExecAndWait('java -jar "' + ExtractFileDir(paramstr(0)) + '\DMDirc.jar" -k', true) <> 0) then begin
212 212
 			TempDir := GetTempDirectory;
213 213
 			CopyFile(pchar(paramstr(0)), pchar(TempDir+'/uninstall.exe'), false);
214
-			Launch(TempDir+'/uninstall.exe '+ExtractFileDir(paramstr(0))+'\');
214
+			Launch('"'+TempDir+'/uninstall.exe" '+ExtractFileDir(paramstr(0))+'\');
215 215
 		end else begin
216 216
 			showError('Uninstall Aborted - DMDirc is still running.', 'Please close DMDirc before continuing')
217 217
 		end;

Loading…
Cancel
Save