Sep 14 2021 08:50 AM
Hi,
since I updated Windows 10 to version 19043.1202 (from 19043.1165), the installation via an appinstaller hosted via IIS on a remote server (by copying files to the wwwroot folder) fails with an error message ('Error when opening package in location...'):
My colleagues with lower Windows 10 version can still run installations, other colleagues with the same Windows 10 version have the same problem.
I can reproduce the problem with a solution consisting of a minimal, unmodified 'WPF App (.NET Framework)' project and a 'Windows Application Packaging Project'.
Does anyone else have this problem? Any ideas about a solution?
Thanks!
Joachim
Sep 21 2021 03:06 PM
Sep 23 2021 12:37 AM - edited Sep 23 2021 12:38 AM
Hi,
Here is the appxmanifest:
<?xml version="1.0" encoding="utf-8"?>
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="uap rescap">
<Identity
Name="ca27c84a-143f-4088-bf5b-bf9cb02ac654"
Publisher="CN=SomePublisher"
Version="1.0.3.0" />
<Properties>
<DisplayName>TestMSIXPackage</DisplayName>
<PublisherDisplayName>SomePublisher</PublisherDisplayName>
<Logo>Images\StoreLogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14393.0" MaxVersionTested="10.0.14393.0" />
</Dependencies>
<Resources>
<Resource Language="x-generate"/>
</Resources>
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="$targetentrypoint$">
<uap:VisualElements
DisplayName="TestMSIXPackage"
Description="TestMSIXPackage"
BackgroundColor="transparent"
Square150x150Logo="Images\Square150x150Logo.png"
Square44x44Logo="Images\Square44x44Logo.png">
<uap:DefaultTile Wide310x150Logo="Images\Wide310x150Logo.png" />
<uap:SplashScreen Image="Images\SplashScreen.png" />
</uap:VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
<rescap:Capability Name="runFullTrust" />
</Capabilities>
</Package>
Thanks!
Joachim
Oct 18 2021 11:46 AM
Can you confirm that the file name used to install is not consistent with another app that had been installed previously.
Can you please also share a copy of the *.AppInstall file being used, and the MSIX package. You can share on the blog, or DM me directly.
Thank you,
Roy
Oct 25 2021 03:26 AM
Hi,
in the meantime, the problem seems to be solved by a Windows Update.
I am now running build 19043.1288 and everything works just fine.
Thanks for your help!
Joachim