URL: 
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ac2883f5e8e0a461ba06733294738358eb527b8c
Submitter: "Graham Bloice <graham.blo...@trihedral.com>"
Changed: branch: master
Repository: wireshark

Commits:

ac2883f by Graham Bloice (graham.blo...@trihedral.com):

    NSIS uninstaller: ensure the uninstaller runs with elevated privileges
    
    The uninstaller should run with elevated privileges to allow deletion
    of files from protected directories.
    
    Modifying the uninstall script to require elevation then causes the
    uninstaller_installer that creates the uninstaller to also require
    elevation which happens at build time so defeat that
    by setting the env var __COMPAT_LAYER to "RunAsInvoker" before calling
    the uninstaller_installer.
    
    Achieving this from CMake requires a script to call to set the env var
    and then calling the executable.
    
    Change-Id: I056931bc4f9b41877b8f31d765d49fee11b54e39
    Reviewed-on: https://code.wireshark.org/review/37955
    Petri-Dish: Graham Bloice <graham.blo...@trihedral.com>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Graham Bloice <graham.blo...@trihedral.com>
    

Actions performed:

    from  4bea0e7   USB Audio: Dissect v2 Feature unit descriptor
     add  ac2883f   NSIS uninstaller: ensure the uninstaller runs with elevated 
privileges


Summary of changes:
 packaging/nsis/CMakeLists.txt    |  2 +-
 packaging/nsis/makeUninstall.ps1 | 47 ++++++++++++++++++++++++++++++++++++++++
 packaging/nsis/uninstall.nsi     |  1 -
 3 files changed, 48 insertions(+), 2 deletions(-)
 create mode 100644 packaging/nsis/makeUninstall.ps1
___________________________________________________________________________
Sent via:    Wireshark-commits mailing list <wireshark-commits@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits
             mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe

Reply via email to