Skip to content

Commit

Permalink
Write install dir to the registry in Windows installer (#7676)
Browse files Browse the repository at this point in the history
  • Loading branch information
qstokkink committed Nov 9, 2023
1 parent 40e0cb0 commit 61cccaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/win/resources/tribler.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ Section "!Main EXE" SecMain
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" "NoRepair" 1
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" "UninstallString" "$INSTDIR\Uninstall.exe"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" "InstallLocation" "$INSTDIR"
WriteRegStr HKCU "Software\Tribler" "" "$INSTDIR"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" "DisplayVersion" '${VERSION}'
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" "DisplayIcon" "$INSTDIR\${PRODUCT}.exe,0"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" "Publisher" "The Tribler Team"
Expand Down

0 comments on commit 61cccaf

Please sign in to comment.