Wininstaller, use correct default icon for LyX documents

This commit is contained in:
Eugene Chornyi 2020-06-18 14:35:13 +02:00
parent e501f2c473
commit dda35d2afd

View File

@ -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" "Content Type" "application/lyx"
WriteRegStr SHCTX "Software\Classes\LyX.Document" "" "LyX Document" 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"' 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 # we need to update also the automatically created entry about the lyx.exe