X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fwin32inst.nsi.in;h=d1e2795d8581fe1c7776c9a1551241e01d19e450;hb=c5bd5e71f365fe9d1aa42b844f403d3ffc408bec;hp=c26c83e22b76ff733fe9c05bf1b188f3699a20aa;hpb=31ec125bb5a36bc5b986263a7884e042bb07d871;p=synfig.git diff --git a/synfig-core/trunk/win32inst.nsi.in b/synfig-core/trunk/win32inst.nsi.in index c26c83e..d1e2795 100644 --- a/synfig-core/trunk/win32inst.nsi.in +++ b/synfig-core/trunk/win32inst.nsi.in @@ -12,7 +12,7 @@ ; 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" @@ -48,7 +48,8 @@ InstallDirRegKey HKLM "Software\Voria_@PACKAGE_TARNAME@" "Install_Dir" ;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 @@ -72,12 +73,13 @@ Section "" 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" @@ -105,6 +107,15 @@ SectionEnd ;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 @@ -117,21 +128,22 @@ Section "Uninstall" ; 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"