pwsacademy / swift-setup

Student-friendly setup instructions for platforms, editors, and IDEs that support Swift.
150 stars 11 forks source link

Typical irritating W10 experience with installation #8

Open Mrodent opened 4 days ago

Mrodent commented 4 days ago

Hi, I have to use W10 for a Swift application. You're probably not particularly interested in helping W10 users install Swift but sometimes we have no choice regarding OS.

Your W10 installation page says "Next, install or update App Installer from the Microsoft Store:" I had never heard of the "Microsoft Store" and assumed it would be a typical Microsoft experience. It was: when I found the "Microsoft Store" I searched for "App Installer". Lots of crap came up, but not the thing I was looking for. Something called "APK App Installer" came up. Obviously I'm tempted to wonder if this is what you meant me to install. But "APK" is some kind of Android dev package or something.

I also ran "> winget" in a command prompt: "not recognised".

Eventually I found this page: https://learn.microsoft.com/en-us/windows/msix/app-installer/install-update-app-installer It has a download button. You might want to tell anyone who is unlucky enough to have to interact with Microsoft how to install "app installer"/"winget".

I then had to run these commands:

PS D:\Downloads> Add-AppXPackage -Path .\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle # i.e. the downloaded msixbundle PS D:\Downloads> winget Windows Package Manager v1.8.1911 Copyright (c) Microsoft Corporation. All rights reserved.

The winget command line utility enables installing applications and other packages from the command line.

usage: winget [] []

The following commands are available: install Installs the given package ...

svanimpe commented 4 days ago

We definitely do need to support Windows 10. I don't have access to a Windows 10 machine anymore, but it seems like Microsoft moved some things around 😕

I will try to fix the instructions with the next update.

Mrodent commented 4 days ago

Thanks for the quick reply! Just finishing off the hoops I had to jump through in all their gory details.

AND ... I found that swift.org has, er, a download .exe file: https://www.swift.org/install/windows/ ... so maybe I'll ditch the hair shirt this time and spare myself unnecessary frazzlement for once :)