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
This commit is contained in:
Uwe Stöhr 2009-05-10 22:32:08 +00:00
parent 8dfd79d12f
commit 1afc726716

View File

@ -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"