From: Uwe Stöhr Date: Sun, 10 May 2009 22:32:08 +0000 (+0000) Subject: installer: display the uninstaller in the Windows system language X-Git-Tag: 2.0.0~6617 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1afc726716dd8b8413b9818ab25358f5b86916f5;p=features.git installer: display the uninstaller in the Windows system language git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29617 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/Win32/packaging/AltInstaller/Uninstall.nsh b/development/Win32/packaging/AltInstaller/Uninstall.nsh index d0a8330bd0..3bccc2b9cf 100644 --- a/development/Win32/packaging/AltInstaller/Uninstall.nsh +++ b/development/Win32/packaging/AltInstaller/Uninstall.nsh @@ -3,6 +3,9 @@ # this function is called at first after starting the uninstaller Function un.onInit + # set the uninstaller language to the Windows locale language + System::Call "kernel32::GetUserDefaultLangID()i.a" + # Check that LyX is not currently running FindProcDLL::FindProc "lyx.exe" ${if} $R0 == "1"