Jump to content

MeplanITSupport

Member
  • Posts

    1
  • Joined

  • Last visited

Reputation

0 Neutral

Personal Information

  • Location
    Germany
  1. In Vectorworks 2023, it was not possible to use the Updater; now, in 2024, I only encountered a minor error, as it searches for curl.exe directly in the Program Files. The option that existed up to version 2019 with "update-updater" was also much more practical to keep inside a BAT file in the Schedule. For 2024, I am using this code: @echo off SET updateFolder=C:\Batch\Vectorworks\Update SET vectorworksPath=C:\Program Files\Vectorworks 2024\Vectorworks 2024 Updater SET CLIBAT=%vectorworksPath%\resources\cli.bat SET CURLEXE=%vectorworksPath%\resources\curl.exe REM Check if the update folder exists IF NOT EXIST "%updateFolder%" ( MKDIR "%updateFolder%" ) REM Run the program to download the latest updater CALL "%exePath%" download-latest-updater "%updateFolder%" -p w REM Find the downloaded .exe file and execute it FOR %%I IN ("%updateFolder%\*.exe") DO ( "%%I" /S -INSTDIR "%vectorworksPath%" ) REM Copy curl.exe to the specified location without prompting COPY /Y "%CURLEXE%" "C:\Program Files\curl.exe" REM Run the cli.bat with the "update" option CALL "%CLIBAT%" update
×
×
  • Create New...