From dda35d2afd349b488ca1f12ad8d4fb5089e4fb39 Mon Sep 17 00:00:00 2001 From: Eugene Chornyi Date: Thu, 18 Jun 2020 14:35:13 +0200 Subject: [PATCH] Wininstaller, use correct default icon for LyX documents --- development/Win32/packaging/installer2/src/main.nsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/Win32/packaging/installer2/src/main.nsh b/development/Win32/packaging/installer2/src/main.nsh index 410f5c1617..f08dca6763 100644 --- a/development/Win32/packaging/installer2/src/main.nsh +++ b/development/Win32/packaging/installer2/src/main.nsh @@ -880,7 +880,7 @@ Section "$(SecFileAssocTitle)" SecFileAssoc # Registry information to assiciate WriteRegStr SHCTX "Software\Classes\.lyx" "Content Type" "application/lyx" WriteRegStr SHCTX "Software\Classes\LyX.Document" "" "LyX Document" - WriteRegStr SHCTX "Software\Classes\LyX.Document\DefaultIcon" "" "$INSTDIR\bin\LyX.exe,0" + WriteRegStr SHCTX "Software\Classes\LyX.Document\DefaultIcon" "" "$INSTDIR\bin\LyX.exe,1" WriteRegStr SHCTX "Software\Classes\LyX.Document\Shell\open\command" "" '"$INSTDIR\bin\LyX.exe" "%1"' # we need to update also the automatically created entry about the lyx.exe