  OutFile "faceswap_setup_x64.exe"
  Name "Faceswap"
  InstallDir $PROFILE\faceswap
  
  # 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"
  
  # Sometimes miniconda breaks. Uncomment/comment the following 2 lines to pin
  !define wwwConda "https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe"
  #!define wwwConda "https://repo.anaconda.com/miniconda/Miniconda3-4.5.12-Windows-x86_64.exe"
  !define wwwRepo "https://github.com/deepfakes/faceswap.git"
  !define wwwFaceswap "https://www.faceswap.dev"
 
</s> remove !define flagsGit "/SILENT /NORESTART /NOCANCEL /SP /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS"
 </s> add  </s> remove Var InstallGit
 </s> add  </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     File git_install.inf
 </s> add  </s> remove         ${If} $InstallGit == 1
            ${NSD_CreateLabel} 10% $lblPos% 80% 14u "Git for Windows"
            Pop $0
            intOp $lblPos $lblPos + 7
        ${EndIf}

 </s> add 
  OutFile "faceswap_setup_x64.exe"
  Name "Faceswap"
  InstallDir $PROFILE\faceswap
  



  # Sometimes miniconda breaks. Uncomment/comment the following 2 lines to pin
  !define wwwConda "https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe"
  #!define wwwConda "https://repo.anaconda.com/miniconda/Miniconda3-4.5.12-Windows-x86_64.exe"
  !define wwwRepo "https://github.com/deepfakes/faceswap.git"
  !define wwwFaceswap "https://www.faceswap.dev"
keep keep keep keep replace replace replace keep keep keep keep keep
 Installer updates
Windows - Install Conda git
Linux + Windows - Always create GUI Launcher shortcut 
.install/windows/install.nsi