Unable to download a package from a specific URL

Ganesh Kumar Pandithurai 0 Reputation points
2023-11-07T21:25:28.93+00:00

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

<?xml version="1.0" encoding="utf-8"?><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?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
32,740 questions
{count} votes