; Script generated by the HM NIS Edit Script Wizard.

; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "FreeDoko"
!define PRODUCT_VERSION "0.6.8"
!define PRODUCT_PUBLISHER "Borg Enders, Diether Knof"
!define PRODUCT_WEB_SITE "http://free-doko.sourceforge.net/"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\FreeDoko.exe"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
!define PRODUCT_STARTMENU_REGVAL "NSIS:StartMenuDir"

; MUI 1.67 compatible ------
!include "MUI.nsh"

; MUI Settings
!define MUI_ABORTWARNING
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"

; Language Selection Dialog Settings
!define MUI_LANGDLL_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
!define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
!define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language"

; Welcome page
!insertmacro MUI_PAGE_WELCOME
; License page
!insertmacro MUI_PAGE_LICENSE "FreeDoko_0.6.8\COPYING"
; Directory page
!insertmacro MUI_PAGE_DIRECTORY
; Start menu page
var ICONS_GROUP
!define MUI_STARTMENUPAGE_NODISABLE
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "FreeDoko"
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${PRODUCT_STARTMENU_REGVAL}"
!insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP
; Instfiles page
!insertmacro MUI_PAGE_INSTFILES
; Finish page
!define MUI_FINISHPAGE_RUN "$INSTDIR\FreeDoko.bat"
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\LIESMICH"
!insertmacro MUI_PAGE_FINISH

; Uninstaller pages
!insertmacro MUI_UNPAGE_INSTFILES

; Language files
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "German"

; MUI end ------

Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "Setup.exe"
InstallDir "$PROGRAMFILES\FreeDoko"
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
ShowUnInstDetails show

Function .onInit
  !insertmacro MUI_LANGDLL_DISPLAY
FunctionEnd

