Skip to content

Commit 0fbe958

Browse files
committed
Append 'UpgradeCode' value to the registry context menu entries to avoid conflicts with the derivative installers.
1 parent 6c3133f commit 0fbe958

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

installer/ContextMenu.wxs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the 'LICENSE.txt' file for the additional details.
1414
Guid="*"
1515
Win64="$(var.Win64)">
1616
<RegistryKey Root="HKCR"
17-
Key="*\shell\openwemacs">
17+
Key="*\shell\OpenWithEmacs_$(var.UpgradeCode)">
1818
<RegistryValue Type="string"
1919
Value="Open with &amp;Emacs Client"
2020
KeyPath="yes"/>
@@ -28,7 +28,7 @@ See the 'LICENSE.txt' file for the additional details.
2828
Guid="*"
2929
Win64="$(var.Win64)">
3030
<RegistryKey Root="HKCR"
31-
Key="*\shell\openwemacsnewframe">
31+
Key="*\shell\OpenWithEmacsNewFrame_$(var.UpgradeCode)">
3232
<RegistryValue Type="string"
3333
Value="Open with Emacs Client (new &amp;frame)"
3434
KeyPath="yes"/>

0 commit comments

Comments
 (0)