User forums > Help

Windows Codeblocks uninstall - Associations left over after uninstall

<< < (3/3)

AndrewCot:
This is not THE problem I am having as the NSIS CB installer does NOT add any file association keys. The CB exe adds the associations and if I select C/C++ it adds 12, but the NSIS uninstall code removed some of them, but not all as the "EnumRegKey" does not enumerate through all of the keys. It does not matter if I run the CB exe from the installer of after the installer has closed the keys are either way not removed. I used the NSIS 3.07 special build to log info and the keys did not appear in the output for the keys that were not deleted. I have modified the code to loop through the HKCU64 hive and then the HKCU32 hive (these were  added in NSIS 3.02 released on 23-July-2017)

My latest NSIS script is available from the following URL:
https://github.com/acotty/codeblocks_sf/blob/AC-WindowsInstaller/windows_installer/Installer_NSIS_x64.nsi

The registry removal code is currently between lines 2769 and 2826. This may change if I find any more issues in my testing, but it is looking complete apart from this one issue.

Navigation

[0] Message Index

[*] Previous page

Go to full version