Forum Discussion

Joachim_Kueppers's avatar
Joachim_Kueppers
Copper Contributor
Sep 14, 2021

Installation error with Windows 10 19043.1202

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

4 Replies

  • Hi,
    Thank you for posting your question to our Tech Community boards. I'd like to help you with this.

    Are you able to share with me your AppxManifest for this Windows app?
    • Joachim_Kueppers's avatar
      Joachim_Kueppers
      Copper Contributor

      Roy_MacLachlan

      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

      • Roy_MacLachlan's avatar
        Roy_MacLachlan
        Icon for Microsoft rankMicrosoft

        Hi Joachim_Kueppers,

         

        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

         

         

Resources