shithub: aacenc

Download patch

ref: f5010739d787dab0e31623439911ba35d977c23e
parent: 036981aa9e8a84b794a469e134721f179e1514dd
author: menno <menno>
date: Sun Mar 18 09:48:09 EST 2001

Added NSIS (www.nullsoft.com) installation script

--- /dev/null
+++ b/faac_wingui.nsi
@@ -1,0 +1,34 @@
+Name "FAAC Windows GUI"
+OutFile faac_wingui_install.exe
+CRCCheck on
+LicenseText "You must read the following license before installing."
+LicenseData COPYING
+ComponentText "This will install the FAAC Windows GUI on your computer."
+InstType Normal
+DirText "Please select a location to install the FAAC Windows GUI (or use the default)."
+UninstallText "This will uninstall the FAAC Windows GUI from your system."
+UninstallExeName uninst.exe
+AutoCloseWindow true
+SetOverwrite on
+SetDateSave on
+
+InstallDir $PROGRAMFILES\FAAC
+InstallDirRegKey HKEY_LOCAL_MACHINE SOFTWARE\FAAC ""
+
+Section "FAAC GUI executable"
+SectionIn 1
+SetOutPath $INSTDIR
+File wingui\Release\faac_wingui.exe
+
+Section -post
+WriteRegStr HKEY_LOCAL_MACHINE SOFTWARE\FAAC "" $INSTDIR
+WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\FAAC" "DisplayName" "FAAC Windows GUI"
+WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\FAAC" "UninstallString" '"$INSTDIR\uninst.exe"'
+CreateShortCut "$DESKTOP\faac_wingui.lnk" "$INSTDIR\faac_wingui.exe" "" "" 0
+
+Section Uninstall
+DeleteRegKey HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\FAAC"
+DeleteRegKey HKEY_LOCAL_MACHINE SOFTWARE\FAAC
+Delete $DESKTOP\faac_wingui.lnk
+Delete $INSTDIR\faac_wingui.exe
+RMDir $INSTDIR
\ No newline at end of file