{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/MixedRealityToolkit-Unity/issues/2090","repository_url":"https://api.github.com/repos/Microsoft/MixedRealityToolkit-Unity","labels_url":"https://api.github.com/repos/Microsoft/MixedRealityToolkit-Unity/issues/2090/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/MixedRealityToolkit-Unity/issues/2090/comments","events_url":"https://api.github.com/repos/Microsoft/MixedRealityToolkit-Unity/issues/2090/events","html_url":"https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/2090","id":322800412,"node_id":"MDU6SXNzdWUzMjI4MDA0MTI=","number":2090,"title":"Support Generation of AppInstaller file","user":{"login":"BenWoodford","id":503263,"node_id":"MDQ6VXNlcjUwMzI2Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/503263?v=4","gravatar_id":"","url":"https://api.github.com/users/BenWoodford","html_url":"https://github.com/BenWoodford","followers_url":"https://api.github.com/users/BenWoodford/followers","following_url":"https://api.github.com/users/BenWoodford/following{/other_user}","gists_url":"https://api.github.com/users/BenWoodford/gists{/gist_id}","starred_url":"https://api.github.com/users/BenWoodford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenWoodford/subscriptions","organizations_url":"https://api.github.com/users/BenWoodford/orgs","repos_url":"https://api.github.com/users/BenWoodford/repos","events_url":"https://api.github.com/users/BenWoodford/events{/privacy}","received_events_url":"https://api.github.com/users/BenWoodford/received_events","type":"User","site_admin":false},"labels":[{"id":895879244,"node_id":"MDU6TGFiZWw4OTU4NzkyNDQ=","url":"https://api.github.com/repos/Microsoft/MixedRealityToolkit-Unity/labels/Investigate","name":"Investigate","color":"C8C855","default":false},{"id":860761898,"node_id":"MDU6TGFiZWw4NjA3NjE4OTg=","url":"https://api.github.com/repos/Microsoft/MixedRealityToolkit-Unity/labels/Proposal","name":"Proposal","color":"e08531","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-14T12:44:01Z","updated_at":"2018-07-06T08:58:50Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"This is mostly preparing a suggestion for now as it's only part of the VS 15.7 inside preview and RS4, however...\r\n\r\nIt would be _very_ nice (especially for those of us doing contract work) to have a checkbox to enable the new automatic update functionality for UWP packages. I would assume it works on Hololens too, can't see any reason why not.\r\n\r\nYou can read about it here, though it doesn't include the necessary command line arguments you'd need to automate it: https://blogs.msdn.microsoft.com/appconsult/2018/03/22/handling-auto-updates-for-sideloaded-uwp-and-desktop-bridge-apps/"},"comment":{"url":"https://api.github.com/repos/Microsoft/MixedRealityToolkit-Unity/issues/comments/402973502","html_url":"https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/2090#issuecomment-402973502","issue_url":"https://api.github.com/repos/Microsoft/MixedRealityToolkit-Unity/issues/2090","id":402973502,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjk3MzUwMg==","user":{"login":"BenWoodford","id":503263,"node_id":"MDQ6VXNlcjUwMzI2Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/503263?v=4","gravatar_id":"","url":"https://api.github.com/users/BenWoodford","html_url":"https://github.com/BenWoodford","followers_url":"https://api.github.com/users/BenWoodford/followers","following_url":"https://api.github.com/users/BenWoodford/following{/other_user}","gists_url":"https://api.github.com/users/BenWoodford/gists{/gist_id}","starred_url":"https://api.github.com/users/BenWoodford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenWoodford/subscriptions","organizations_url":"https://api.github.com/users/BenWoodford/orgs","repos_url":"https://api.github.com/users/BenWoodford/repos","events_url":"https://api.github.com/users/BenWoodford/events{/privacy}","received_events_url":"https://api.github.com/users/BenWoodford/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T08:58:50Z","updated_at":"2018-07-06T08:58:50Z","author_association":"CONTRIBUTOR","body":"More interesting things...\r\n\r\nIt seems that if you have an appinstaller file in the folder, MakeAppX.exe will always update it (even through the MRTK build window) and the index.html file with the new information on build such as version number, folder, etc.\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AppInstaller Uri=\"<appinstaller url>\" Version=\"1.0.83.0\" xmlns=\"http://schemas.microsoft.com/appx/appinstaller/2017/2\">\r\n  <MainBundle Name=\"<bundle name>\" Version=\"<version num>\" Publisher=\"CN=DefaultCompany\" Uri=\"<appxbundle in build folder>\" />\r\n  <Dependencies>\r\n    <Package Name=\"Microsoft.VCLibs.140.00\" Publisher=\"CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US\" Version=\"14.0.25426.0\" ProcessorArchitecture=\"x86\" Uri=\"<appx url>\" />\r\n    <Package Name=\"Microsoft.NET.Native.Framework.1.3\" Publisher=\"CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US\" Version=\"1.3.24201.0\" ProcessorArchitecture=\"x86\" Uri=\"<appx url>\" />\r\n    <Package Name=\"Microsoft.NET.Native.Runtime.1.4\" Publisher=\"CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US\" Version=\"1.4.24201.0\" ProcessorArchitecture=\"x86\" Uri=\"<appx url>\" />\r\n  </Dependencies>\r\n  <UpdateSettings>\r\n    <OnLaunch HoursBetweenUpdateChecks=\"0\" />\r\n  </UpdateSettings>\r\n</AppInstaller>\r\n```\r\n\r\nHoursBetweenUpdateChecks = 0 means it checks for updates every launch. However auto-update doesn't appear to work on the Hololens right now :(\r\n\r\nThe appinstaller and index.html files are put in the root of the `AppPackages` folder. You then upload the latest folder (which the appx URLs will point to) and those two files to the file share or web folder for download. I can provide an appinstaller with more context later if you need one, I only have it setup for client projects right now."}}
{"actor":{"display_login":"BenWoodford"}}