Forum Discussion

GaneshKumarPandithurai's avatar
GaneshKumarPandithurai
Copper Contributor
Nov 08, 2023

Unable to download/install a package from a specific URL

We are trying to use .appinstaller to wrap our packages and its dependencies so users can use it to install our applications and its dependencies. Here is the sample file:

<AppInstaller

        Uri=http://xxx/a/b/c/package.appinstaller"

        Version="x.x.x.x" xmlns="http://schemas.microsoft.com/appx/appinstaller/2017/2">

       <MainBundle

                Name="CompanyName"

                Version="x.x.x.x"

                Publisher="publishername"

                Uri="http://xxx/a/b/c/package.msixbundle" />

       <Dependencies>

                <Package

                         Name="Microsoft.UI.Xaml.2.8"

                         Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"

                         ProcessorArchitecture="x64"

                         Uri="http://xxx/a/b/c/dependent1.appx" />

               </Dependencies>

        <UpdateSettings>

                         <OnLaunch HoursBetweenUpdateChecks="0" />

       </UpdateSettings>

</AppInstaller>

 

We are expecting the dependency should be downloaded from "http://xxx/a/b/c/dependent1.appx" however it is going to MS Store. How can we ensure that it will always use the given URL instead of MS Store?

No RepliesBe the first to reply

Resources