Fix wrong name in add/remove programs

This commit is contained in:
Dag Heyman 2017-03-24 14:16:06 +01:00
parent e4e04a2de6
commit 2dbebef8c4
No known key found for this signature in database
GPG Key ID: 06FC004369E7D338

View File

@ -10,7 +10,7 @@
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder" !define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder"
!define MUI_ABORTWARNING !define MUI_ABORTWARNING
;Checkbox on finish page, "Run YubiKey Manager" ;Checkbox on finish page, "Run Yubico Authenticator"
!define MUI_FINISHPAGE_RUN "$INSTDIR\yubioath-desktop.exe" !define MUI_FINISHPAGE_RUN "$INSTDIR\yubioath-desktop.exe"
Var STARTMENU_FOLDER Var STARTMENU_FOLDER
@ -107,7 +107,7 @@ Section "Yubico Authenticator"
; Windows Add/Remove Programs support ; Windows Add/Remove Programs support
StrCpy $MYTMP "Software\Microsoft\Windows\CurrentVersion\Uninstall\yubioath-desktop" StrCpy $MYTMP "Software\Microsoft\Windows\CurrentVersion\Uninstall\yubioath-desktop"
WriteRegStr HKLM $MYTMP "DisplayName" "YubiKey Manager" WriteRegStr HKLM $MYTMP "DisplayName" "Yubico Authenticator"
WriteRegExpandStr HKLM $MYTMP "UninstallString" '"$INSTDIR\yubioath-desktop-uninstall.exe"' WriteRegExpandStr HKLM $MYTMP "UninstallString" '"$INSTDIR\yubioath-desktop-uninstall.exe"'
WriteRegExpandStr HKLM $MYTMP "InstallLocation" "$INSTDIR" WriteRegExpandStr HKLM $MYTMP "InstallLocation" "$INSTDIR"
WriteRegStr HKLM $MYTMP "DisplayVersion" "${VERSION}" WriteRegStr HKLM $MYTMP "DisplayVersion" "${VERSION}"