Installation error with Windows 10 19043.1202

%3CLINGO-SUB%20id%3D%22lingo-sub-2749636%22%20slang%3D%22en-US%22%3EInstallation%20error%20with%20Windows%2010%2019043.1202%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2749636%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Esince%20I%20updated%20Windows%2010%20to%20version%2019043.1202%20(from%2019043.1165)%2C%20the%20installation%20via%20an%20appinstaller%20hosted%20via%20IIS%20on%20a%20remote%20server%20(by%20copying%20files%20to%20the%20wwwroot%20folder)%20fails%20with%20an%20error%20message%20('Error%20when%20opening%20package%20in%20location...')%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Joachim_Kueppers_0-1631634250295.png%22%20style%3D%22width%3A%20636px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F310335i6420A3B09DEB4345%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Joachim_Kueppers_0-1631634250295.png%22%20alt%3D%22Joachim_Kueppers_0-1631634250295.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EMy%20colleagues%20with%20lower%20Windows%2010%20version%20can%20still%20run%20installations%2C%20other%20colleagues%20with%20the%20same%20Windows%2010%20version%20have%20the%20same%20problem.%3C%2FP%3E%3CP%3EI%20can%20reproduce%20the%20problem%20with%20a%20solution%20consisting%20of%20a%20minimal%2C%20unmodified%20'WPF%20App%20(.NET%20Framework)'%20project%20and%20a%20'Windows%20Application%20Packaging%20Project'.%3C%2FP%3E%3CP%3EDoes%20anyone%20else%20have%20this%20problem%3F%20Any%20ideas%20about%20a%20solution%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3CP%3EJoachim%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2772086%22%20slang%3D%22en-US%22%3ERe%3A%20Installation%20error%20with%20Windows%2010%2019043.1202%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2772086%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3EThank%20you%20for%20posting%20your%20question%20to%20our%20Tech%20Community%20boards.%20I'd%20like%20to%20help%20you%20with%20this.%3CBR%20%2F%3E%3CBR%20%2F%3EAre%20you%20able%20to%20share%20with%20me%20your%20AppxManifest%20for%20this%20Windows%20app%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2777328%22%20slang%3D%22en-US%22%3ERe%3A%20Installation%20error%20with%20Windows%2010%2019043.1202%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2777328%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F449344%22%20target%3D%22_blank%22%3E%40Roy_MacLachlan%3C%2FA%3E%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20the%20appxmanifest%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%0A%0A%3CPACKAGE%20xmlns%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Ffoundation%2Fwindows10%22%20uap%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Fuap%2Fwindows10%22%20rescap%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Ffoundation%2Fwindows10%2Frestrictedcapabilities%22%20ignorablenamespaces%3D%22uap%20rescap%22%3E%0A%0A%20%20%3CIDENTITY%20name%3D%22ca27c84a-143f-4088-bf5b-bf9cb02ac654%22%20publisher%3D%22CN%3DSomePublisher%22%20version%3D%221.0.3.0%22%3E%3C%2FIDENTITY%3E%0A%0A%20%20%3CPROPERTIES%3E%0A%20%20%20%20%3CDISPLAYNAME%3ETestMSIXPackage%3C%2FDISPLAYNAME%3E%0A%20%20%20%20%3CPUBLISHERDISPLAYNAME%3ESomePublisher%3C%2FPUBLISHERDISPLAYNAME%3E%0A%20%20%20%20%3CLOGO%3EImages%5CStoreLogo.png%3C%2FLOGO%3E%0A%20%20%3C%2FPROPERTIES%3E%0A%0A%20%20%3CDEPENDENCIES%3E%0A%20%20%20%20%3CTARGETDEVICEFAMILY%20name%3D%22Windows.Universal%22%20minversion%3D%2210.0.0.0%22%20maxversiontested%3D%2210.0.0.0%22%3E%3C%2FTARGETDEVICEFAMILY%3E%0A%20%20%20%20%3CTARGETDEVICEFAMILY%20name%3D%22Windows.Desktop%22%20minversion%3D%2210.0.14393.0%22%20maxversiontested%3D%2210.0.14393.0%22%3E%3C%2FTARGETDEVICEFAMILY%3E%0A%20%20%3C%2FDEPENDENCIES%3E%0A%0A%20%20%3CRESOURCES%3E%0A%20%20%20%20%3CRESOURCE%20language%3D%22x-generate%22%3E%3C%2FRESOURCE%3E%0A%20%20%3C%2FRESOURCES%3E%0A%0A%20%20%3CAPPLICATIONS%3E%0A%20%20%20%20%3CAPPLICATION%20id%3D%22App%22%20executable%3D%22%24targetnametoken%24.exe%22%20entrypoint%3D%22%24targetentrypoint%24%22%3E%0A%20%20%20%20%20%20%3CVISUALELEMENTS%20displayname%3D%22TestMSIXPackage%22%20description%3D%22TestMSIXPackage%22%20backgroundcolor%3D%22transparent%22%20square150x150logo%3D%22Images%5CSquare150x150Logo.png%22%20square44x44logo%3D%22Images%5CSquare44x44Logo.png%22%3E%0A%20%20%20%20%20%20%20%20%3CDEFAULTTILE%20wide310x150logo%3D%22Images%5CWide310x150Logo.png%22%3E%3C%2FDEFAULTTILE%3E%0A%20%20%20%20%20%20%20%20%3CSPLASHSCREEN%20image%3D%22Images%5CSplashScreen.png%22%3E%3C%2FSPLASHSCREEN%3E%0A%20%20%20%20%20%20%3C%2FVISUALELEMENTS%3E%0A%20%20%20%20%3C%2FAPPLICATION%3E%0A%20%20%3C%2FAPPLICATIONS%3E%0A%0A%20%20%3CCAPABILITIES%3E%0A%20%20%20%20%3CCAPABILITY%20name%3D%22internetClient%22%3E%3C%2FCAPABILITY%3E%0A%20%20%20%20%3CCAPABILITY%20name%3D%22runFullTrust%22%3E%3C%2FCAPABILITY%3E%0A%20%20%3C%2FCAPABILITIES%3E%0A%3C%2FPACKAGE%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3CP%3EJoachim%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

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...'):

Joachim_Kueppers_0-1631634250295.png

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

3 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?

@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

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