Use terminology that conforms better with the MSDN documentation and a

style that conforms better with the rest of the NSIS output.

svn path=/trunk/; revision=43237
This commit is contained in:
Gerald Combs 2012-06-13 20:11:41 +00:00
parent a9cb4061d4
commit c548b1097f
2 changed files with 3 additions and 2 deletions

View File

@ -62,7 +62,7 @@ Function un.Disassociate
un.Disassociate.doDeregister:
; The extension is associated with Wireshark so, we must destroy this!
DeleteRegKey HKCR $EXTENSION
DetailPrint "Deregistered extension $EXTENSION"
DetailPrint "Deregistered file type: $EXTENSION"
un.Disassociate.end:
Pop $EXTENSION
${Loop}

View File

@ -171,6 +171,7 @@ ShowInstDetails show
; ============================================================================
Var EXTENSION
; http://msdn.microsoft.com/en-us/library/windows/desktop/cc144148.aspx
Function Associate
Push $R0
!insertmacro PushFileExtensions
@ -185,7 +186,7 @@ Function Associate
Associate.doRegister:
;The extension is not associated to any program, we can do the link
WriteRegStr HKCR $EXTENSION "" ${WIRESHARK_ASSOC}
DetailPrint "Registered extension $EXTENSION"
DetailPrint "Registered file type: $EXTENSION"
Associate.end:
Pop $EXTENSION