Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
4.7.0
-
None
Description
Our installer installs the files AUX.cif, CON.cif, NUL.cif and PRN.cif (from the chemical components dictionary, https://www.wwpdb.org/data/ccd).
Everything works fine until uninstall. On uninstall these are left behind because AUX, CON, NUL and PRN are reserved names on Windows (https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file) - extensions are ignored. It is possible to remove them with "del \\?\C:\full\path\here\NUL.cif" - note the "\\\?" ("For file I/O, the "\\?\" prefix to a path string tells the Windows APIs to disable all string parsing and to send the string that follows it straight to the file system.", same link as above).
Obviously this is a very niche case, but it would be great if the IFW could use similar means to remove all files on uninstall, reserved names or not.