SetOutPath "$INSTDIR\share\pixmaps"
File "images\*.png"
- SetOutPath "$INSTDIR\share"
+ SetOutPath "$INSTDIR\share\pixmaps"
File "images\*.ico"
SetOutPath "$INSTDIR\bin"
WriteRegStr HKCR ".sif" "Content Type" "image/x-sif"
WriteRegStr HKCR ".sif" "PerceivedType" "image"
- WriteRegStr HKCR ".sif.gz" "" "Synfig.Composition"
- WriteRegStr HKCR ".sif.gz" "Content Type" "image/x-sifz"
- WriteRegStr HKCR ".sif.gz" "PerceivedType" "image"
+ WriteRegStr HKCR ".sifz" "" "Synfig.Composition"
+ WriteRegStr HKCR ".sifz" "Content Type" "image/x-sifz"
+ WriteRegStr HKCR ".sifz" "PerceivedType" "image"
WriteRegStr HKCR "Synfig.Composition" "" "Synfig Composition File"
- WriteRegStr HKCR "Synfig.Composition\DefaultIcon" "" "$INSTDIR\bin\synfigstudio.exe;1"
+ WriteRegStr HKCR "Synfig.Composition\DefaultIcon" "" "$INSTDIR\share\pixmaps\sif_icon.ico"
WriteRegStr HKCR "Synfig.Composition\shell" "" "open"
WriteRegStr HKCR "Synfig.Composition\shell\open\command" "" '$INSTDIR\bin\synfigstudio.exe "%1"'
CreateDirectory "$SMPROGRAMS\Voria"
CreateShortCut "$SMPROGRAMS\Voria\Uninstall Synfig Studio.lnk" "$INSTDIR\uninstall-@PACKAGE_TARNAME@.exe" "" "$INSTDIR\uninstall-@PACKAGE_TARNAME@.exe" 0
- CreateShortCut "$SMPROGRAMS\Voria\Synfig Studio.lnk" "$INSTDIR\bin\synfigstudio.exe" "" "$INSTDIR\bin\synfigstudio.exe" 0
+ CreateShortCut "$SMPROGRAMS\Voria\Synfig Studio.lnk" "$INSTDIR\bin\synfigstudio.exe" "" "$INSTDIR\share\pixmaps\synfig_icon.ico" 0
SectionEnd
DeleteRegKey HKCR "Synfig.Composition\shell"
DeleteRegKey HKCR "Synfig.Composition"
DeleteRegKey HKCR ".sif"
- DeleteRegKey HKCR ".sif.gz"
+ DeleteRegKey HKCR ".sifz"
; Remove registry keys
DeleteRegKey HKLM "${PRODUCT_REG_KEY}"