]> git.lyx.org Git - features.git/commitdiff
installer: display the uninstaller in the Windows system language
authorUwe Stöhr <uwestoehr@web.de>
Sun, 10 May 2009 22:32:08 +0000 (22:32 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sun, 10 May 2009 22:32:08 +0000 (22:32 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29617 a592a061-630c-0410-9148-cb99ea01b6c8

development/Win32/packaging/AltInstaller/Uninstall.nsh

index d0a8330bd0d38fdc05586a0ccb9a65a0913fa942..3bccc2b9cfc3ddcb13c92c47aee2f8555b982c92 100644 (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"