diff --git a/binary_installer/install.bat.in b/binary_installer/install.bat.in index e8a3ea0c8d..d2c8b49096 100644 --- a/binary_installer/install.bat.in +++ b/binary_installer/install.bat.in @@ -10,7 +10,8 @@ @rem This enables a user to install this project without manually installing git or Python -PUSHD %~dp0 +@rem change to the script's directory +PUSHD "%~dp0" set "no_cache_dir=--no-cache-dir" if "%1" == "use-cache" ( diff --git a/source_installer/install.bat.in b/source_installer/install.bat.in index 7f443b8351..ad05668e32 100644 --- a/source_installer/install.bat.in +++ b/source_installer/install.bat.in @@ -9,6 +9,9 @@ @rem This enables a user to install this project without manually installing conda and git. +@rem change to the script's directory +PUSHD "%~dp0" + echo "InvokeAI source installer..." echo "" echo "Some of the installation steps take a long time to run. Please be patient."