Home GnuPG

Add update handling to installer and uninstaller

Description

Add update handling to installer and uninstaller

* src/gpg4win.nsi (is_update): New var.
* src/inst-gpg4win.nsi (SEC_gpg4win): Call uninstaller with is_update.
* src/inst-sections.nsi (SEC_gpa, SEC_kleopatra): Handle desktop links
depending on update.
* src/installer-finish.nsi: Don't delete desktop links on update.
* src/installer.nsi: Parse is update variable from cmd line.

For now this only adds proper Desktop shortcut handling. If
a user has explicitly deleted a desktop shortcut of Kleopatra
or GPA it does not add another one on update.
But in the future we could probably do more things differently
on update.

Details

Provenance
aheineckeAuthored on Jan 10 2018, 2:29 PM
Parents
rWc1ad59315f55: Add more aliases for README in other langs
Branches
Unknown
Tags
Unknown
Tasks
T3729: Gpg4win: Installer recreates desktop shortcuts on update