      StrCpy $0 "faceswap_win_launcher.bat"
      FileOpen $9 "$INSTDIR\$0" w
      FileWrite $9 "$\"$dirConda\scripts\activate.bat$\" && conda activate $\"$envName$\" && python $\"$INSTDIR/faceswap.py$\" gui$\r$\n"
      FileClose $9
      CreateShortCut "$DESKTOP\FaceSwap.lnk" "$INSTDIR\$0" "" "$INSTDIR\.install\windows\fs_logo_32.ico"
  FunctionEnd 
</s> remove     ExecWait "$dirConda\scripts\activate.bat && conda activate $\"$envName$\" && python $INSTDIR\$0 && conda deactivate" $0
 </s> add     ExecWait "$\"$dirConda\scripts\activate.bat$\" && conda activate $\"$envName$\" && python $\"$INSTDIR\setup.py$\" $0 && conda deactivate" $0 </s> remove     ExecWait "$dirConda\scripts\activate.bat && conda activate $\"$envName$\" && pip install $dirTemp\${dlibFinalName} &&  conda deactivate" $0
 </s> add     ExecWait "$\"$dirConda\scripts\activate.bat$\" && conda activate $\"$envName$\" && pip install $dirTemp\${dlibFinalName} &&  conda deactivate" $0 </s> remove         nsExec::ExecToStack "$2\Scripts\conda.exe -V"
 </s> add         nsExec::ExecToStack "$\"$2\Scripts\conda.exe$\" -V" </s> remove         ExecWait "$dirConda\scripts\activate.bat && conda create ${flagsEnv} -n  $\"$envName$\" && conda deactivate" $0
 </s> add         ExecWait "$\"$dirConda\scripts\activate.bat$\" && conda create ${flagsEnv} -n  $\"$envName$\" && conda deactivate" $0 </s> remove             ExecWait "$dirConda\scripts\activate.bat && conda env remove -y -n $\"$envName$\" && conda deactivate" $0
 </s> add             ExecWait "$\"$dirConda\scripts\activate.bat$\" && conda env remove -y -n $\"$envName$\" && conda deactivate" $0
    CreateShortCut "$\"$DESKTOP\FaceSwap.lnk$\"" "$\"$INSTDIR\$0$\"" "" "$\"$INSTDIR\.install\windows\fs_logo_32.ico$\""
      StrCpy $0 "faceswap_win_launcher.bat"
      FileOpen $9 "$INSTDIR\$0" w
      FileWrite $9 "$\"$dirConda\scripts\activate.bat$\" && conda activate $\"$envName$\" && python $\"$INSTDIR/faceswap.py$\" gui$\r$\n"
      FileClose $9
    CreateShortCut "$\"$DESKTOP\FaceSwap.lnk$\"" "$\"$INSTDIR\$0$\"" "" "$\"$INSTDIR\.install\windows\fs_logo_32.ico$\""
  FunctionEnd 
keep keep keep keep replace keep
 Fix paths with spaces in installer 
.install/windows/install.nsi