IzPack
  1. IzPack
  2. IZPACK-190

Run an installer with privileged permissions

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: Installer
    • Labels:
      None
    • Number of attachments :
      0

      Description

      In some cases, an installation has to be performed with administrative permissions.

      There is currently no mechanism to ask the JVM to run with such elevated / privileged permissions. This forces end-users to explicitly take care of running their installers with the right user account.

      The intent of this new feature is to (optionally) allow an installer to relaunch itself with elevated permissions. This requires some platform-specific techniques.

      The initial prototyping is available from Git: http://github.com/jponge/izpack/tree/exec-admin

      In the absence of objections I will merge those changes back to our IzPack Subversion repository for inclusion in 4.2.

        Activity

        Hide
        Julien Ponge added a comment -

        The feature has been merged back from Git to SVN.

        Show
        Julien Ponge added a comment - The feature has been merged back from Git to SVN.
        Julien Ponge made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Julien Ponge added a comment -

        On XP/Vista, spaces in paths make the elevation fail.

        Also, the uninstaller should be modified to also get an elevation.

        Show
        Julien Ponge added a comment - On XP/Vista, spaces in paths make the elevation fail. Also, the uninstaller should be modified to also get an elevation.
        Julien Ponge made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Julien Ponge made changes -
        Status Reopened [ 4 ] In Progress [ 3 ]
        Hide
        Julien Ponge added a comment -

        The uninstaller now works.

        Show
        Julien Ponge added a comment - The uninstaller now works.
        Julien Ponge made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Julien Ponge made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Julien Ponge
            Reporter:
            Julien Ponge
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: