shithub: aacenc

Download patch

ref: 220dc0a03d5d592da832c081e8027062d16baae5
parent: f5010739d787dab0e31623439911ba35d977c23e
author: menno <menno>
date: Sun Mar 18 10:26:04 EST 2001

Changed NSIS installation script
now it supports opening of .jbl (joblist) files automatically

--- a/faac_wingui.nsi
+++ b/faac_wingui.nsi
@@ -15,10 +15,18 @@
 InstallDir $PROGRAMFILES\FAAC
 InstallDirRegKey HKEY_LOCAL_MACHINE SOFTWARE\FAAC ""
 
-Section "FAAC GUI executable"
+Section "FAAC GUI Executable"
 SectionIn 1
 SetOutPath $INSTDIR
 File wingui\Release\faac_wingui.exe
+
+Section "FAAC GUI Shell Extensions"
+SectionIn 1
+WriteRegStr HKEY_CLASSES_ROOT ".jbl" "" "FAAC.JoblistFile"
+WriteRegStr HKEY_CLASSES_ROOT "FAAC.JoblistFile" "" "FAAC JoblistFile"
+WriteRegStr HKEY_CLASSES_ROOT "FAAC.JoblistFile\shell" "" "open"
+WriteRegStr HKEY_CLASSES_ROOT "FAAC.JoblistFile\DefaultIcon" "" $INSTDIR\faac_wingui.exe,0
+WriteRegStr HKEY_CLASSES_ROOT "FAAC.JoblistFile\shell\open\command" "" '$INSTDIR\faac_wingui.exe "%1"'
 
 Section -post
 WriteRegStr HKEY_LOCAL_MACHINE SOFTWARE\FAAC "" $INSTDIR