win installer: updated registry commands for "Edit with.."

IDEA-217164 Installing IntelliJIdea and Android Studio Missing Reg Entries

GitOrigin-RevId: 37ecda2f1d5ab03fed7e8fe5389e6b9583f09960
This commit is contained in:
Vladimir.Orlov
2019-07-11 17:42:27 +03:00
committed by intellij-monorepo-bot
parent 1d5bcdfb91
commit 82dc1b49ac
+14 -13
View File
@@ -1051,19 +1051,7 @@ FunctionEnd
Function UpdateContextMenu
${LogText} ""
${LogText} "Update Context Menu"
StrCpy $0 "SHCTX"
StrCpy $1 "Software\Classes\*\shell\Open with ${MUI_PRODUCT}"
StrCpy $2 "Icon"
StrCpy $3 "$productLauncher"
call OMWriteRegStr
StrCpy $0 "SHCTX"
StrCpy $1 "Software\Classes\*\shell\Open with ${MUI_PRODUCT}\command"
StrCpy $2 ""
StrCpy $3 '"$productLauncher" "%1"'
call OMWriteRegStr
${LogText} "Update Context Menu - Open with PRODUCT action for folders"
; add "Open with PRODUCT" action for folders to Windows context menu
StrCpy $0 "SHCTX"
@@ -1154,7 +1142,20 @@ command_exists:
Call OMWriteRegStr
; add "Edit with PRODUCT" action for files to Windows context menu
${LogText} ""
${LogText} "Update Context Menu - Edit with PRODUCT"
StrCpy $0 "SHCTX"
StrCpy $1 "Software\Classes\*\shell\Open with ${MUI_PRODUCT}"
StrCpy $2 "Icon"
StrCpy $3 "$productLauncher"
call OMWriteRegStr
StrCpy $1 "Software\Classes\*\shell\Open with ${MUI_PRODUCT}\command"
StrCpy $2 ""
StrCpy $3 '"$productLauncher" "%1"'
call OMWriteRegStr
StrCpy $1 "Software\Classes\*\shell\Open with ${MUI_PRODUCT}"
StrCpy $2 ""
StrCpy $3 "Edit with ${MUI_PRODUCT}"