ref: d09e11ba1abdd440a610d4661ca1e5b5a1ca2cad
parent: 81555133ae325cfdd73b5114a90adba7d61cc7ee
author: menno <menno>
date: Wed May 9 14:44:16 EDT 2001
Fixed NSIS install script to avoid warnings
--- a/faac_wingui.nsi
+++ b/faac_wingui.nsi
@@ -27,6 +27,7 @@
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"'
+SectionEnd
Section -post
WriteRegStr HKEY_LOCAL_MACHINE SOFTWARE\FAAC "" $INSTDIR
@@ -33,6 +34,7 @@
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
+SectionEnd
Section Uninstall
DeleteRegKey HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\FAAC"
@@ -39,4 +41,5 @@
DeleteRegKey HKEY_LOCAL_MACHINE SOFTWARE\FAAC
Delete $DESKTOP\faac_wingui.lnk
Delete $INSTDIR\faac_wingui.exe
-RMDir $INSTDIR
\ No newline at end of file
+RMDir $INSTDIR
+SectionEnd