Download Now
Forums
    Help

    Windows install fails

    Started by Egbert on 19 October 2026

    Egbert19 October 2026, 17:50

    Using: irm https://www.getlazarus.org/install-win.ps1 | iex

    Downloading the Codebot library (commit 3c5749e)
    14.5 MB
    Codebot.Cross-3c5749e9429ce2c6949a05ce66487a7f13c12884/shared/libs/x86_64-darwin/libSDL2.dylib: Can't create '\\\\?\\D:\\Programs\\install.tmp\\codebot\\Codebot.Cross-3c5749e9429ce2c6949a05ce66487a7f13c12884\\shared\\libs\\x86_64-darwin\\libSDL2.dylib': Invalid argument
    Codebot.Cross-3c5749e9429ce2c6949a05ce66487a7f13c12884/shared/libs/x86_64-darwin/libSDL2_image.dylib: Can't create '\\\\?\\D:\\Programs\\install.tmp\\codebot\\Codebot.Cross-3c5749e9429ce2c6949a05ce66487a7f13c12884\\shared\\libs\\x86_64-darwin\\libSDL2_image.dylib': Invalid argument
    Codebot.Cross-3c5749e9429ce2c6949a05ce66487a7f13c12884/shared/libs/x86_64-darwin/libassimp.5.dylib: Can't create '\\\\?\\D:\\Programs\\install.tmp\\codebot\\Codebot.Cross-3c5749e9429ce2c6949a05ce66487a7f13c12884\\shared\\libs\\x86_64-darwin\\libassimp.5.dylib': Invalid argument
    Codebot.Cross-3c5749e9429ce2c6949a05ce66487a7f13c12884/shared/libs/x86_64-darwin/libassimp.dylib: Can't create '\\\\?\\D:\\Programs\\install.tmp\\codebot\\Codebot.Cross-3c5749e9429ce2c6949a05ce66487a7f13c12884\\shared\\libs\\x86_64-darwin\\libassimp.dylib': Invalid argument
    tar.exe: Error exit delayed from previous errors

    Could not extract codebot.zip

    Installation failed. Removing the partly installed files...

    Egbert20 October 2026, 21:25

    Path is:
    C:\Program Files\PowerShell\7;C:\Program Files\WindowsApps\Microsoft.PowerShell_7.6.7.0_x64__8wekyb3d8bbwe;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\PowerShell\7\;C:\Users\lhf\AppData\Local\bin;C:\Users\lhf\AppData\Local\Microsoft\WindowsApps

    The DLLs were installed to C:\Users\lhf\AppData\Local\bin\dlls

    If I say no to the 3 optional features it gets the same error.

    sysrpl22 October 2026, 19:25

    Try again. I posted a new script that handles extraction of archives a bit more robustly on different windows systems.

    irm https://www.getlazarus.org/install-win.ps1 | iex

    Egbert24 October 2026, 00:07

    Yep that got it, moved on to the point of being rejected by av, so I think I can proceed.

    Egbert24 October 2026, 02:31

    Ok still a little problem, the installer puts DLLs in %appdata%/local/bin/dlls then can't find them in %appdata%/local/bin later on. Then it gives a suggestion that the av must have removed them. I moved the files from bin/dlls to bin and re-ran the installer, then it completed with just one issue:

    Building cpugraph
    cpugraph could not be built

    Otherwise fine, it tells me Lazarus is version 5.99, FPC is version 3,2,3

    sysrpl25 October 2026, 06:19

    Thank you. I fixed the dll problem. About the AV, the most I can do is issue advice during installation.