ref: 2d236187d50077313e38fe0e7b0e178eb60f5218
parent: cea2d6d9678f2d5ae6102b5bada2757471ffab8c
author: menno <menno>
date: Wed Oct 30 14:19:48 EST 2002
Updated installer script
--- a/cnv_FAAD.nsi
+++ b/cnv_FAAD.nsi
@@ -16,8 +16,20 @@
Section "FAAD2 Winamp3 AAC plugin"
SectionIn 1
+IfFileExists $INSTDIR\Wacs\cnv_aacpcm.wac idelete
+Goto iskip_delete
+ idelete:
+ Delete $INSTDIR\Wacs\cnv_aacpcm.wac
+ IfFileExists $INSTDIR\Wacs\cnv_aacpcm.wac idelete_error
+ Goto iskip_delete
+ idelete_error:
+ MessageBox MB_RETRYCANCEL|MB_ICONEXCLAMATION "The file is locked and can't be deleted. Please close Winamp3 and hit 'retry'" IDRETRY idelete IDCANCEL close
+iskip_delete:
SetOutPath $INSTDIR\Wacs
File plugins\winamp3\Release\cnv_FAAD.wac
SetOutPath $INSTDIR\Wacs\xml\FAAD
File plugins\winamp3\FAAD_config.xml
+close:
SectionEnd
+
+