Bug 842228 - Set shell to open in AddDisabledDDEHandlerValues. r=bbondy
authorHector Zhao <bzhao@mozilla.com>
Mon, 18 Feb 2013 15:53:06 +0800
changeset 132185 8551e3fd968150bc57a29b2c720edac2bf754bdb
parent 132184 00623df83261f40003c0ea738e6cbe2115cef55a
child 132186 b35634fa6a4abe215c5b4a649a12b0dda6674264
push id2323
push userbbajaj@mozilla.com
push dateMon, 01 Apr 2013 19:47:02 +0000
treeherdermozilla-beta@7712be144d91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbbondy
bugs842228
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 842228 - Set shell to open in AddDisabledDDEHandlerValues. r=bbondy
toolkit/mozapps/installer/windows/nsis/common.nsh
--- a/toolkit/mozapps/installer/windows/nsis/common.nsh
+++ b/toolkit/mozapps/installer/windows/nsis/common.nsh
@@ -1500,16 +1500,17 @@
       StrCmp $R4 "" +1 +3  ; Only add EditFlags if a value doesn't exist
       DeleteRegValue SHCTX "$R3\$R5" "EditFlags"
       WriteRegDWord SHCTX "$R3\$R5" "EditFlags" 0x00000002
 
       StrCmp "$R7" "" +2 +1
       WriteRegStr SHCTX "$R3\$R5\DefaultIcon" "" "$R7"
 
       ; Main command handler for the app
+      WriteRegStr SHCTX "$R3\$R5\shell" "" "open"
       WriteRegStr SHCTX "$R3\$R5\shell\open\command" "" "$R6"
 
       ; Drop support for DDE (bug 491947), and remove old dde entries if
       ; they exist.
       ;
       ; Note, changes in SHCTX should propegate to hkey classes root when
       ; current user or local machine entries are written. Windows will also
       ; attempt to propegate entries when a handler is used. CR entries are a