diff options
author | assarbad <none@none> | 2005-12-11 07:08:42 +0300 |
---|---|---|
committer | assarbad <none@none> | 2005-12-11 07:08:42 +0300 |
commit | 86068581b133bbfcac026543463003c6aaf85d79 (patch) | |
tree | 6e3d8becb9dc11dcee2bf76cfda82553c4a19cb3 /setup/WDS.nsi | |
parent | 8e85c40740ccaa6355eeadb460dd1863263a1324 (diff) |
Little fix to let the installer set the GUI language of WDS before the first start!
Diffstat (limited to 'setup/WDS.nsi')
-rw-r--r-- | setup/WDS.nsi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/setup/WDS.nsi b/setup/WDS.nsi index c458b4f..793666b 100644 --- a/setup/WDS.nsi +++ b/setup/WDS.nsi @@ -27,7 +27,8 @@ ; Default installation folder InstallDir "$PROGRAMFILES\WinDirStat" ; Get installation folder from registry if available - InstallDirRegKey HKCU "Software\Seifert\WinDirStat" "InstDir" + !define APPKEY "Software\Seifert\WinDirStat" + InstallDirRegKey HKCU "${APPKEY}" "InstDir" ;-------------------------------- ; Global variables @@ -370,6 +371,7 @@ Function un.CreateUninstallEntry ; Delete the uninstaller Delete "$INSTDIR\Uninstall.exe" DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\WinDirStat" + DeleteRegKey HKCU "${APPKEY}" FunctionEnd ; ----------------------------------------------------------------------------- !endif ; WDSMAIN_NSI |