files-community / Files

A modern file manager that helps users organize their files and folders.
https://files.community
MIT License
34.19k stars 2.18k forks source link

Windows suddenly requires developer license for installation of classic installer #15546

Closed rklec closed 4 months ago

rklec commented 4 months ago

Description

For me Windows Store is blocked (likely by group policy), so I cannot install the app from Windows Store. The traditional installation has worked in the past, but now fails, somehow?

Steps To Reproduce

Download classic installer from https://files.community/download and try to install it.

grafik

The same happens when I choco upgrade it:

> choco upgrade files -y
Chocolatey v2.2.2
Upgrading the following packages:
files
By upgrading, you accept licenses for the packages.
files is not installed. Installing...
Progress: Downloading files 3.4.1... 100%

files v3.4.1 [Approved]
files package files upgrade completed. Performing other installation steps.
ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Deployment failed with HRESULT: 0x80073CFF, Für die Installation dieser Anwendung wird eine Windows-Entwicklerlizenz oder ein sideloadfähiges System benötigt.

Fehler beim Bereitstellen des Pakets Files_3.4.1.0_neutral_split.scale-150_1y0xx7n9077q4 mit Paketursprung Unknown, da keine gültige Lizenz- oder Querladerichtlinie angewendet werden konnte. Möglicherweise ist eine Entwicklerlizenz (http://go.microsoft.com/fwlink/?LinkId=233074) oder eine Enterprise-Querladekonfiguration (http://go.microsoft.com/fwlink/?LinkId=231020) erforderlich.

NOTE: For additional information, look for [ActivityId] fb86e6ea-b1b7-000a-8510-43fcb7b1da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID fb86e6ea-b1b7-000a-8510-43fcb7b1da01

The upgrade of files was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\files\tools\chocolateyinstall.ps1'.
 See log for details.

Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - files (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\files\tools\chocolateyinstall.ps1'.
 See log for details.

Roughly translated (with DeepL):

Error deploying the Files_3.4.1.0_neutral_split.scale-150_1y0xx7n9077q4 package with package origin Unknown, because no valid licence or cross-loading policy could be applied. A developer licence (http://go.microsoft.com/fwlink/?LinkId=233074) or an Enterprise cross-loading configuration (http://go.microsoft.com/fwlink/?LinkId=231020) may be required.

Requirements

Files Version

3.4.1.0

Windows Version

10.0.19045.4291

Log File

N/A

Edition Windows 10 Enterprise Version 22H2 Installiert am ‎** Betriebssystembuild 19045.4291 Leistung Windows Feature Experience Pack 1000.19056.1000.0

/cc @w0 as apparently being the maintainer of the choco package, although I want to stress the issue is reproducible with the official installer.

rklec commented 4 months ago

Happens too, wioth v3.3 apparently:;

> choco upgrade files --version 3.3 -y
Chocolatey v2.2.2
Upgrading the following packages:
files
By upgrading, you accept licenses for the packages.
files is not installed. Installing...
Progress: Downloading files 3.3... 100%

files v3.3.0 [Approved]
files package files upgrade completed. Performing other installation steps.
ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Deployment failed with HRESULT: 0x80073CFF, Für die Installation dieser Anwendung wird eine Windows-Entwicklerlizenz oder ein sideloadfähiges System benötigt.

Fehler beim Bereitstellen des Pakets Files_3.4.1.0_neutral_split.scale-150_1y0xx7n9077q4 mit Paketursprung Unknown, da keine gültige Lizenz- oder Querladerichtlinie angewendet werden konnte. Möglicherweise ist eine Entwicklerlizenz (http://go.microsoft.com/fwlink/?LinkId=233074) oder eine Enterprise-Querladekonfiguration (http://go.microsoft.com/fwlink/?LinkId=231020) erforderlich.

NOTE: For additional information, look for [ActivityId] fb86e6ea-b1b7-0009-4bb8-15fcb7b1da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID fb86e6ea-b1b7-0009-4bb8-15fcb7b1da01

The upgrade of files was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\files\tools\chocolateyinstall.ps1'.
 See log for details.

Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - files (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\files\tools\chocolateyinstall.ps1'.
 See log for details.

and 3.2.4:

 choco upgrade files --version 3.2.4 -y
Chocolatey v2.2.2
Upgrading the following packages:
files
By upgrading, you accept licenses for the packages.
files is not installed. Installing...
Progress: Downloading files 3.2.4... 100%

files v3.2.4 [Approved]
files package files upgrade completed. Performing other installation steps.
ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Deployment failed with HRESULT: 0x80073CFF, Für die Installation dieser Anwendung wird eine Windows-Entwicklerlizenz oder ein sideloadfähiges System benötigt.

Fehler beim Bereitstellen des Pakets Files_3.4.1.0_neutral_split.scale-150_1y0xx7n9077q4 mit Paketursprung Unknown, da keine gültige Lizenz- oder Querladerichtlinie angewendet werden konnte. Möglicherweise ist eine Entwicklerlizenz (http://go.microsoft.com/fwlink/?LinkId=233074) oder eine Enterprise-Querladekonfiguration (http://go.microsoft.com/fwlink/?LinkId=231020) erforderlich.

NOTE: For additional information, look for [ActivityId] fb86e6ea-b1b7-0007-4b12-0efcb7b1da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID fb86e6ea-b1b7-0007-4b12-0efcb7b1da01

The upgrade of files was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\files\tools\chocolateyinstall.ps1'.
 See log for details.

Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - files (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\files\tools\chocolateyinstall.ps1'.
 See log for details.

Ah the issue is apparently documented in https://files.community/docs/install#steps-required-for-the-classic-installer-version-after-3212024, though I have already (tried) reinstalling it.

(Also the link in that release here does not directly link to the URL, BTW.)

That said, the issue also happens for --version 3.2.3 now and --version 3.2.2, which is really confusing... seems there is no way back.

Josh65-2201 commented 4 months ago

Thanks for the report,

m-primo commented 4 months ago

I think I have a similar issue

image

Josh65-2201 commented 4 months ago

That is a different issue. Please follow https://files.community/docs/install#:~:text=Steps%20required%20for%20the%20%E2%80%9Cclassic%20installer%E2%80%9D%20version%20after%203/21/2024

rklec commented 4 months ago

Yes, Windows Store is disabled (via group policy aka company controlled likely), that's the issue at hand. After all, that's why I use the classic installer/choco package.

Josh65-2201 commented 4 months ago

If it's blocked by your company there isn't anything we can do, Why it work before I don't know but it possible Windows or your company updated to block it.

BiosNod commented 4 months ago

Is developers really can't build app running without windows apps licensing system and can't make offline installer? Trends of next-generation apps...

Josh65-2201 commented 4 months ago

Licensing systems aren't new at all and if not disabled would work fine and there are offline installers https://cdn.files.community/files/stable/Files.Package_3.4.1.0_Stable_Test/Files.Package_3.4.1.0_x64_arm64_Stable.msixbundle https://cdn.files.community/files/stable/Files.Package_3.4.1.0_Stable_Test/Dependencies/x64/Microsoft.WindowsAppRuntime.1.5.msix

rklec commented 4 months ago

Files.Package_3.4.1.0_x64_arm64_Stable.msixbundle does not work for me:

grafik

Die Paketabhängigkeiten konnten von App-Installer nicht installiert werden. Fordern Sie beim Entwickler ein -Paket an.

Kinda translated (with the help of DeepL) like:

The package dependencies could not be installed by App-Installer. Request a -package from the developer.

Microsoft.WindowsAppRuntime.1.5.msix also does not work:

grafik

Fehler bei der App-Installation. Fehlermeldung: Der Bereitstellungsvorgang "Add" mit Zielvolume "C:" für das Paket "Microsoft.WindowsAppRuntime.1.5_5001.119.156.0_x64__8wekyb3d8bbwe" von " (Microsoft.WindowsAppRuntime.1.5.msix) " ist mit dem Fehler 0x8000FFFF fehlgeschlagen. Weitere Informationen zum Diagnostizieren von Problemen bei der Bereitstellung von Apps finden Sie unter "http://go.microsoft.com/fwlink/?LinkId=235160". (0x8000ffff)

Translated with DeepL:

Error during app installation. Error message: The "Add" deployment operation with target volume "C:" for the package "Microsoft.WindowsAppRuntime.1.5_5001.119.156.0_x64__8wekyb3d8bbwe" from " (Microsoft.WindowsAppRuntime.1.5.msix) " has failed with the error 0x8000FFFF. For more information on diagnosing app deployment issues, see "http://go.microsoft.com/fwlink/?LinkId=235160". (0x8000ffff)

Josh65-2201 commented 4 months ago

There isn't anything we can do. It would be an issue with your system or a company policy blocking the use of Windows update/Microsoft store features.

rklec commented 4 months ago

Thing is, the installation has worked before I tried (to upgrade to) the v3.2.4 of this IIRC, as said.

yaira2 commented 4 months ago

Did you try installing via PowerShell?

rklec commented 3 months ago

Yes, even using the workaround suggested here:

> & { $ProgressPreference = 'Ignore'; Import-Module Appx 3>$null }
> Add-AppxPackage -Path "*****\Microsoft.WindowsAppRuntime.1.5.msix"
> Add-AppxPackage -Path "*****\Files.Package_3.4.1.0_x64_arm64_Stable.msixbundle"
Add-AppxPackage : Fehler bei Bereitstellung. HRESULT: 0x80073CFF, Für die Installation dieser Anwendung wird eine
Windows-Entwicklerlizenz oder ein sideloadfähiges System benötigt.
Fehler beim Bereitstellen des Pakets Files_3.4.1.0_neutral_split.scale-125_1y0xx7n9077q4 mit Paketursprung Unknown, da
keine gültige Lizenz- oder Querladerichtlinie angewendet werden konnte. Möglicherweise ist eine Entwicklerlizenz
(http://go.microsoft.com/fwlink/?LinkId=233074) oder eine Enterprise-Querladekonfiguration
(http://go.microsoft.com/fwlink/?LinkId=231020) erforderlich.
HINWEIS: Wenn Sie weitere Informationen wünschen, suchen Sie im Ereignisprotokoll nach [ActivityId]
a1f9852b-ceb0-0002-439b-7ba2b0ceda01, oder verwenden Sie die Befehlszeile Get-AppxLog -ActivityID
a1f9852b-ceb0-0002-439b-7ba2b0ceda01
In Zeile:1 Zeichen:1
+ Add-AppxPackage -Path "*****\Files.Package_3.4 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (*****...able.msixbundle:String) [Add-AppxPackage], Exception
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

Same error. As you can see installing Microsoft.WindowsAppRuntime.1.5 this way seems to work though.

The gist seems to be:

Error when deploying the package Files_3.4.1.0_neutral_split.scale-125_1y0xx7n9077q4 with package origin Unknown, because no valid licence or cross-loading policy could be applied.

So I guess the package is somehow not signed or signed in a different (not so much trusted?) way or something like that...