remove not working directory check before uninstallation
This commit is contained in:
parent
7f1361feda
commit
23ee873c41
|
@ -29,11 +29,8 @@ if (processIsRunning("ssh-agent.exe"))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
[WinBatch_Setup]
|
[WinBatch_Setup]
|
||||||
if not ($UninstallExecutablePath$ = "")
|
$UninstallExecutablePath$ /VERYSILENT /SUPPRESSMSGBOXES /LOG="%opsiLogDir%\git-client-uninstall.log"
|
||||||
if FileExists ($UninstallExecutablePath$)
|
|
||||||
$UninstallExecutablePath$ /VERYSILENT /SUPPRESSMSGBOXES /LOG="%opsiLogDir%\git-client-uninstall.log"
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
[Files_Cleanup]
|
[Files_Cleanup]
|
||||||
delete -sf "%ProgramFilesDir%\Git\"
|
delete -sf "%ProgramFilesDir%\Git\"
|
||||||
|
|
Loading…
Reference in New Issue