Maven 1.x NSIS Plugin
  1. Maven 1.x NSIS Plugin
  2. MPNSIS-12

NSIS plugin does not support silent uninstall.

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Labels:
      None
    • Number of attachments :
      0

      Description

      NSIS does support silent uninstall by adding a /S argument when calling the uninstaller. The uninstall script generated from the nsis-plugin however displays a dialog box ("xyz has been uninstalled") regardless of the presence of the /S flag.

      This prevents project automation (as it requires someone who clicks OK to close the dialog). Actually we found this while scripting a simple install-run-uninstall-test.

      The easiest way to fix this would be the removal of the messageBox call. Showing the messageBox conditionally should be possible too.

        Activity

        Hide
        Arnaud Heritier added a comment -

        Fixed. I removed this dialog box. It's not really useful.

        Show
        Arnaud Heritier added a comment - Fixed. I removed this dialog box. It's not really useful.

          People

          • Assignee:
            Arnaud Heritier
            Reporter:
            Matthias Kerkhoff
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: