Skip to content

Commit

Permalink
Merge pull request #362 from rcmaehl/0.8.0.0-dev
Browse files Browse the repository at this point in the history
Fix New Installs
  • Loading branch information
rcmaehl authored Dec 22, 2023
2 parents 0c3da9e + 5bb46c4 commit b61b7a5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions MSEdgeRedirect_Wrapper.au3
Original file line number Diff line number Diff line change
Expand Up @@ -796,11 +796,14 @@ Func RunSetup($bUpdate = False, $bSilent = False, $iPage = 0, $hSetupFile = @Scr
Case $hFinish
If @Compiled Then
# 8.0.0.0 Refactor
If ($bUpdate And $iMode <> $hSettings) Or $bResumed Then
RunRemoval(True)
Else
FileDelete(@StartupDir & "\MSEdgeRedirect.lnk")
EndIf
Select
Case $bUpdate And $iMode <> $hSettings
ContinueCase
Case $bUpdate And $bResumed
RunRemoval(True)
Case Else
FileDelete(@StartupDir & "\MSEdgeRedirect.lnk")
EndSelect

If $iMode = $hSettings Then
$aConfig[$vMode] = $bIsAdmin
Expand Down

0 comments on commit b61b7a5

Please sign in to comment.