Skip to content

Commit

Permalink
Fix issue with legacy install check
Browse files Browse the repository at this point in the history
The ElseIf was causing the code to skip the removal of the version installed in the HKCU Microsoft\AddIns folder. Fixes #204
  • Loading branch information
joyfullservice committed Mar 17, 2021
1 parent a7fa8f8 commit 8246762
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Version Control.accda.src/modules/modInstall.bas
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,10 @@ Public Sub CheckForLegacyInstall()
RelaunchAsAdmin
End If
End If
End If

' Install in Microsoft\AddIns\ folder
ElseIf InstalledVersion < "3.3.0" Then
If InstalledVersion < "3.3.0" Then

' Check for install in AddIns folder (before we used the dedicated install folder)
strOldPath = BuildPath2(Environ$("AppData"), "Microsoft", "AddIns", CodeProject.Name)
Expand Down

0 comments on commit 8246762

Please sign in to comment.