C
C#

help

MSIX URI is inaccessible in Appinstaller

GGodspeed9/29/2022
Hello, I have an Appinstaller and MSIX hosted in a public Google Cloud Storage bucket, meaning they have directly accessible URIs on the form "https://storage.googleapis.com/{bucket-name}/{file-name}". However, the Appinstaller gives the (not very detailed) message "Error in parsing the app package" when I attempt to run it. The Windows Logs for AppXDeployment give no useful insight. I have tested this with MSIX Troubleshooter (https://www.advancedinstaller.com/msix-troubleshooter.html), and it tells me that the Appinstaller URI is "accessible" and the MSIX URI is "not accessible". If both are hosted in the same public bucket, how come the appinstaller sees MSIX as inaccessible and the other one not? The Appinstaller looks like this ish:
<?xml version="1.0" encoding="utf-8"?>
<AppInstaller
Uri="https://storage.googleapis.com/{bucket-here}/myapp.appinstaller"
Version="0.2.2.0" xmlns="http://schemas.microsoft.com/appx/appinstaller/2018">
<MainPackage
Name="guid here"
Version="0.3.0.0"
Publisher="cert here"
ProcessorArchitecture="x64"
Uri="https://storage.googleapis.com/{bucket-here}/myapp.msix" />
<UpdateSettings>
<OnLaunch HoursBetweenUpdateChecks="0" ShowPrompt="true" UpdateBlocksActivation="true" />
<ForceUpdateFromAnyVersion>true</ForceUpdateFromAnyVersion>
</UpdateSettings>
</AppInstaller>
<?xml version="1.0" encoding="utf-8"?>
<AppInstaller
Uri="https://storage.googleapis.com/{bucket-here}/myapp.appinstaller"
Version="0.2.2.0" xmlns="http://schemas.microsoft.com/appx/appinstaller/2018">
<MainPackage
Name="guid here"
Version="0.3.0.0"
Publisher="cert here"
ProcessorArchitecture="x64"
Uri="https://storage.googleapis.com/{bucket-here}/myapp.msix" />
<UpdateSettings>
<OnLaunch HoursBetweenUpdateChecks="0" ShowPrompt="true" UpdateBlocksActivation="true" />
<ForceUpdateFromAnyVersion>true</ForceUpdateFromAnyVersion>
</UpdateSettings>
</AppInstaller>
Anyone know if hosting these in GCP/Cloud Storage is the issue?
Jjcotton429/29/2022
Are those escape sequences right? The %7B and %7D
GGodspeed9/29/2022
the appinstaller does not have { and } in the actual uri, i just replaced the actual GCP bucket name for this post, if that is what you are referring to?
Jjcotton429/29/2022
Oh
GGodspeed9/29/2022
Could it be an issue with Cloud Storage blocking Range requests?
Rreflectronic9/29/2022
yes, that is almost certainly the issue if that is true app installer requires range requests
GGodspeed9/29/2022
i dont know what happened, but this just solved itself a few hours ago. Just worked out of the blue when I came to work so since my setup now works, I guess GCP does support Range requests

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
I'm having problems with a range of numbers and random generator (im new)I have an array of number (1-50, scaled), where one will be selected randomly and then every number EFCore Updating an item after mapping with AutomapperHey I am using Ef core to store some data in sqlite. I need to translate it to another object to shoIs it possible to allow an installer to downgrade dll's while not overwriting other app files?When creating an installer. (using Wix) Is there a way to have better control over the reinstall proIs there any way to simplify this, or a design pattern I should be following?```cs public event EventHandler<FizzbuzzDetermineNumberRequest>? DetermineNumberRequestHandlers; How to get service that not registed with interfaceHelpAssigning all StackPanel child element marginI am trying to set the margin for all elements in stackpanel from resor. Can you point out why it's Generics and type inference```cs public TDest MapTo<TSource, TDest>(TSource src) { var res = _mapper.Map<TSourcCrash of the background worker because of the SQL connectionI have a background worker running on some machine, which getting random crashes because of the SQL Minimum need data to create an EntityMy entity: ```cs public class Book : BaseEntity { public string Name { get; set; } MediatR commands and DTOs [Answered]Currently, I am passing DTOs to my controllers, I am using MediatR and it supports commands. I use tHow can I send int value from 1 program, to another via internet?```fix Hello. Is there any easy way to connect 2 programs to each other over the internet? I mean,InterfaceHi, i've this interface but there is only 1 class which doesn't need any parameter in `getAll(long iTroubleshooting Visual studio .net 6, debuggerHi, Ran in to a so strange bug/problem this week. I'm working in a multi tier solution with several✅ Amazon Review Panic!!!Hello, I am a Freshman in college who was recently selected for a technical interview at Amazon. I aSearch for text and sort by most hits.I wrote a function like this, it looks for words in the database. I would like to make it sort by thValidation helpNeed help with some simple validationPrevent scrollbar from jumping down when viewing a list?Hi - I'm making a chat room in windows forms and have a listbox that displays all the messages recieWPF Border around transparent imageI'm trying to do a kind of "magic wand tool" selection that some image editors have, and I just can'Stack and Heap Memory [Answered]I've been correcting some of my misconception about stack and heap memory allocation. So, this is myPartialType from Nest.js in CsharpIs there is a possibility to recreate a behaviour like the partialType from Nestjs (=> https://docs.