Atrus' Windows patches: [ 1695479 ] win32-synfig-remove-unused-libs
[synfig.git] / synfig-core / trunk / win32inst.nsi.in
index f49f1e1..ff29e4a 100644 (file)
@@ -71,21 +71,16 @@ Section ""
   ; Set output path to the installation directory.
   SetOutPath $INSTDIR\bin
 
-  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"
   
   CreateDirectory "$INSTDIR\etc"
-  Delete $INSTDIR\etc\synfig_modules.conf
+  Delete $INSTDIR\etc\synfig_modules.cfg
        
   ; Write the installation path into the registry
   ; WriteRegStr HKLM "Software\Voria_@PACKAGE_TARNAME@" "Install_Dir" "$INSTDIR"
   
   WriteRegStr HKLM "${SYNFIG_REG_KEY}" "Path" "$INSTDIR"
-  WriteRegStr HKLM "${SYNFIG_REG_KEY}" "Version" "@PRODUCT_VERSION@"
+  WriteRegStr HKLM "${SYNFIG_REG_KEY}" "Version" "@PACKAGE_VERSION@"
   
   ; Write the uninstall keys for Windows
   WriteRegStr HKLM "${SYNFIG_UNINSTALL_KEY}" "DisplayName" "@PACKAGE_NAME@"
@@ -130,7 +125,7 @@ Section "Uninstall"
   ; Remove files and uninstaller
   ;Delete $INSTDIR\synfig.exe
   Delete $INSTDIR\uninstall-@PACKAGE_TARNAME@.exe
-  Delete $INSTDIR\etc\synfig_modules.conf
+  Delete $INSTDIR\etc\synfig_modules.cfg
   RMDir $INSTDIR\bin
   RMDir $INSTDIR\etc