!macro CustomCodePostInstall
	${If} ${FileExists} "$INSTDIR\App\Gramps\share\enchant\myspell-all\*.*"
		Rename "$INSTDIR\App\Gramps\share\enchant\myspell\en_US.aff" "$INSTDIR\App\Gramps\share\enchant\myspell-all\en_US.aff"
		Rename "$INSTDIR\App\Gramps\share\enchant\myspell\en_US.dic" "$INSTDIR\App\Gramps\share\enchant\myspell-all\en_US.dic"
		RMDir "$INSTDIR\App\Gramps\share\enchant\myspell"
		Rename "$INSTDIR\App\Gramps\share\enchant\myspell-all" "$INSTDIR\App\Gramps\share\enchant\myspell"
	${EndIf}
!macroend