diff options
author | bitraid <bitraid@protonmail.ch> | 2018-10-30 14:14:57 +0200 |
---|---|---|
committer | bitraid <bitraid@protonmail.ch> | 2018-10-30 14:14:57 +0200 |
commit | 4e6c3b886678e5589b22335b107ff7ddce18410a (patch) | |
tree | 1ff5306fa4c9e6a037499d65a6adacd00ecc6faa /misc/nsis/install.nsh | |
parent | c87e3b7f7337fb58c78f2dfe30c7bb0b6e4657b5 (diff) | |
download | qutebrowser-4e6c3b886678e5589b22335b107ff7ddce18410a.tar.gz qutebrowser-4e6c3b886678e5589b22335b107ff7ddce18410a.zip |
NSIS: Use cmd.exe by uninstaller to delete itself
Use cmd.exe when uninstaller is called with _? because the installer
will fail to remove it when elevation is required but is running as
standard user.
Diffstat (limited to 'misc/nsis/install.nsh')
-rwxr-xr-x | misc/nsis/install.nsh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/nsis/install.nsh b/misc/nsis/install.nsh index b38f38ed5..49ada2069 100755 --- a/misc/nsis/install.nsh +++ b/misc/nsis/install.nsh @@ -241,6 +241,7 @@ Section "Core Files (required)" SectionCoreFiles ${Switch} $0 ${Case} 0 ; uninstaller completed successfully - continue with installation BringToFront + Sleep 1000 ; wait for cmd.exe (called by the uninstaller) to finish ${Break} ${Case} 1 ; Installation aborted by user (cancel button) ${Case} 2 ; Installation aborted by script |