This bug is tricky, and you need to follow thes steps to reproduce it:
*install VLC
*put test.lua in lua/extensions
*Uninstall. Now, you will see that the file is still there
*Reinstall. Now, you will see that test.lua appears in uninstall.log, because the file is found by the macro "InstallFolder lua"
*Uninstall. Now, the file disappears
So, the installer should look for files already present, and remove them from uninstall.log
The uninstaller deleting the AppData/Roaming/vlc folder is much more annoying that the uninstaller deleting a file in a place where the user shouldn't mess.
The behaviour is wrong at the basis, the installer should store the list of files (that should be deleted at uninstall) at compile time and not at install time, also for file added with wildcard.
Jean-Baptiste Kempfchanged title from Installer: It should NOT delete files that it doesn't create to Win32 Installer: It should NOT delete files that it doesn't create
changed title from Installer: It should NOT delete files that it doesn't create to Win32 Installer: It should NOT delete files that it doesn't create
The current installer in the GIT repo is capable of doing so, if I see that correctly. Can't test currently, as I'm missing a libary for Win64 detection.