diff --git a/install.py b/install.py index e927315..452744a 100644 --- a/install.py +++ b/install.py @@ -231,33 +231,6 @@ if "%~1" neq "" ( start "" /MAX "%~dp0{installed_dev_apps["WezTerm"][0]["exe_path"].relative_to(install_dir)}" !working_dir! """) - - # Create Odin work-around scripts - # -------------------------------------------------------------------------- - # Odin uses J. Blow's Microsoft craziness SDK locator which relies on the - # registry. Here we inject the registry entry that the SDK locator checks for - # finding our portable MSVC installation. - win10_sdk_find_test_dir_reg_path = str(win10_sdk_find_test_dir).replace("\\", "\\\\") - - odin_msvc_install_script_path = install_dir / "odin_msvc_install_workaround.reg" - odin_msvc_uninstall_script_path = install_dir / "odin_msvc_uninstall_workaround.reg" - - devenver.lprint(f"Installing Odin MSVC workaround scripts", level=0) - devenver.lprint(f" - {odin_msvc_install_script_path}", level=1) - devenver.lprint(f" - {odin_msvc_uninstall_script_path}", level=1) - - odin_msvc_install_script_path.write_text(f"""Windows Registry Editor Version 5.00 - -[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Kits\Installed Roots] -"KitsRoot10"="{win10_sdk_find_test_dir_reg_path}" -""") - - odin_msvc_uninstall_script_path.write_text(f"""Windows Registry Editor Version 5.00 - -[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Kits\Installed Roots] -"KitsRoot10"=- -""") - # Python # -------------------------------------------------------------------------- # TODO: If I'm using the terminal that this script generates it will lock the