Section "Hauptgruppe" SEC01
  SetOutPath "$INSTDIR"
  SetOverwrite try
  File "FreeDoko_0.6.8\AUTHORS"
  File "FreeDoko_0.6.8\COPYING"
  File "FreeDoko_0.6.8\ChangeLog"
  File "FreeDoko_0.6.8\README"
  File "FreeDoko_0.6.8\LIESMICH"
  File "FreeDoko_0.6.8\Version"
  SetOutPath "$INSTDIR\translations\de"
  File "FreeDoko_0.6.8\translations\de\text"
  File "FreeDoko_0.6.8\translations\de\text.gui"
  File "FreeDoko_0.6.8\translations\de\text.rules"
  File "FreeDoko_0.6.8\translations\de\text.cards"
  File "FreeDoko_0.6.8\translations\de\text.settings"
  File "FreeDoko_0.6.8\translations\de\text.basistypes"
  File "FreeDoko_0.6.8\translations\de\text.help"
  File "FreeDoko_0.6.8\translations\de\text.bug_report"
  File "FreeDoko_0.6.8\translations\de\text.aiconfig"
  File "FreeDoko_0.6.8\translations\de\text.messages"
  File "FreeDoko_0.6.8\translations\de\text.versions"
  File "FreeDoko_0.6.8\translations\de\text.gtkmm.menu"
  File "FreeDoko_0.6.8\translations\de\text.chat"
  SetOutPath "$INSTDIR\translations\en"
  File "FreeDoko_0.6.8\translations\en\text"
  File "FreeDoko_0.6.8\translations\en\text.gui"
  File "FreeDoko_0.6.8\translations\en\text.rules"
  File "FreeDoko_0.6.8\translations\en\text.cards"
  File "FreeDoko_0.6.8\translations\en\text.settings"
  File "FreeDoko_0.6.8\translations\en\text.basistypes"
  File "FreeDoko_0.6.8\translations\en\text.help"
  File "FreeDoko_0.6.8\translations\en\text.bug_report"
  File "FreeDoko_0.6.8\translations\en\text.aiconfig"
  File "FreeDoko_0.6.8\translations\en\text.versions"
  File "FreeDoko_0.6.8\translations\en\text.gtkmm.menu"
  File "FreeDoko_0.6.8\translations\en\text.messages"
  File "FreeDoko_0.6.8\translations\en\text.chat"
  SetOutPath "$INSTDIR\rules"
  File "FreeDoko_0.6.8\rules\tournament"
  File "FreeDoko_0.6.8\rules\standard"
  File "FreeDoko_0.6.8\rules\beginner"
  SetOutPath "$INSTDIR\ai"
  File "FreeDoko_0.6.8\ai\standard"
  File "FreeDoko_0.6.8\ai\normal"
  File "FreeDoko_0.6.8\ai\normal.pro"
  File "FreeDoko_0.6.8\ai\novice"
  File "FreeDoko_0.6.8\ai\novice.pro"
  File "FreeDoko_0.6.8\ai\profi"
  File "FreeDoko_0.6.8\ai\profi.pro"
  SetOutPath "$INSTDIR\cardsets\Altenburg\french\backs"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\backs\xaos.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\backs\penguin.png"
  SetOutPath "$INSTDIR\cardsets\Altenburg\french\cards\club"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\club\ace.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\club\jack.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\club\king.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\club\nine.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\club\queen.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\club\ten.png"
  SetOutPath "$INSTDIR\cardsets\Altenburg\french\cards\diamond"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\diamond\ace.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\diamond\jack.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\diamond\king.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\diamond\nine.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\diamond\queen.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\diamond\ten.png"
  SetOutPath "$INSTDIR\cardsets\Altenburg\french\cards\heart"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\heart\ace.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\heart\jack.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\heart\king.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\heart\nine.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\heart\queen.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\heart\ten.png"
  SetOutPath "$INSTDIR\cardsets\Altenburg\french\cards\spade"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\spade\ace.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\spade\jack.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\spade\king.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\spade\nine.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\spade\queen.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\cards\spade\ten.png"
  SetOutPath "$INSTDIR\cardsets\Altenburg\french\icons"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\re.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\contra.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\no_0.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\solo.jack.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\solo.queen.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\solo.king.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\solo.queen-jack.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\solo.king-jack.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\solo.king-queen.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\solo.koehler.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\solo.club.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\solo.spade.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\solo.heart.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\solo.diamond.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\solo.meatless.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\marriage.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\marriage.foreign.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\marriage.trump.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\marriage.color.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\marriage.club.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\marriage.spade.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\marriage.heart.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\genscher.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\poverty.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\poverty.3.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\poverty.2.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\poverty.1.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\poverty.0.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\five_nines.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\six_kings.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\fox_highest_trump.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\swines.club.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\swines.spade.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\swines.heart.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\swines.diamond.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\hyperswines.club.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\hyperswines.spade.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\hyperswines.heart.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\hyperswines.diamond.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\swines-hyperswines.club.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\swines-hyperswines.spade.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\swines-hyperswines.heart.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\swines-hyperswines.diamond.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\no_120.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\no_30.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\no_90.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\no_60.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\no_0_reply.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\no_120_reply.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\no_90_reply.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\no_60_reply.png"
  File "FreeDoko_0.6.8\cardsets\Altenburg\french\icons\no_30_reply.png"
  SetOutPath "$INSTDIR\cardsets\Altenburg"
  File "FreeDoko_0.6.8\cardsets\Altenburg\License"
  SetOutPath "$INSTDIR\backgrounds"
  File "FreeDoko_0.6.8\backgrounds\table.png"
  SetOutPath "$INSTDIR\doc\en"
  File "FreeDoko_0.6.8\doc\en\introduction.txt"
  File "FreeDoko_0.6.8\doc\en\introduction.pdf"
  File "FreeDoko_0.6.8\doc\en\shortrules.txt"
  File "FreeDoko_0.6.8\doc\en\shortrules.pdf"
  File "FreeDoko_0.6.8\doc\en\rules.txt"
  File "FreeDoko_0.6.8\doc\en\rules.pdf"
  File "FreeDoko_0.6.8\doc\en\configuration.txt"
  File "FreeDoko_0.6.8\doc\en\configuration.pdf"
  File "FreeDoko_0.6.8\doc\en\FAQ.txt"
  File "FreeDoko_0.6.8\doc\en\FAQ.pdf"
  File "FreeDoko_0.6.8\doc\en\README.Windows"
  File "FreeDoko_0.6.8\doc\en\README.html"
  File "FreeDoko_0.6.8\doc\en\README.txt"
  SetOutPath "$INSTDIR\doc\de"
  File "FreeDoko_0.6.8\doc\de\Einfuehrung.txt"
  File "FreeDoko_0.6.8\doc\de\Einfuehrung.pdf"
  File "FreeDoko_0.6.8\doc\de\Kurzregeln.txt"
  File "FreeDoko_0.6.8\doc\de\Kurzregeln.pdf"
  File "FreeDoko_0.6.8\doc\de\Regeln.txt"
  File "FreeDoko_0.6.8\doc\de\Regeln.pdf"
  File "FreeDoko_0.6.8\doc\de\Dateien.txt"
  File "FreeDoko_0.6.8\doc\de\Dateien.pdf"
  File "FreeDoko_0.6.8\doc\de\Konfiguration.txt"
  File "FreeDoko_0.6.8\doc\de\Konfiguration.pdf"
  File "FreeDoko_0.6.8\doc\de\Planung.txt"
  File "FreeDoko_0.6.8\doc\de\Planung.pdf"
  File "FreeDoko_0.6.8\doc\de\Fehler.txt"
  File "FreeDoko_0.6.8\doc\de\Fehler.pdf"
  File "FreeDoko_0.6.8\doc\de\FAQ.txt"
  File "FreeDoko_0.6.8\doc\de\FAQ.pdf"
  File "FreeDoko_0.6.8\doc\de\GPL.de"
  File "FreeDoko_0.6.8\doc\de\LIESMICH.SuSE"
  File "FreeDoko_0.6.8\doc\de\LIESMICH.Windows"
  File "FreeDoko_0.6.8\doc\de\LIESMICH.gtkmm_2.4"
  File "FreeDoko_0.6.8\doc\de\LIESMICH.html"
  File "FreeDoko_0.6.8\doc\de\LIESMICH.txt"
  File "FreeDoko_0.6.8\doc\de\DDV_Kurzregeln.pdf"
  File "FreeDoko_0.6.8\doc\de\DDV_Turnierregeln.pdf"
  SetOutPath "$INSTDIR\doc\manual\de"
  File "FreeDoko_0.6.8\doc\manual\de\index.html"
  File "FreeDoko_0.6.8\doc\manual\de\rules.html"
  File "FreeDoko_0.6.8\doc\manual\de\shortrules.html"
  File "FreeDoko_0.6.8\doc\manual\de\credits.html"
  File "FreeDoko_0.6.8\doc\manual\de\toc.html"
  File "FreeDoko_0.6.8\doc\manual\de\todo.html"
  File "FreeDoko_0.6.8\doc\manual\de\faq.html"
  File "FreeDoko_0.6.8\doc\manual\de\introduction.html"
  File "FreeDoko_0.6.8\doc\manual\de\overview.html"
  File "FreeDoko_0.6.8\doc\manual\de\configuration.html"
  File "FreeDoko_0.6.8\doc\manual\de\shortrules.ps"
  SetOutPath "$INSTDIR\doc\manual\de\operation"
  File "FreeDoko_0.6.8\doc\manual\de\operation\settings.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\overview.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\index.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\bug_report.html"
  SetOutPath "$INSTDIR\doc\manual\de\operation\pictures"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\about.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\bug_report.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\cardset_license.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\changelog.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\generate_error.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\license.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\main_window.game.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\main_window.game.small.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\main_window.start.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\party_settings.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\player_config.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\reservation.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\reservation.solo.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\splash.png"
  SetOutPath "$INSTDIR\doc\manual\de\operation\pictures\alt"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\alt\about.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\alt\bug_report.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\alt\cardset_license.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\alt\changelog.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\alt\generate_error.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\alt\license.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\alt\main_window.game.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\alt\main_window.game.small.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\alt\main_window.start.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\alt\party_settings.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\alt\player_config.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\alt\reservation.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\alt\reservation.solo.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\alt\splash.png"
  SetOutPath "$INSTDIR\doc\manual\de\operation\pictures"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\last_trick.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\full_trick.png"
  File "FreeDoko_0.6.8\doc\manual\de\operation\pictures\party_points.png"
  SetOutPath "$INSTDIR\doc\manual\de\operation"
  File "FreeDoko_0.6.8\doc\manual\de\operation\interface.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\keys.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\problems.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\ai_config.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\rules_config.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\_template.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\start.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\party_settings.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\reservation.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\game_finished.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\game_review.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\toc.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\player_config.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\party_finished.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\menu.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\last_trick.html"
  File "FreeDoko_0.6.8\doc\manual\de\operation\party_points.html"
  SetOutPath "$INSTDIR\doc\manual\de"
  File "FreeDoko_0.6.8\doc\manual\de\files.html"
  File "FreeDoko_0.6.8\doc\manual\de\bugs.html"
  SetOutPath "$INSTDIR\doc\manual\pictures\flags"
  File "FreeDoko_0.6.8\doc\manual\pictures\flags\gb.gif"
  File "FreeDoko_0.6.8\doc\manual\pictures\flags\de.gif"
  SetOutPath "$INSTDIR\doc\manual\pictures"
  File "FreeDoko_0.6.8\doc\manual\pictures\FreeDoko.ico"
  File "FreeDoko_0.6.8\doc\manual\pictures\FreeDoko.icon.png"
  SetOutPath "$INSTDIR\doc\manual\en"
  File "FreeDoko_0.6.8\doc\manual\en\index.html"
  File "FreeDoko_0.6.8\doc\manual\en\credits.html"
  File "FreeDoko_0.6.8\doc\manual\en\shortrules.html"
  File "FreeDoko_0.6.8\doc\manual\en\toc.html"
  File "FreeDoko_0.6.8\doc\manual\en\toc.short.html"
  File "FreeDoko_0.6.8\doc\manual\en\overview.html"
  File "FreeDoko_0.6.8\doc\manual\en\rules.html"
  File "FreeDoko_0.6.8\doc\manual\en\faq.html"
  File "FreeDoko_0.6.8\doc\manual\en\configuration.html"
  SetOutPath "$INSTDIR\doc\manual\en\operation"
  File "FreeDoko_0.6.8\doc\manual\en\operation\overview.html"
  File "FreeDoko_0.6.8\doc\manual\en\operation\ai_config.html"
  SetOutPath "$INSTDIR\doc\manual\en"
  File "FreeDoko_0.6.8\doc\manual\en\introduction.html"
  SetOutPath "$INSTDIR\doc\manual"
  File "FreeDoko_0.6.8\doc\manual\index.html"
  File "FreeDoko_0.6.8\doc\manual\manual.css"
  SetOutPath "$INSTDIR\doc\Implementation"
  File "FreeDoko_0.6.8\doc\Implementation\Schweine.txt"
  File "FreeDoko_0.6.8\doc\Implementation\Zugriff.html"
  File "FreeDoko_0.6.8\doc\Implementation\HIG.txt"
  SetOutPath "$INSTDIR\doc"
  File "FreeDoko_0.6.8\doc\Bugs"
  File "FreeDoko_0.6.8\doc\ToDo"
  File "FreeDoko_0.6.8\doc\Roadmap"
  File "FreeDoko_0.6.8\doc\GPL"
  File "FreeDoko_0.6.8\doc\hpux.required_libs.txt"
  SetOutPath "$INSTDIR"
  File "FreeDoko_0.6.8\FreeDoko.ico"
  File "FreeDoko_0.6.8\FreeDoko.exe"
  File "FreeDoko_0.6.8\FreeDoko.bat"

