Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Has anyone done a side loaded UWP application?

Has anyone done a side loaded UWP application?

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studiowpfcomquestion
20 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Dan Neely

    Are there any gotchas I should be aware of? One of my coworkers tried sideloading years ago (might've been 8.x not 10) but got burned when the sideloaded installs all expired after a few (2?) months.

    Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

    P Offline
    P Offline
    Pete OHanlon
    wrote on last edited by
    #9

    W10 updated the Sideload experience a lot. I have one app that's been side loaded for about 16 months now and it hasn't complained.

    This space for rent

    D 1 Reply Last reply
    0
    • D Dan Neely

      that page was on my list of things to give a try. Some of the comments on the post by people who couldn't make it work had me concerned it wasn't a complete solution.

      Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #10

      I really need to try the Fall Creators side loading to see what's been updated (no pun intended).

      This space for rent

      1 Reply Last reply
      0
      • P Pete OHanlon

        W10 updated the Sideload experience a lot. I have one app that's been side loaded for about 16 months now and it hasn't complained.

        This space for rent

        D Offline
        D Offline
        Dan Neely
        wrote on last edited by
        #11

        Good to know that MS has been streamlining the process away from the initial use the store or :elephant: off approach they took when W8 came out.

        Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

        1 Reply Last reply
        0
        • P Pete OHanlon

          I found that auto updating a side loaded app wasn't the most straightforward of tasks in the world. In the end, I went with a version of this[^] as a means of updating. Apart from that, it's not too complicated to do (note, this was before the Fall Creator update which has enhanced the side loading capabilities a fair bit so you might not need to do this anymore).

          D Offline
          D Offline
          Dan Neely
          wrote on last edited by
          #12

          I think I understand why that blog post has a lot of not working comments. It doesn't appear to be quite complete, and as someone not familiar with UWP I'm also struggling to figure out how to get everything connected.

          Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

          1 Reply Last reply
          0
          • D Dan Neely

            I'm looking at WPF vs UWP for a consumer facing kiosk app. WPF I know is doable, since it can be bundled up into an .msi and then tied into an off the shelf auto-update platform. For UWP, I see [sideloading](https://docs.microsoft.com/en-us/windows/application-management/sideload-apps-in-windows-10) is doable via turning on a setting and installing a signing key. That's obviously a bit more work up front; but should be doable for initial install by whoever is setting them up at the manufacturing/assembly point (and might be able to be baked into a factory image). What I'm not sure is if there's going to be an ongoing maintenance penalty from doing so, in terms of additional work needed to update the app after the kiosk is deployed, or other gotchas I'm not aware of.

            Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

            C Offline
            C Offline
            Christopher Duncan
            wrote on last edited by
            #13

            I have a UWP app that we use in house. When I have a new version I put it up on a share and my tester copies it to the Surface Pro 4, right clicks on the setup app and runs with Power Shell. Usually that works fine, but there have been times when for reasons unknown we had to uninstall the existing version first and then install the new build before it would take. When we deem everything happy he then Remote Desktop's into the other Surfaces in various cities and repeats the process to take the version live. I haven't encountered any particular gotchas in terms of side loading, but we did get bit by Microsoft's bloody "We're gonna update Windows whenever we feel like it and you can't do anything about it" policy. I believe it was the Redstone 3 update, which jacked the networking on all of our boxes and burned us for a few days. But that's a Windows 10 thing, not specific to UWP. Overall it's been fun to work with.

            Christopher Duncan Author of Unite the Tribes: Leadership Skills for Technology Managers Have Fun, Get Paid The Career Programmer

            D 1 Reply Last reply
            0
            • P Pete OHanlon

              I found that auto updating a side loaded app wasn't the most straightforward of tasks in the world. In the end, I went with a version of this[^] as a means of updating. Apart from that, it's not too complicated to do (note, this was before the Fall Creator update which has enhanced the side loading capabilities a fair bit so you might not need to do this anymore).

              D Offline
              D Offline
              Dan Neely
              wrote on last edited by
              #14

              Sorry to keep bombarding you with messages... I've figured out what was missing in that blog post ([exposing the update service for consumption](https://docs.microsoft.com/en-us/windows/uwp/launch-resume/how-to-create-and-consume-an-app-service)) and managed to get my proof of concept demo working. Since you've put this into production, I do have one farther question. Is there a more elegant solution for the initial install than zipping both app package builds up and running the powershell scripts to deploy the app+certs for the main app and updater apps in sequence. To minimize human error I'd prefer to have a single execution point that would install both of them. Going to a production level setup I probably want to have the main app able to be able to install a new version of its updater if needed. Would bootstrapping that into running the install script for the main app, and having it install the update tool instead of running 2 installers work? Not sure I really like that though since it potentially splits the initial install into two steps that could be run by different users at widely different times. (Yeah, the person doing the install should test that it worked by launching the app. \*SHOULD*)

              Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

              P 1 Reply Last reply
              0
              • C Christopher Duncan

                I have a UWP app that we use in house. When I have a new version I put it up on a share and my tester copies it to the Surface Pro 4, right clicks on the setup app and runs with Power Shell. Usually that works fine, but there have been times when for reasons unknown we had to uninstall the existing version first and then install the new build before it would take. When we deem everything happy he then Remote Desktop's into the other Surfaces in various cities and repeats the process to take the version live. I haven't encountered any particular gotchas in terms of side loading, but we did get bit by Microsoft's bloody "We're gonna update Windows whenever we feel like it and you can't do anything about it" policy. I believe it was the Redstone 3 update, which jacked the networking on all of our boxes and burned us for a few days. But that's a Windows 10 thing, not specific to UWP. Overall it's been fun to work with.

                Christopher Duncan Author of Unite the Tribes: Leadership Skills for Technology Managers Have Fun, Get Paid The Career Programmer

                D Offline
                D Offline
                Dan Neely
                wrote on last edited by
                #15

                Manual install's not going to be an appealing option for our customer since they're planning to make the box this runs on by the thousands. Even with some sort of automation to open the connections so whoever's doing it just needed to click an icon that'd download and install automatically that'd turn into a major time sink.

                Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                C 1 Reply Last reply
                0
                • D Dan Neely

                  Manual install's not going to be an appealing option for our customer since they're planning to make the box this runs on by the thousands. Even with some sort of automation to open the connections so whoever's doing it just needed to click an icon that'd download and install automatically that'd turn into a major time sink.

                  Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                  C Offline
                  C Offline
                  Christopher Duncan
                  wrote on last edited by
                  #16

                  Since the setup runs via Power Shell there's probably some path to pushing it through whatever admin voodoo that Windows IT guys do, but we only have it in half a dozen warehouses so no one has burned the cycles to figure out that sort of thing.

                  Christopher Duncan Author of Unite the Tribes: Leadership Skills for Technology Managers Have Fun, Get Paid The Career Programmer

                  D 1 Reply Last reply
                  0
                  • C Christopher Duncan

                    Since the setup runs via Power Shell there's probably some path to pushing it through whatever admin voodoo that Windows IT guys do, but we only have it in half a dozen warehouses so no one has burned the cycles to figure out that sort of thing.

                    Christopher Duncan Author of Unite the Tribes: Leadership Skills for Technology Managers Have Fun, Get Paid The Career Programmer

                    D Offline
                    D Offline
                    Dan Neely
                    wrote on last edited by
                    #17

                    If they were all going to live on a single domain I'm sure you're right; but being connected to whatever the customer's on site wifi is means whatever we do will need to run over HTTPS. There're 10 billion remote desktop tools available for a tech logging in without driving/flying out on site; but I really doubt any of them would allow running a remotely delivered script directly. If you've seen my last comment to Pete, I've got the update thing running as a proof of concept, and give or take whatever he has to say about putting it into production am moving on to my next proof of concepting task.

                    Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                    C 1 Reply Last reply
                    0
                    • D Dan Neely

                      If they were all going to live on a single domain I'm sure you're right; but being connected to whatever the customer's on site wifi is means whatever we do will need to run over HTTPS. There're 10 billion remote desktop tools available for a tech logging in without driving/flying out on site; but I really doubt any of them would allow running a remotely delivered script directly. If you've seen my last comment to Pete, I've got the update thing running as a proof of concept, and give or take whatever he has to say about putting it into production am moving on to my next proof of concepting task.

                      Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                      C Offline
                      C Offline
                      Christopher Duncan
                      wrote on last edited by
                      #18

                      Yeah, Pete usually has his nose pointed in the right direction. If this is for general / semi-general public, I wonder if it would be worth putting it on the Windows store. I have no idea what hoops that involved, but it's meant for general distribution.

                      Christopher Duncan Author of Unite the Tribes: Leadership Skills for Technology Managers Have Fun, Get Paid The Career Programmer

                      D 1 Reply Last reply
                      0
                      • C Christopher Duncan

                        Yeah, Pete usually has his nose pointed in the right direction. If this is for general / semi-general public, I wonder if it would be worth putting it on the Windows store. I have no idea what hoops that involved, but it's meant for general distribution.

                        Christopher Duncan Author of Unite the Tribes: Leadership Skills for Technology Managers Have Fun, Get Paid The Career Programmer

                        D Offline
                        D Offline
                        Dan Neely
                        wrote on last edited by
                        #19

                        It's the user interface to a box of custom hardware, so it'd be useless without the hardware it ships with. I can't see any value in putting it in the store to anyone other than theoretical competitors who'd be interested in reverse engineering it.

                        Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                        1 Reply Last reply
                        0
                        • D Dan Neely

                          Sorry to keep bombarding you with messages... I've figured out what was missing in that blog post ([exposing the update service for consumption](https://docs.microsoft.com/en-us/windows/uwp/launch-resume/how-to-create-and-consume-an-app-service)) and managed to get my proof of concept demo working. Since you've put this into production, I do have one farther question. Is there a more elegant solution for the initial install than zipping both app package builds up and running the powershell scripts to deploy the app+certs for the main app and updater apps in sequence. To minimize human error I'd prefer to have a single execution point that would install both of them. Going to a production level setup I probably want to have the main app able to be able to install a new version of its updater if needed. Would bootstrapping that into running the install script for the main app, and having it install the update tool instead of running 2 installers work? Not sure I really like that though since it potentially splits the initial install into two steps that could be run by different users at widely different times. (Yeah, the person doing the install should test that it worked by launching the app. \*SHOULD*)

                          Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                          P Offline
                          P Offline
                          Pete OHanlon
                          wrote on last edited by
                          #20

                          I'm going to have a play around with the new side loader in W10. I'll get back to you as soon as I've had a chance to kick the tyres on it - hopefully simplifying things a bit.

                          This space for rent

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups