diff --git a/remove.ins b/remove.ins index 6759f50..58aee57 100644 --- a/remove.ins +++ b/remove.ins @@ -29,11 +29,8 @@ if (processIsRunning("ssh-agent.exe")) endif [WinBatch_Setup] -if not ($UninstallExecutablePath$ = "") - if FileExists ($UninstallExecutablePath$) - $UninstallExecutablePath$ /VERYSILENT /SUPPRESSMSGBOXES /LOG="%opsiLogDir%\git-client-uninstall.log" - endif -endif +$UninstallExecutablePath$ /VERYSILENT /SUPPRESSMSGBOXES /LOG="%opsiLogDir%\git-client-uninstall.log" + [Files_Cleanup] delete -sf "%ProgramFilesDir%\Git\"