remove not working directory check before uninstallation
This commit is contained in:
		@@ -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\"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user