Bug 462999 - Impossible to install on Windows, VS22
Summary: Impossible to install on Windows, VS22
Status: RESOLVED FIXED
Alias: None
Product: Craft
Classification: Unmaintained
Component: Core (other bugs)
Version First Reported In: master
Platform: Other Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-13 13:23 UTC by diego.giuseppetti
Modified: 2024-09-21 20:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Terminal output (8.99 KB, text/plain)
2022-12-13 13:23 UTC, diego.giuseppetti
Details
Terminal output --verbose, Last lines (2.73 KB, text/plain)
2022-12-14 10:15 UTC, diego.giuseppetti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description diego.giuseppetti 2022-12-13 13:23:26 UTC
Created attachment 154559 [details]
Terminal output

SUMMMARY 
Can't install Craft becauseof 2 types of errors.
Full terminal output as attachment

Error 1: Could not find needed files in the following links, the internet connection is private and works fine.

Could not find dev-utils/cmake-base=3.23.3 in https://files.kde.org/craft/master/22.11/windows/cl/msvc2022/x86_64/RelWithDebInfo

Could not find dev-utils/cmake-base=3.23.3 in https://files.kde.org/craft/master/22.11/windows/cl/msvc2022/x86_64/Release

Error 2: Error during uncompressing of fetched Files



STEPS TO REPRODUCE
run commands from the official guide:
1. Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
2. iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/KDE/craft/master/setup/install_craft.ps1'))

It throws an error because i have Visual Studio 2022 installed on my machine instead of 2019, so I enabled my version doing the following step:

3. uncomment line: 199 " ("Microsoft Visual Studio 2022", ("msvc2022", "cl")), " in CraftBootstrap.py
4. run the following command to install craft:  C:\python36\python.exe .\CraftBootstrap.py

OBSERVED RESULT
Impossible to install Craft

EXPECTED RESULT
Craft installed

SOFTWARE/OS VERSIONS
Windows: 11: 21H2 Build: 22000.1281
Only Security Updates
Comment 1 diego.giuseppetti 2022-12-14 10:15:18 UTC
Created attachment 154579 [details]
Terminal output --verbose, Last lines
Comment 2 diego.giuseppetti 2022-12-14 10:17:40 UTC
By executing the installation in verbose mode i found that are missing a couple of packages: 7za and snoretoast.
From the last attachment you can read the output of the last few lines
Comment 3 Christoph Cullmann 2024-09-21 20:18:16 UTC
For me the official howto works with the current state.