--- /dev/null
+; The stuff to install
+Section "mod_openexr" Sec_mod_openexr
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\synfig\modules"
+
+ ; Put file there
+ File /oname=mod_openexr.dll "src\modules\mod_openexr\.libs\libmod_openexr-0.dll"
+
+ SetOutPath "$INSTDIR\bin"
+ File /oname=libHalf-4.dll "src\modules\mod_openexr\.libs\libHalf-4.dll"
+ File /oname=libIlmImf-4.dll "src\modules\mod_openexr\.libs\libIlmImf-4.dll"
+ File /oname=libIlmThread-4.dll "src\modules\mod_openexr\.libs\libIlmThread-4.dll"
+ File /oname=libIex-4.dll "src\modules\mod_openexr\.libs\libIex-4.dll"
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_openexr"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+