File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44; You must define these values
55
66 !define APP_NAME " MAP-Client"
7- !define APP_VERSION " 0.14 .0"
7+ !define APP_VERSION " 0.25 .0"
88 !define APP_ORGANISATION " MAP"
99 !define VERSION " 1.0.0"
1010 !define PATCH " 1"
@@ -742,7 +742,7 @@ Section "-Core installation"
742742
743743 ; Optional registration
744744 Push " DisplayIcon"
745- Push " $INSTDIR\"
745+ Push " $INSTDIR\${APP_NAME},0 "
746746 Call ConditionalAddToRegisty
747747 Push " HelpLink"
748748 Push " "
Original file line number Diff line number Diff line change @@ -119,7 +119,8 @@ Section
119119
120120 ; Write uninstall information to registry.
121121 !insertmacro WriteUninstallInfo "DisplayName" "${APP_NAME} ${APP_VERSION}"
122- !insertmacro WriteUninstallInfo "DisplayVersion" "${INSTALLER_VERSION}"
122+ !insertmacro WriteUninstallInfo "DisplayIcon" "$INSTDIR\${APP_NAME}.exe,0"
123+ !insertmacro WriteUninstallInfo "DisplayVersion" "${APP_VERSION}"
123124 !insertmacro WriteUninstallInfo "Publisher" "${APP_ORGANISATION}"
124125 !insertmacro WriteUninstallInfo "UninstallString" "$INSTDIR\Uninstall.exe"
125126 !insertmacro WriteUninstallInfo "NoRepair" "1"
You can’t perform that action at this time.
0 commit comments