Shortly after releasing EVE Online: Trinity at 22:04 GMT on Wednesday, 5 December, we started receiving reports that the Classic to Premium graphics content upgrade was causing problems to players by deleting the file C:\boot.ini, which is a Windows system startup file.[...]Oops 🙂
It might appear from the installer log that we made the mistake of explicitly deleting \boot.ini instead of just boot.ini. The former would delete the file from the root of the current drive whereas the latter would only delete from the current working directory. It is not quite so; the mistake was to assume that the file would be deleted from the current working directory without giving the full path. In fact, this is the code in the installer script that caused the problems:
Section "EVE-ONLINE"
SetOutPath "$INSTDIR"
Delete "boot.ini"
Delete "manifest.dat"
File "boot.ini"
File "manifest.dat"
File "resDX9*.stuff"
SectionEnd
The assumption was that by setting SetOutPath "$INSTDIR" then all commands that followed would use that working directory.
The File commands use the output path that has been set. The documentation for the Delete function says the file _should_ be specified with a full path but in fact it _must_ be specified with a full path, like so:
Delete "$INSTDIR\boot.ini"
Delete "$INSTDIR\manifest.dat"
Otherwise, it is assumed that the file should be deleted from the root.
NSIS in the news...
Read this on /.