installer: delete any old installation

This commit is contained in:
Dag Heyman 2017-03-13 12:16:45 +01:00
parent 33c6727ab3
commit 020b73dd6e
No known key found for this signature in database
GPG Key ID: 06FC004369E7D338

View File

@ -95,6 +95,10 @@ FunctionEnd
Var MYTMP
Section "Yubico Authenticator"
SectionIn RO
; Delete any old installation
RMDir /r $INSTDIR
SetOutPath $INSTDIR
FILE /r "..\..\release\*"