Workaround to make installer work on Win2k. The "LockedList" Plug-in goes crazy on Win2k. On WinXP and Win7 all is fine, so we only use LockedList on WinXP+.
This commit is contained in:
parent
8e38c1d3e2
commit
6bd2859dfd
@ -481,17 +481,21 @@ FunctionEnd
|
||||
|
||||
Function LockedListShow
|
||||
!insertmacro MUI_HEADER_TEXT "$(LAMEXP_LANG_LOCKEDLIST_HEADER)" "$(LAMEXP_LANG_LOCKEDLIST_TEXT)"
|
||||
${If} ${AtLeastWinXP}
|
||||
LockedList::AddModule "\LameXP.exe"
|
||||
LockedList::AddModule "\Uninstall.exe"
|
||||
LockedList::AddModule "\Au_.exe"
|
||||
${EndIf}
|
||||
LockedList::Dialog /heading "$(LAMEXP_LANG_LOCKEDLIST_HEADING)" /noprograms "$(LAMEXP_LANG_LOCKEDLIST_NOPROG)" /searching "$(LAMEXP_LANG_LOCKEDLIST_SEARCH)" /colheadings "$(LAMEXP_LANG_LOCKEDLIST_COLHDR1)" "$(LAMEXP_LANG_LOCKEDLIST_COLHDR2)"
|
||||
Pop $R0
|
||||
FunctionEnd
|
||||
|
||||
Function un.LockedListShow
|
||||
!insertmacro MUI_HEADER_TEXT "$(LAMEXP_LANG_LOCKEDLIST_HEADER)" "$(LAMEXP_LANG_LOCKEDLIST_TEXT)"
|
||||
${If} ${AtLeastWinXP}
|
||||
LockedList::AddModule "\LameXP.exe"
|
||||
LockedList::AddModule "\Uninstall.exe"
|
||||
${EndIf}
|
||||
LockedList::Dialog /heading "$(LAMEXP_LANG_LOCKEDLIST_HEADING)" /noprograms "$(LAMEXP_LANG_LOCKEDLIST_NOPROG)" /searching "$(LAMEXP_LANG_LOCKEDLIST_SEARCH)" /colheadings "$(LAMEXP_LANG_LOCKEDLIST_COLHDR1)" "$(LAMEXP_LANG_LOCKEDLIST_COLHDR2)"
|
||||
Pop $R0
|
||||
FunctionEnd
|
||||
|
Loading…
Reference in New Issue
Block a user