NSISdl deletes files
the following error occurs with my script (NSIS 2.0 beta 3a).
the installer downloads additional files using NSISdl:
Section "Color Map APE" ColorMap
SetOutPath "$INSTDIR\$1\"
SectionIn 1
IfFileExists "$INSTDIR\$1\colormap.ape" ExistMessage CopyAPE
ExistMessage:
MessageBox MB_YESNO|MB_ICONEXCLAMATION "Setup detected the Color \
Map APE in your Plugins directory.$\n$\nOverwrite anyway?" IDNO End
CopyAPE:
NSISdl::download /TIMEOUT=30000 http://my.url/colormap.ape "$INSTDIR\$1\colormap.ape"
End:
SectionEnd
when the user is connected to the internet, the installer works charmingly. but when the user is offline and tries to overwrite the existing colormap.ape, the file simply gets deleted.
is this a bug in NSISdl? can i add something to my script to prevent this?