shithub: aacdec

Download patch

ref: e82315d28bb5b1e866dad32fadc801c14c5cb1b4
parent: c13fd2a1bb16abef815a5ca95fb685b0a4902402
author: menno <menno>
date: Wed Feb 20 05:06:33 EST 2002

updated install scripts

--- a/cnv_aacpcm.nsi
+++ b/cnv_aacpcm.nsi
@@ -5,16 +5,17 @@
 LicenseData COPYING
 ComponentText "This will install the FAAD2 Winamp3 AAC plugin on your computer."
 InstType Normal
-DirText "Please select a location to install the FAAD2 Winamp3 AAC plugin (or use the default)."
 AutoCloseWindow true
 SetOverwrite on
 SetDateSave on
 
-InstallDir "$PROGRAMFILES\Winamp3\wacs\"
-InstallDirRegKey HKEY_CURRENT_USER SOFTWARE\Winamp3\FAAD2 ""
+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
-SetOutPath $INSTDIR
+SetOutPath $INSTDIR\Wacs
 File plugins\winamp3\Release\cnv_aacpcm.wac
 SectionEnd
--- a/in_faad.nsi
+++ b/in_faad.nsi
@@ -5,16 +5,17 @@
 LicenseData COPYING
 ComponentText "This will install the FAAD2 Winamp AAC plugin on your computer."
 InstType Normal
-DirText "Please select a location to install the FAAD2 Winamp AAC plugin (or use the default)."
 AutoCloseWindow true
 SetOverwrite on
 SetDateSave on
 
-InstallDir "$PROGRAMFILES\Winamp\Plugins\"
-InstallDirRegKey HKEY_CURRENT_USER SOFTWARE\Winamp\FAAD2 ""
+InstallDir $PROGRAMFILES\Winamp
+InstallDirRegKey HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp" "UninstallString"
+DirShow show
+DirText "The installer has detected the path to Winamp. If it is not correct, please change."
 
 Section "FAAD2 Winamp AAC plugin"
 SectionIn 1
-SetOutPath $INSTDIR
+SetOutPath $INSTDIR\Plugins
 File plugins\winamp\Release\in_faad.dll
 SectionEnd
--- a/in_mp4.nsi
+++ b/in_mp4.nsi
@@ -5,16 +5,17 @@
 LicenseData COPYING
 ComponentText "This will install the AudioCoding.com MP4 Winamp plugin on your computer."
 InstType Normal
-DirText "Please select a location to install the AudioCoding.com MP4 Winamp plugin (or use the default)."
 AutoCloseWindow true
 SetOverwrite on
 SetDateSave on
 
-InstallDir "$PROGRAMFILES\Winamp\Plugins\"
-InstallDirRegKey HKEY_CURRENT_USER SOFTWARE\Winamp\IN_MP4 ""
+InstallDir $PROGRAMFILES\Winamp
+InstallDirRegKey HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp" "UninstallString"
+DirShow show
+DirText "The installer has detected the path to Winamp. If it is not correct, please change."
 
 Section "AudioCoding.com MP4 Winamp plugin"
 SectionIn 1
-SetOutPath $INSTDIR
+SetOutPath $INSTDIR\Plugins
 File plugins\in_mp4\Release\in_mp4.dll
 SectionEnd