~ft/aacdec

ref: 65a708ac330ddc83d16ddaa5387d368276c888cb aacdec/cnv_FAAD.nsi -rw-r--r-- 1.1 KiB
65a708ac — menno forgot 1 17 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Name "FAAD Winamp3 AAC plugin"
OutFile cnv_FAAD.exe
CRCCheck on
LicenseText "You must read the following license before installing."
LicenseData COPYING
ComponentText "This will install the FAAD2 Winamp3 AAC plugin on your computer."
InstType Normal
AutoCloseWindow true
SetOverwrite on
SetDateSave on

InstallDir $PROGRAMFILES\Winamp3
InstallDirRegKey HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp3" "UninstallString"
DirShow show
DirText "The installer has detected the path to Winamp. If it is not correct, please change."

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