${else}
# delete unnecessary files
RMDir /r ${GhostscriptDir}
${else}
# delete unnecessary files
RMDir /r ${GhostscriptDir}
+ StrCpy $DelGSDir "Yes" # used later in function ImageMagick
${else}
# delete unnecessary files
RMDir /r ${ImageMagickDir}
${else}
# delete unnecessary files
RMDir /r ${ImageMagickDir}
+ # delete the "etc" folder when also the Ghostscript folder was deleted because it is then empty
+ ${if} $DelGSDir == "Yes"
+ RMDir /r "$INSTDIR\etc"
+ ${endif}
Var AspellPath
Var Acrobat
Var PSVPath
Var AspellPath
Var Acrobat
Var PSVPath
Var EditorPath
Var ImageEditorPath
Var BibTeXEditorPath
Var EditorPath
Var ImageEditorPath
Var BibTeXEditorPath
Var AspellPath
Var Acrobat
Var PSVPath
Var AspellPath
Var Acrobat
Var PSVPath
Var EditorPath
Var ImageEditorPath
Var BibTeXEditorPath
Var EditorPath
Var ImageEditorPath
Var BibTeXEditorPath