Skip to content

Commit

Permalink
[winInstaller] Fix unclean uninstall of NSIS-packaged application
Browse files Browse the repository at this point in the history
The name of the link to job control executable was modified to avoid
overwriting the link from an application with an older API version, but
the Uninstall section of the NSIS script was not updated accordingly,
causing the start menu link and the registry key being left behind on
uninstall.
  • Loading branch information
eumagga0x2a committed Dec 24, 2021
1 parent a95f7c3 commit b14532c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avidemux/winInstaller/avidemux_crossQt5Tail.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Section Uninstall
Delete /REBOOTOK "$QUICKLAUNCH\${SHORTCUT_NAME}.lnk"
Delete /REBOOTOK "$DESKTOP\${SHORTCUT_NAME}.lnk"
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\${SHORTCUT_NAME}.lnk"
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\Avidemux job control (${BUILD_BITS} Bits).lnk"
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\Avidemux job control ${CORE_VERSION} (${BUILD_BITS} Bits).lnk"
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\Change Log ${CORE_VERSION}.lnk"
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\AVS Proxy GUI ${CORE_VERSION}.lnk"
RmDir /REBOOTOK $SMPROGRAMS\$StartMenuGroup
Expand Down

0 comments on commit b14532c

Please sign in to comment.