Skip to content

Commit

Permalink
Fix typo in path of Windows registry key
Browse files Browse the repository at this point in the history
All typos were found and fixed using codespell.

The registry change introduces an incompatibility with older versions.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Jan 20, 2016
1 parent 2f62595 commit 893aee9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions project/libCEC.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Var EventGhostLocation
!insertmacro MUI_PAGE_DIRECTORY

!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKLM"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\Pulse-Eight\USB-CEC Adapter sofware"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\Pulse-Eight\USB-CEC Adapter software"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder"
!insertmacro MUI_PAGE_STARTMENU Application $StartMenuFolder

Expand Down Expand Up @@ -64,7 +64,7 @@ Section "USB-CEC Driver" SecDriver
${EndIf}

; Delete libcec.dll and libcec.x64.dll from the system directory
; Let a seperate installer do this, when we need it
; Let a separate installer do this, when we need it
Delete "$SYSDIR\libcec.dll"
${If} ${RunningX64}
Delete "$SYSDIR\libcec.x64.dll"
Expand Down Expand Up @@ -103,23 +103,23 @@ Section "USB-CEC Driver" SecDriver
!insertmacro MUI_STARTMENU_WRITE_END

;add entry to add/remove programs
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter sofware" \
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter software" \
"DisplayName" "Pulse-Eight USB-CEC Adapter software"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter sofware" \
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter software" \
"UninstallString" "$INSTDIR\uninstall.exe"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter sofware" \
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter software" \
"NoModify" 1
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter sofware" \
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter software" \
"NoRepair" 1
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter sofware" \
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter software" \
"InstallLocation" "$INSTDIR"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter sofware" \
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter software" \
"DisplayIcon" "$INSTDIR\cec-client.exe,0"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter sofware" \
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter software" \
"Publisher" "Pulse-Eight Limited"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter sofware" \
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter software" \
"HelpLink" "http://www.pulse-eight.com/"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter sofware" \
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter software" \
"URLInfoAbout" "http://www.pulse-eight.com"

;install driver
Expand Down Expand Up @@ -392,7 +392,7 @@ Section "Uninstall"
Delete "$SMPROGRAMS\$StartMenuFolder\Visit Pulse-Eight.url"
RMDir "$SMPROGRAMS\$StartMenuFolder"

DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter sofware"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter software"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pulse-Eight USB-CEC Adapter driver"
DeleteRegKey /ifempty HKLM "Software\Pulse-Eight\USB-CEC Adapter software"
DeleteRegKey /ifempty HKLM "Software\Pulse-Eight"
Expand Down

0 comments on commit 893aee9

Please sign in to comment.