; Shortcuts
  !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
  CreateDirectory "$SMPROGRAMS\$ICONS_GROUP"
  CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\FreeDoko.lnk" "$INSTDIR\FreeDoko.exe"
  CreateShortCut "$DESKTOP\FreeDoko.lnk" "$INSTDIR\FreeDoko.exe"
  !insertmacro MUI_STARTMENU_WRITE_END
SectionEnd

Section -AdditionalIcons
  !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
  WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
  CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
  CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" "$INSTDIR\uninst.exe"
  !insertmacro MUI_STARTMENU_WRITE_END
SectionEnd

Section -Post
  WriteUninstaller "$INSTDIR\uninst.exe"
  WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\FreeDoko.exe"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\FreeDoko.exe"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
SectionEnd


Function un.onUninstSuccess
  HideWindow
  MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) wurde erfolgreich deinstalliert."
FunctionEnd

Function un.onInit
!insertmacro MUI_UNGETLANGUAGE
  MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Möchten Sie $(^Name) und alle seinen Komponenten deinstallieren?" IDYES +2
  Abort
FunctionEnd

Section Uninstall
  !insertmacro MUI_STARTMENU_GETFOLDER "Application" $ICONS_GROUP
  Delete "$INSTDIR\${PRODUCT_NAME}.url"
  Delete "$INSTDIR\uninst.exe"
  Delete "$INSTDIR\FreeDoko.bat"
  Delete "$INSTDIR\FreeDoko.exe"
  Delete "$INSTDIR\FreeDoko.ico"
  Delete "$INSTDIR\doc\hpux.required_libs.txt"
  Delete "$INSTDIR\doc\GPL"
  Delete "$INSTDIR\doc\Roadmap"
  Delete "$INSTDIR\doc\ToDo"
  Delete "$INSTDIR\doc\Bugs"
  Delete "$INSTDIR\doc\Implementation\HIG.txt"
  Delete "$INSTDIR\doc\Implementation\Zugriff.html"
  Delete "$INSTDIR\doc\Implementation\Schweine.txt"
  Delete "$INSTDIR\doc\manual\manual.css"
  Delete "$INSTDIR\doc\manual\index.html"
  Delete "$INSTDIR\doc\manual\en\introduction.html"
  Delete "$INSTDIR\doc\manual\en\operation\ai_config.html"
  Delete "$INSTDIR\doc\manual\en\operation\overview.html"
  Delete "$INSTDIR\doc\manual\en\configuration.html"
  Delete "$INSTDIR\doc\manual\en\faq.html"
  Delete "$INSTDIR\doc\manual\en\rules.html"
  Delete "$INSTDIR\doc\manual\en\overview.html"
  Delete "$INSTDIR\doc\manual\en\toc.short.html"
  Delete "$INSTDIR\doc\manual\en\toc.html"
  Delete "$INSTDIR\doc\manual\en\shortrules.html"
  Delete "$INSTDIR\doc\manual\en\credits.html"
  Delete "$INSTDIR\doc\manual\en\index.html"
  Delete "$INSTDIR\doc\manual\pictures\FreeDoko.icon.png"
  Delete "$INSTDIR\doc\manual\pictures\FreeDoko.ico"
  Delete "$INSTDIR\doc\manual\pictures\flags\de.gif"
  Delete "$INSTDIR\doc\manual\pictures\flags\gb.gif"
  Delete "$INSTDIR\doc\manual\de\bugs.html"
  Delete "$INSTDIR\doc\manual\de\files.html"
  Delete "$INSTDIR\doc\manual\de\operation\party_points.html"
  Delete "$INSTDIR\doc\manual\de\operation\last_trick.html"
  Delete "$INSTDIR\doc\manual\de\operation\menu.html"
  Delete "$INSTDIR\doc\manual\de\operation\party_finished.html"
  Delete "$INSTDIR\doc\manual\de\operation\player_config.html"
  Delete "$INSTDIR\doc\manual\de\operation\toc.html"
  Delete "$INSTDIR\doc\manual\de\operation\game_review.html"
  Delete "$INSTDIR\doc\manual\de\operation\game_finished.html"
  Delete "$INSTDIR\doc\manual\de\operation\reservation.html"
  Delete "$INSTDIR\doc\manual\de\operation\party_settings.html"
  Delete "$INSTDIR\doc\manual\de\operation\start.html"
  Delete "$INSTDIR\doc\manual\de\operation\_template.html"
  Delete "$INSTDIR\doc\manual\de\operation\rules_config.html"
  Delete "$INSTDIR\doc\manual\de\operation\ai_config.html"
  Delete "$INSTDIR\doc\manual\de\operation\problems.html"
  Delete "$INSTDIR\doc\manual\de\operation\keys.html"
  Delete "$INSTDIR\doc\manual\de\operation\interface.html"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\party_points.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\full_trick.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\last_trick.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\alt\splash.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\alt\reservation.solo.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\alt\reservation.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\alt\player_config.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\alt\party_settings.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\alt\main_window.start.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\alt\main_window.game.small.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\alt\main_window.game.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\alt\license.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\alt\generate_error.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\alt\changelog.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\alt\cardset_license.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\alt\bug_report.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\alt\about.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\splash.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\reservation.solo.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\reservation.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\player_config.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\party_settings.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\main_window.start.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\main_window.game.small.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\main_window.game.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\license.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\generate_error.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\changelog.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\cardset_license.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\bug_report.png"
  Delete "$INSTDIR\doc\manual\de\operation\pictures\about.png"
  Delete "$INSTDIR\doc\manual\de\operation\bug_report.html"
  Delete "$INSTDIR\doc\manual\de\operation\index.html"
  Delete "$INSTDIR\doc\manual\de\operation\overview.html"
  Delete "$INSTDIR\doc\manual\de\operation\settings.html"
  Delete "$INSTDIR\doc\manual\de\shortrules.ps"
  Delete "$INSTDIR\doc\manual\de\configuration.html"
  Delete "$INSTDIR\doc\manual\de\overview.html"
  Delete "$INSTDIR\doc\manual\de\introduction.html"
  Delete "$INSTDIR\doc\manual\de\faq.html"
  Delete "$INSTDIR\doc\manual\de\todo.html"
  Delete "$INSTDIR\doc\manual\de\toc.html"
  Delete "$INSTDIR\doc\manual\de\credits.html"
  Delete "$INSTDIR\doc\manual\de\shortrules.html"
  Delete "$INSTDIR\doc\manual\de\rules.html"
  Delete "$INSTDIR\doc\manual\de\index.html"
  Delete "$INSTDIR\doc\de\DDV_Turnierregeln.pdf"
  Delete "$INSTDIR\doc\de\DDV_Kurzregeln.pdf"
  Delete "$INSTDIR\doc\de\LIESMICH.txt"
  Delete "$INSTDIR\doc\de\LIESMICH.html"
  Delete "$INSTDIR\doc\de\LIESMICH.gtkmm_2.4"
  Delete "$INSTDIR\doc\de\LIESMICH.Windows"
  Delete "$INSTDIR\doc\de\LIESMICH.SuSE"
  Delete "$INSTDIR\doc\de\GPL.de"
  Delete "$INSTDIR\doc\de\FAQ.pdf"
  Delete "$INSTDIR\doc\de\FAQ.txt"
  Delete "$INSTDIR\doc\de\Fehler.pdf"
  Delete "$INSTDIR\doc\de\Fehler.txt"
  Delete "$INSTDIR\doc\de\Planung.pdf"
  Delete "$INSTDIR\doc\de\Planung.txt"
  Delete "$INSTDIR\doc\de\Konfiguration.pdf"
  Delete "$INSTDIR\doc\de\Konfiguration.txt"
  Delete "$INSTDIR\doc\de\Dateien.pdf"
  Delete "$INSTDIR\doc\de\Dateien.txt"
  Delete "$INSTDIR\doc\de\Regeln.pdf"
  Delete "$INSTDIR\doc\de\Regeln.txt"
  Delete "$INSTDIR\doc\de\Kurzregeln.pdf"
  Delete "$INSTDIR\doc\de\Kurzregeln.txt"
  Delete "$INSTDIR\doc\de\Einfuehrung.pdf"
  Delete "$INSTDIR\doc\de\Einfuehrung.txt"
  Delete "$INSTDIR\doc\en\README.txt"
  Delete "$INSTDIR\doc\en\README.html"
  Delete "$INSTDIR\doc\en\README.Windows"
  Delete "$INSTDIR\doc\en\FAQ.pdf"
  Delete "$INSTDIR\doc\en\FAQ.txt"
  Delete "$INSTDIR\doc\en\configuration.pdf"
  Delete "$INSTDIR\doc\en\configuration.txt"
  Delete "$INSTDIR\doc\en\rules.pdf"
  Delete "$INSTDIR\doc\en\rules.txt"
  Delete "$INSTDIR\doc\en\shortrules.pdf"
  Delete "$INSTDIR\doc\en\shortrules.txt"
  Delete "$INSTDIR\doc\en\introduction.pdf"
  Delete "$INSTDIR\doc\en\introduction.txt"
  Delete "$INSTDIR\backgrounds\table.png"
  Delete "$INSTDIR\cardsets\Altenburg\License"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\no_30_reply.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\no_60_reply.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\no_90_reply.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\no_120_reply.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\no_0_reply.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\no_60.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\no_90.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\no_30.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\no_120.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\swines-hyperswines.diamond.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\swines-hyperswines.heart.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\swines-hyperswines.spade.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\swines-hyperswines.club.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\hyperswines.diamond.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\hyperswines.heart.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\hyperswines.spade.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\hyperswines.club.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\swines.diamond.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\swines.heart.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\swines.spade.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\swines.club.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\fox_highest_trump.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\six_kings.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\five_nines.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\poverty.0.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\poverty.1.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\poverty.2.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\poverty.3.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\poverty.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\genscher.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\marriage.heart.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\marriage.spade.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\marriage.club.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\marriage.color.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\marriage.trump.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\marriage.foreign.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\marriage.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\solo.meatless.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\solo.diamond.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\solo.heart.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\solo.spade.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\solo.club.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\solo.koehler.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\solo.king-queen.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\solo.king-jack.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\solo.queen-jack.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\solo.king.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\solo.queen.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\solo.jack.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\no_0.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\contra.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\icons\re.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\spade\ten.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\spade\queen.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\spade\nine.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\spade\king.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\spade\jack.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\spade\ace.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\heart\ten.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\heart\queen.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\heart\nine.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\heart\king.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\heart\jack.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\heart\ace.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\diamond\ten.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\diamond\queen.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\diamond\nine.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\diamond\king.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\diamond\jack.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\diamond\ace.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\club\ten.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\club\queen.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\club\nine.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\club\king.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\club\jack.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\cards\club\ace.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\backs\penguin.png"
  Delete "$INSTDIR\cardsets\Altenburg\french\backs\xaos.png"
  Delete "$INSTDIR\ai\profi.pro"
  Delete "$INSTDIR\ai\profi"
  Delete "$INSTDIR\ai\novice.pro"
  Delete "$INSTDIR\ai\novice"
  Delete "$INSTDIR\ai\normal.pro"
  Delete "$INSTDIR\ai\normal"
  Delete "$INSTDIR\ai\standard"
  Delete "$INSTDIR\rules\beginner"
  Delete "$INSTDIR\rules\standard"
  Delete "$INSTDIR\rules\tournament"
  Delete "$INSTDIR\translations\en\text.chat"
  Delete "$INSTDIR\translations\en\text.messages"
  Delete "$INSTDIR\translations\en\text.gtkmm.menu"
  Delete "$INSTDIR\translations\en\text.versions"
  Delete "$INSTDIR\translations\en\text.aiconfig"
  Delete "$INSTDIR\translations\en\text.bug_report"
  Delete "$INSTDIR\translations\en\text.help"
  Delete "$INSTDIR\translations\en\text.basistypes"
  Delete "$INSTDIR\translations\en\text.settings"
  Delete "$INSTDIR\translations\en\text.cards"
  Delete "$INSTDIR\translations\en\text.rules"
  Delete "$INSTDIR\translations\en\text.gui"
  Delete "$INSTDIR\translations\en\text"
  Delete "$INSTDIR\translations\de\text.chat"
  Delete "$INSTDIR\translations\de\text.gtkmm.menu"
  Delete "$INSTDIR\translations\de\text.versions"
  Delete "$INSTDIR\translations\de\text.messages"
  Delete "$INSTDIR\translations\de\text.aiconfig"
  Delete "$INSTDIR\translations\de\text.bug_report"
  Delete "$INSTDIR\translations\de\text.help"
  Delete "$INSTDIR\translations\de\text.basistypes"
  Delete "$INSTDIR\translations\de\text.settings"
  Delete "$INSTDIR\translations\de\text.cards"
  Delete "$INSTDIR\translations\de\text.rules"
  Delete "$INSTDIR\translations\de\text.gui"
  Delete "$INSTDIR\translations\de\text"
  Delete "$INSTDIR\Version"
  Delete "$INSTDIR\LIESMICH"
  Delete "$INSTDIR\README"
  Delete "$INSTDIR\ChangeLog"
  Delete "$INSTDIR\COPYING"
  Delete "$INSTDIR\AUTHORS"

  Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk"
  Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk"
  Delete "$DESKTOP\FreeDoko.lnk"
  Delete "$SMPROGRAMS\$ICONS_GROUP\FreeDoko.lnk"

  RMDir "$SMPROGRAMS\$ICONS_GROUP"
  RMDir "$INSTDIR\translations\en"
  RMDir "$INSTDIR\translations\de"
  RMDir "$INSTDIR\rules"
  RMDir "$INSTDIR\doc\manual\pictures\flags"
  RMDir "$INSTDIR\doc\manual\pictures"
  RMDir "$INSTDIR\doc\manual\en\operation"
  RMDir "$INSTDIR\doc\manual\en"
  RMDir "$INSTDIR\doc\manual\de\operation\pictures\alt"
  RMDir "$INSTDIR\doc\manual\de\operation\pictures"
  RMDir "$INSTDIR\doc\manual\de\operation"
  RMDir "$INSTDIR\doc\manual\de"
  RMDir "$INSTDIR\doc\manual"
  RMDir "$INSTDIR\doc\Implementation"
  RMDir "$INSTDIR\doc\en"
  RMDir "$INSTDIR\doc\de"
  RMDir "$INSTDIR\doc"
  RMDir "$INSTDIR\cardsets\Altenburg\french\icons"
  RMDir "$INSTDIR\cardsets\Altenburg\french\cards\spade"
  RMDir "$INSTDIR\cardsets\Altenburg\french\cards\heart"
  RMDir "$INSTDIR\cardsets\Altenburg\french\cards\diamond"
  RMDir "$INSTDIR\cardsets\Altenburg\french\cards\club"
  RMDir "$INSTDIR\cardsets\Altenburg\french\backs"
  RMDir "$INSTDIR\cardsets\Altenburg"
  RMDir "$INSTDIR\backgrounds"
  RMDir "$INSTDIR\ai"
  RMDir "$INSTDIR"

  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
  DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
  SetAutoClose true
SectionEnd
