Index: source/windows/Main.pas =================================================================== --- source/windows/Main.pas (revision 176) +++ source/windows/Main.pas (working copy) @@ -869,11 +869,10 @@ ProcessLbl.Caption := _('Processing instance removal ...'); Step1Lbl.Caption := _('Stop instance'); Step2Lbl.Caption := _('Remove windows service'); - Step3Lbl.Caption := _('Remove configuration file'); Step2Img.Visible := True; Step2Lbl.Visible := True; - Step3Img.Visible := True; - Step3Lbl.Visible := True; + Step3Img.Visible := False; + Step3Lbl.Visible := False; Step4Img.Visible := False; Step4Lbl.Visible := False; Step4Lbl.Enabled := True; @@ -2321,22 +2320,6 @@ Step2Img.Picture.Assign(FTaskCheckedPNGImg); Application.ProcessMessages; - - //Remove Configuration File - if(FileExists(CurrentInstance.ConfigFileDestination))then - begin - DeleteFile(CurrentInstance.ConfigFileDestination); - - SuccessCaption := SuccessCaption+ - _('Configuration file removed.')+#13#10; - - LogMessage(Format(_('Configuration file removed.' + #13#10 + - 'Filename: %s'), - [CurrentInstance.ConfigFileDestination])) - end; - - Step3Img.Picture.Assign(FTaskCheckedPNGImg); - Application.ProcessMessages; end; SuccessCaption := SuccessCaption+#13#10+