|
@@ -49,7 +49,7 @@ procedure showError(context: String; ErrorMessage: String; addFooter: boolean =
|
49
|
49
|
begin
|
50
|
50
|
if addFooter then begin
|
51
|
51
|
ErrorMessage := ErrorMessage+#13#10;
|
52
|
|
- ErrorMessage := ErrorMessage+#13#10+'If you feel this is incorrect, or you require some further assistance,';
|
|
52
|
+ ErrorMessage := ErrorMessage+#13#10+' If you feel this is incorrect, or you require some further assistance, ';
|
53
|
53
|
ErrorMessage := ErrorMessage+#13#10+'please feel free to contact us.';
|
54
|
54
|
end;
|
55
|
55
|
|
|
@@ -200,14 +200,14 @@ begin
|
200
|
200
|
Reg.Free;
|
201
|
201
|
|
202
|
202
|
if (FileExists(profileDir+'\dmdirc.config')) then begin
|
203
|
|
- if MessageBox(0, PChar('A dmdirc profile has been detected ('+profileDir+')'+#13#10+' Do you want to delete it aswell?'), 'DMDirc Uninstaller', MB_YESNO) = IDYES then begin
|
|
203
|
+ if MessageBox(0, PChar('A dmdirc profile has been detected ('+profileDir+') '+#13#10+'Do you want to delete it aswell?'), 'DMDirc Uninstaller', MB_YESNO) = IDYES then begin
|
204
|
204
|
KillDir(profileDir);
|
205
|
205
|
end;
|
206
|
206
|
end;
|
207
|
207
|
|
208
|
208
|
showmessage('DMDirc has been uninstalled from "'+InstallDir+'".', 'Uninstall Successful');
|
209
|
209
|
end
|
210
|
|
- else if askQuestion('This will uninstall DMDirc.'+#13#10+#13#10+'Do you want to continue?') then begin
|
|
210
|
+ else if askQuestion('This will uninstall DMDirc. '+#13#10+#13#10+'Do you want to continue?') then begin
|
211
|
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);
|