X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fwin32inst.nsi.in;h=d1e2795d8581fe1c7776c9a1551241e01d19e450;hb=4c003ac49046e06b6d9a31b38707f921830ea41b;hp=0a2b56dea1db6db345545fe2ed7e2c869fce27a2;hpb=ff9ed7c6c97639724efbe1beee356c9c8011d19a;p=synfig.git diff --git a/synfig-core/trunk/win32inst.nsi.in b/synfig-core/trunk/win32inst.nsi.in index 0a2b56d..d1e2795 100644 --- a/synfig-core/trunk/win32inst.nsi.in +++ b/synfig-core/trunk/win32inst.nsi.in @@ -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,6 +73,7 @@ Section "" File "C:\mingw\bin\mingwm10.dll" File "C:\GTK\bin\libfreetype-6.dll" + File "C:\GTK\bin\libxml2.dll" ; Put file there ; File "synfig_modules.conf" @@ -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 @@ -125,6 +136,7 @@ Section "Uninstall" ; Remove shortcuts, if any + Delete "$SMPROGRAMS\Voria\Uninstall Synfig Core.lnk" ; Remove directories used ;RMDir "$SMPROGRAMS\Example2" RMDir "$INSTDIR"