mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-25 01:19:20 -04:00
Added icon, publisher and version to Windows uninstall information.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7817 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
abc33296a7
commit
1fa3f1febd
@ -49,6 +49,7 @@
|
|||||||
# Application name and version
|
# Application name and version
|
||||||
!define APPNAME "RetroShare"
|
!define APPNAME "RetroShare"
|
||||||
!define APPNAMEANDVERSION "${APPNAME} ${VERSION}"
|
!define APPNAMEANDVERSION "${APPNAME} ${VERSION}"
|
||||||
|
!define PUBLISHER "RetroShare Team"
|
||||||
|
|
||||||
# Install path
|
# Install path
|
||||||
!define INSTDIR_NORMAL "$ProgramFiles\${APPNAME}"
|
!define INSTDIR_NORMAL "$ProgramFiles\${APPNAME}"
|
||||||
@ -283,6 +284,11 @@ Section -FinishSection
|
|||||||
WriteRegStr HKLM "Software\${APPNAME}" "" "$INSTDIR"
|
WriteRegStr HKLM "Software\${APPNAME}" "" "$INSTDIR"
|
||||||
WriteRegStr HKLM "Software\${APPNAME}" "Version" "${VERSION}"
|
WriteRegStr HKLM "Software\${APPNAME}" "Version" "${VERSION}"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayName" "${APPNAME}"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayName" "${APPNAME}"
|
||||||
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayVersion" "${VERSION}"
|
||||||
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayIcon" "$INSTDIR\RetroShare.exe"
|
||||||
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "Publisher" "${PUBLISHER}"
|
||||||
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "NoModify" "1"
|
||||||
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "NoRepair" "1"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "UninstallString" "$INSTDIR\uninstall.exe"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "UninstallString" "$INSTDIR\uninstall.exe"
|
||||||
WriteUninstaller "$INSTDIR\uninstall.exe"
|
WriteUninstaller "$INSTDIR\uninstall.exe"
|
||||||
${Else}
|
${Else}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user