WinGit: Add a native Win32 uninstaller
commit9d9d87eaa698dbf14a3ec89967ae770a8c47fef2
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 23 Sep 2007 00:51:18 +0000 (23 01:51 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 23 Sep 2007 01:14:05 +0000 (23 02:14 +0100)
tree322c8c4e0cc775d75eb48f83a5e98c9dbbef9fb2
parent5041a6d8a662e0a58e33122e2d3f5e9409d755f5
WinGit: Add a native Win32 uninstaller

The easiest and cleanest solution for uninstalling WinGit would be
-- like the installer -- a Tcl script, since we already have Tcl
installed.

But that does not work, since Windows does not allow the removal of
files which are in use.

Therefore, we are _forced_ to have a standalone uninstaller, which
schedules its own removal at next reboot.

Incidentally, we now have an example how to write a non-bloated
graphical Win32 program in C.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
share/WinGit/Makefile
share/WinGit/uninstaller.c [new file with mode: 0644]