User Profile
levyas
Brass Contributor
Joined 5 years ago
User Widgets
Recent Discussions
Re: How and why PublisherID, PackageFullName and CA's break the upgrade cycle
Still actively looking without any updates? This caveat must be in every MSIX tutorial, if I knew it before, I'd rely only on self-update and not bother switching to MSIX. The dependency on 3rd party which is not controlled in any way is not acceptable. Whoever decided and/or approved this approach put zero effort into thinking about the convenience of developers and end-users.625Views1like0CommentsRe: App does not launch immediately after installation but after a 40 mins delay it launches again
Lars_Pedersen and Mo_Velayati : try to fill the issue via FeedbackHub in Windows and post the link here, we'll upvote it. I already filed an issue on another problem with MSIX https://aka.ms/AAetpms2.4KViews0likes0CommentsRe: MSIX: How to achieve automatic install of .net 5 required for my application?
Thank you! I thought about using the install-dotnet.ps1, but looks like it's much more complicated than to just use a self-contained package. Also, I'm "scared" a little of "To set up a development environment or to run apps, use the installers rather than these scripts." and the fact that there will be no registry entries or persistent PATH to dotnet. So, I'll take a less risky and simpler approach by making the app self-contained. Thank you again, Matteo.7.7KViews0likes0CommentsRe: MSIX: How to achieve automatic install of .net 5 required for my application?
Thank you for the reply! You gave me the way to browse the catalog of available dependencies; that's very helpful! I read about the command, run on my machine, looks like it contains only frameworks used by UWP hence there are no familiar to me names or versions (like .net 4.7, or .net core or .net 5). At least now I know that it is not what I'm looking for, so thank you again. Maybe someday regular .net runtimes will be there too, that'd be nice.7.8KViews0likes0CommentsRe: MSIX: How to achieve automatic install of .net 5 required for my application?
Tim Mangan, TIMOTHY_MANGAN, John Vintzel, Bogdan Mitrache - UR all great pros, if somebody could just point me in the right direction, I would be very glad. Thank you. It looks like quite an ordinary task, but I read all the docs and dozens of posts on the internet and didn't find a good solution for it, I think I'm losing something obvious. As I understood, with dependencies I can point to shared "framework" packages only, but I don't have one. With install actions or with PSF I will need to bundle the Dotnet installer with me, or download it from the MS site and run it with /quiet (because install-dotnet.ps1 intended only for CI machines), all of that looks far from an optimal solution. The best solution from bad ones I see is to use self-contained publish, but it's not the best too.7.8KViews0likes0CommentsMSIX: How to achieve automatic install of .net 5 required for my application?
Hi! I wrote a WPF program using .NET 5, packed it into the MSIX bundle (Release, x86 and x64) as a framework-dependent package. Everything seems fine, but there is one very annoying thing: on the first run the app says ".NET runtime is missing, would you like to install it?”. If you click yes, the download page opens, where the user has to select the needed runtime, download, and install it. Not the best user experience, I'm thinking about how to improve it. Is there an option to add .net 5 runtimes (x86 or x64 depending on the user system, or maybe both) as a dependency so it installed automatically? I know I can define https://docs.microsoft.com/en-us/uwp/schemas/appinstallerschema/element-dependencies, but how can I find the right name for the needed dependency? Also, I know it's possible to define https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/element-desktop6-installactions but I haven't tried it yet, because I want to find a simpler solution. Looks like for that option I'll have to create a small app or script that will check if the needed runtime exists and if not - check the platform and ask the user to install the specific version of the runtime. Not the best user experience too. Of course, I still have an option to go with self-contained, but I don't want to distribute so many megabytes of .net every time, especially given the fact that I expect frequent updates.Solved8.9KViews0likes18Comments
Recent Blog Articles
No content to show