; The name of the installer
Name "@PACKAGE_NAME@ @PACKAGE_VERSION@"
-!define PRODUCT_WEB_SITE "http://deepdarc.dnsalias.net/~darco/"
+!define PRODUCT_WEB_SITE "http://voria.com/synfig/"
; The file to write
OutFile "@PACKAGE_TARNAME@-@PACKAGE_VERSION@.exe"
;CustomGuiInit
!insertmacro MUI_PAGE_WELCOME
-!insertmacro MUI_PAGE_LICENSE "@srcdir@\alphalicense.txt"
+!insertmacro MUI_PAGE_LICENSE "@srcdir@\COPYING"
+#!insertmacro MUI_PAGE_LICENSE "@srcdir@\alphalicense.txt"
;Page custom PageReinstall ; PageLeaveReinstall
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
File "C:\mingw\bin\mingwm10.dll"
File "C:\GTK\bin\libfreetype-6.dll"
+ File "C:\GTK\bin\libxml2.dll"
; Put file there
-; File "sinfg_modules.conf"
+; File "synfig_modules.conf"
CreateDirectory "$INSTDIR\etc"
- Delete $INSTDIR\etc\sinfg_modules.conf
+ Delete $INSTDIR\etc\synfig_modules.conf
; Write the installation path into the registry
; WriteRegStr HKLM "Software\Voria_@PACKAGE_TARNAME@" "Install_Dir" "$INSTDIR"
;SectionEnd
+; Optional section (can be disabled by the user)
+Section "Start Menu Shortcuts"
+
+ CreateDirectory "$SMPROGRAMS\Voria"
+ CreateShortCut "$SMPROGRAMS\Voria\Uninstall Synfig Core.lnk" "$INSTDIR\uninstall-@PACKAGE_TARNAME@.exe" "" "$INSTDIR\uninstall-@PACKAGE_TARNAME@.exe" 0
+
+SectionEnd
+
+
;--------------------------------
; Uninstaller
; DeleteRegKey HKLM "Software\Voria_@PACKAGE_TARNAME@"
; Remove files and uninstaller
- ;Delete $INSTDIR\sinfg.exe
+ ;Delete $INSTDIR\synfig.exe
Delete $INSTDIR\uninstall-@PACKAGE_TARNAME@.exe
- Delete $INSTDIR\etc\sinfg_modules.conf
+ Delete $INSTDIR\etc\synfig_modules.conf
RMDir $INSTDIR\bin
RMDir $INSTDIR\etc
; Remove shortcuts, if any
+ Delete "$SMPROGRAMS\Voria\Uninstall Synfig Core.lnk"
; Remove directories used
;RMDir "$SMPROGRAMS\Example2"
RMDir "$INSTDIR"
SectionEnd
-!include @srcdir@\src\sinfg\sinfg.nsh
+!include @srcdir@\src\synfig\synfig.nsh
!include @srcdir@\src\tool\tool.nsh
Section "Examples"