diff options
author | bitraid <bitraid@protonmail.ch> | 2018-10-06 12:07:13 +0300 |
---|---|---|
committer | bitraid <bitraid@protonmail.ch> | 2018-10-06 12:07:13 +0300 |
commit | d7abdcfd3b5121070677f38bf4c337420c1b05e8 (patch) | |
tree | 068c77b9f645f463052421d5d604ba9a59ec3697 /misc/nsis | |
parent | 9a75a6c1a7e932b3c081b3c3bd92b2b0f6498d5a (diff) | |
download | qutebrowser-d7abdcfd3b5121070677f38bf4c337420c1b05e8.tar.gz qutebrowser-d7abdcfd3b5121070677f38bf4c337420c1b05e8.zip |
NSIS: delete reg when upgrating but changing context
Diffstat (limited to 'misc/nsis')
-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 7c2b48efa..8e1cbbbcf 100755 --- a/misc/nsis/install.nsh +++ b/misc/nsis/install.nsh @@ -163,6 +163,7 @@ Section "Core Files (required)" SectionCoreFiles ${if} $HasCurrentModeInstallation = 1 StrCpy $0 "$MultiUser.InstallMode" ${else} + StrCpy $KeepReg 0 !if ${MULTIUSER_INSTALLMODE_ALLOW_BOTH_INSTALLATIONS} = 0 ${if} $HasPerMachineInstallation = 1 ; if there's no per-user installation, but there's per-machine installation, uninstall it |