      StrCpy $dirAnacondaAll "$ProgramData\Anaconda3"
      StrCpy $gitInf "$dirTemp\git_install.inf"
      StrCpy $envName "faceswap"
      SetOutPath "$dirTemp"
      File git_install.inf
      Call CheckPrerequisites
  FunctionEnd
  
  # Enable the cancel button during installation
  Function InstFilesShow
 
</s> remove     StrCpy $gitInf "$dirTemp\git_install.inf"
 </s> add  </s> remove Function DesktopShortcut
    DetailPrint "Creating Desktop Shortcut"
 </s> add Function AddGuiLauncher
    DetailPrint "Creating GUI Launcher" </s> remove     #Git
        nsExec::ExecToStack "git --version"
        pop $0
        pop $1
        ${If} $0 == 0
            StrCpy $Log "$log(check) Git installed: $1"
        ${Else}
            StrCpy $InstallGit 1
        ${EndIf}

 </s> add  </s> remove         DetailPrint "All Prerequisites installed."
    ${EndIf}
FunctionEnd

Function CloneRepo
    DetailPrint "Downloading Faceswap..."
    SetDetailsPrint listonly
    ${If} $InstallGit == 1
        StrCpy $9 "$\"$PROGRAMFILES64\git\bin\git.exe$\""
    ${Else}
        StrCpy $9 "git"
    ${EndIf}
    ExecDos::exec /NOUNLOAD /ASYNC /DETAILED "$9 clone ${flagsRepo} $\"$INSTDIR$\""
    pop $0
    ExecDos::wait $0
    pop $0
    SetDetailsPrint both
    ${If} $0 != 0
        DetailPrint "Error Downloading Faceswap"
        Call Abort
 </s> add         DetailPrint "Miniconda3 installed." </s> remove # Download sites
!define wwwGit "https://github.com/git-for-windows/git/releases/download/v2.20.1.windows.1/Git-2.20.1-64-bit.exe"

 </s> add 
      StrCpy $dirAnacondaAll "$ProgramData\Anaconda3"
      StrCpy $gitInf "$dirTemp\git_install.inf"
      StrCpy $envName "faceswap"
      SetOutPath "$dirTemp"

      Call CheckPrerequisites
  FunctionEnd
  
  # Enable the cancel button during installation
  Function InstFilesShow
keep keep keep keep replace keep keep keep keep keep
 Installer updates
Windows - Install Conda git
Linux + Windows - Always create GUI Launcher shortcut 
.install/windows/install.nsi