{"id":135,"date":"2014-04-27T14:29:57","date_gmt":"2014-04-27T14:29:57","guid":{"rendered":"http:\/\/arclab.fhws.de\/blog\/?p=135"},"modified":"2015-09-11T10:33:01","modified_gmt":"2015-09-11T10:33:01","slug":"side-loading-windows-store-app","status":"publish","type":"post","link":"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/","title":{"rendered":"Side Loading von Windows Store Apps auf ein Windows Tablet"},"content":{"rendered":"<p>Neben den Betriebssystemen iOS und Android ist auch Microsoft Windows auf mobilen Tablets anzutreffen &#8211; f\u00fcr einfachere ARM-Prozessoren in der reduzierten Version Windows RT. Doch auch auf diesen einfachen Ger\u00e4ten k\u00f6nnen mobile Apps der Windows-Welt (Windows Store Apps) eingesetzt werden.<\/p>\n<p>Im ARC.lab der FHWS stehen zwei Microsoft Surface Tablets mit Windows RT bereit, um die Ablauff\u00e4higkeit von Store Apps auf Windows RT zu \u00fcberpr\u00fcfen. Dabei stellt sich nat\u00fcrlich die Frage, wie der Programmcode einer auf dem PC entwickelten App auf ein Surface \u00fcbertragen werden kann.<\/p>\n<h2>Side Loading<\/h2>\n<p>Der normale Weg f\u00fcr Apps auf ein mobiles Device geht \u00fcber den mit dem Device verbundenen App Store. Im Microsoft \u00d6kosystem ist das der <a href=\"http:\/\/windows.microsoft.com\/de-de\/windows-8\/apps-windows-store-tutorial\">Windows Store<\/a>, mit dessen Hilfe Apps auf das Device geladen werden k\u00f6nnen. W\u00e4hrend der Entwicklung der App ist es jedoch nicht praktikabel, jedes Deployment \u00fcber den Store abzuwickeln. Aus diesem Grund hat Microsoft eine Alternative vorgesehen, das sog. <a href=\"http:\/\/blogs.msdn.com\/b\/patricka\/archive\/2012\/11\/05\/how-do-i-deploy-a-windows-8-app-to-another-device-for-testing.aspx\">Side Loading<\/a>.<\/p>\n<p>Je nach vorhandener Infrastruktur gibt es daf\u00fcr mehrere M\u00f6glichkeiten. Am ARC.lab nutzen wir die nachfolgend beschriebene einfache Variante, die ohne zus\u00e4tzliche Kosten auskommt. Allerdings sind so installierte Apps immer nur wenige Wochen auf dem Tablet ausf\u00fchrbar, weil dann die kostenfreie Entwicklerlizenz abl\u00e4uft.<\/p>\n<h3>\u00a01. Schritt<\/h3>\n<p>Zun\u00e4chst ist die App zu paketieren. Dazu \u00f6ffnet man die Projektmappe mit der App in der Entwicklungsumgebung Visual Studio 2013. Im Men\u00fc PROJEKT findet sich ein Men\u00fceintrag zur Generierung des App-Pakets:<\/p>\n<p><a href=\"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/menu.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-139 size-full\" title=\"Men\u00fcpfad zur Erstellung des App-Pakets\" src=\"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/menu.png\" alt=\"\" width=\"770\" height=\"482\" srcset=\"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/menu.png 770w, https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/menu-300x187.png 300w\" sizes=\"auto, (max-width: 770px) 100vw, 770px\" \/><\/a><\/p>\n<p>Die nachfolgende Frage, ob wir ein Paket f\u00fcr den App Store erstellen m\u00f6chten, k\u00f6nnen wir verneinen. Als Zielarchitektur w\u00e4hlen wir &#8222;neutral&#8220;, damit das Paket anschlie\u00dfend auch in ARM-Umgebungen installiert werden kann.<\/p>\n<p>Bei der Erstellung der Pakets wird ggf. eine (tempor\u00e4re) Microsoft Entwicklerlizenz generiert und das Paket damit signiert.<\/p>\n<h3>\u00a02. Schritt<\/h3>\n<p>Die generierte Verzeichnisstruktur \u00fcbertragen wir mitsamt aller Dateien auf einen USB-Stick. Da Windows Tablets i.d.R. einen USB-Anschluss besitzen, kann der Stick dort angeschlossen und als Dateisystem ge\u00f6ffnet werden.<\/p>\n<h3>3. Schritt<\/h3>\n<p>Auf dem USB-Stick befindet sich im Verzeichnis der App eine Skriptdatei mit dem Namen<\/p>\n<pre>Add-AppDevPackage.ps1<\/pre>\n<p>Diese Datei enth\u00e4lt ein Powershell-Skript, das die Side Loading &#8211; Installation auf dem Tablet vornimmt. Am einfachsten startet man es, indem man im Explorer darauf rechtsklickt und im Kontextmen\u00fc &#8222;Mit Powershell ausf\u00fchren&#8220; w\u00e4hlt.\u00a0 Sofern die Entwicklerlizenz auf dem Tablet schon bekannt und berechtigt ist, wird die App sofort installiert.<\/p>\n<p>Beim ersten Installationsvorgang und unbekannter Entwicklerlizenz muss die Lizenz vom Administrator des Tablets f\u00fcr das Tablet freigegeben werden. In diesem Fall wird nach dem Administratorpasswort gefragt:<\/p>\n<p><a href=\"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/ps-Screenshot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-144 size-full\" title=\"Powershell Konsoleausgabe\" src=\"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/ps-Screenshot.png\" alt=\"Side Loading - Konsoleausgabe\" width=\"873\" height=\"268\" srcset=\"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/ps-Screenshot.png 873w, https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/ps-Screenshot-300x92.png 300w\" sizes=\"auto, (max-width: 873px) 100vw, 873px\" \/><\/a><\/p>\n<p>Anschlie\u00dfend ist die App mittels Side Loading auf dem Tablet installiert.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Neben den Betriebssystemen iOS und Android ist auch Microsoft Windows auf mobilen Tablets anzutreffen &#8211; f\u00fcr einfachere ARM-Prozessoren in der reduzierten Version Windows RT. Doch auch auf diesen einfachen Ger\u00e4ten k\u00f6nnen mobile Apps der Windows-Welt (Windows Store Apps) eingesetzt werden. Im ARC.lab der FHWS stehen zwei Microsoft Surface Tablets mit Windows RT bereit, um die &hellip; <a href=\"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/\" class=\"more-link\"><span class=\"screen-reader-text\">Side Loading von Windows Store Apps auf ein Windows Tablet<\/span> weiterlesen<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[11],"tags":[],"class_list":["post-135","post","type-post","status-publish","format-standard","hentry","category-coding"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Side Loading von Windows Store Apps auf ein Windows Tablet - Code Comments<\/title>\n<meta name=\"description\" content=\"Vorgehensweise zum Side Loading von WIndows Store Apps auf Windows Tablets unter Umgehung des Windows Stores. Erl\u00e4uterung der Rolle der Entwicklerlizenz.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Side Loading von Windows Store Apps auf ein Windows Tablet - Code Comments\" \/>\n<meta property=\"og:description\" content=\"Side Loading von WIndows Store Apps\" \/>\n<meta property=\"og:url\" content=\"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/\" \/>\n<meta property=\"og:site_name\" content=\"Code Comments\" \/>\n<meta property=\"article:published_time\" content=\"2014-04-27T14:29:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-09-11T10:33:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/menu.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/code.efi.ohmportal.de\/blog\/#\/schema\/person\/ffe82422b514216ea426c29e9d025d3b\"},\"headline\":\"Side Loading von Windows Store Apps auf ein Windows Tablet\",\"datePublished\":\"2014-04-27T14:29:57+00:00\",\"dateModified\":\"2015-09-11T10:33:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/\"},\"wordCount\":444,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/menu.png\",\"articleSection\":[\"Coding\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/\",\"url\":\"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/\",\"name\":\"Side Loading von Windows Store Apps auf ein Windows Tablet - Code Comments\",\"isPartOf\":{\"@id\":\"https:\/\/code.efi.ohmportal.de\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/menu.png\",\"datePublished\":\"2014-04-27T14:29:57+00:00\",\"dateModified\":\"2015-09-11T10:33:01+00:00\",\"author\":{\"@id\":\"https:\/\/code.efi.ohmportal.de\/blog\/#\/schema\/person\/ffe82422b514216ea426c29e9d025d3b\"},\"description\":\"Vorgehensweise zum Side Loading von WIndows Store Apps auf Windows Tablets unter Umgehung des Windows Stores. Erl\u00e4uterung der Rolle der Entwicklerlizenz.\",\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/#primaryimage\",\"url\":\"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/menu.png\",\"contentUrl\":\"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/menu.png\",\"width\":770,\"height\":482},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/code.efi.ohmportal.de\/blog\/#website\",\"url\":\"https:\/\/code.efi.ohmportal.de\/blog\/\",\"name\":\"Code Comments\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/code.efi.ohmportal.de\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/code.efi.ohmportal.de\/blog\/#\/schema\/person\/ffe82422b514216ea426c29e9d025d3b\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/code.efi.ohmportal.de\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c7b65f3de923b480f4ac13b0308f48ec7dd074b99f7cf1642efbbf97d574ccaa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c7b65f3de923b480f4ac13b0308f48ec7dd074b99f7cf1642efbbf97d574ccaa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/code.efi.ohmportal.de\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Side Loading von Windows Store Apps auf ein Windows Tablet - Code Comments","description":"Vorgehensweise zum Side Loading von WIndows Store Apps auf Windows Tablets unter Umgehung des Windows Stores. Erl\u00e4uterung der Rolle der Entwicklerlizenz.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/","og_locale":"de_DE","og_type":"article","og_title":"Side Loading von Windows Store Apps auf ein Windows Tablet - Code Comments","og_description":"Side Loading von WIndows Store Apps","og_url":"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/","og_site_name":"Code Comments","article_published_time":"2014-04-27T14:29:57+00:00","article_modified_time":"2015-09-11T10:33:01+00:00","og_image":[{"url":"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/menu.png","type":"","width":"","height":""}],"author":"admin","twitter_misc":{"Verfasst von":"admin","Gesch\u00e4tzte Lesezeit":"2\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/#article","isPartOf":{"@id":"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/"},"author":{"name":"admin","@id":"https:\/\/code.efi.ohmportal.de\/blog\/#\/schema\/person\/ffe82422b514216ea426c29e9d025d3b"},"headline":"Side Loading von Windows Store Apps auf ein Windows Tablet","datePublished":"2014-04-27T14:29:57+00:00","dateModified":"2015-09-11T10:33:01+00:00","mainEntityOfPage":{"@id":"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/"},"wordCount":444,"commentCount":0,"image":{"@id":"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/#primaryimage"},"thumbnailUrl":"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/menu.png","articleSection":["Coding"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/","url":"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/","name":"Side Loading von Windows Store Apps auf ein Windows Tablet - Code Comments","isPartOf":{"@id":"https:\/\/code.efi.ohmportal.de\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/#primaryimage"},"image":{"@id":"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/#primaryimage"},"thumbnailUrl":"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/menu.png","datePublished":"2014-04-27T14:29:57+00:00","dateModified":"2015-09-11T10:33:01+00:00","author":{"@id":"https:\/\/code.efi.ohmportal.de\/blog\/#\/schema\/person\/ffe82422b514216ea426c29e9d025d3b"},"description":"Vorgehensweise zum Side Loading von WIndows Store Apps auf Windows Tablets unter Umgehung des Windows Stores. Erl\u00e4uterung der Rolle der Entwicklerlizenz.","inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/code.efi.ohmportal.de\/blog\/2014\/04\/side-loading-windows-store-app\/#primaryimage","url":"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/menu.png","contentUrl":"https:\/\/code.efi.ohmportal.de\/blog\/wp-content\/uploads\/2014\/04\/menu.png","width":770,"height":482},{"@type":"WebSite","@id":"https:\/\/code.efi.ohmportal.de\/blog\/#website","url":"https:\/\/code.efi.ohmportal.de\/blog\/","name":"Code Comments","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/code.efi.ohmportal.de\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Person","@id":"https:\/\/code.efi.ohmportal.de\/blog\/#\/schema\/person\/ffe82422b514216ea426c29e9d025d3b","name":"admin","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/code.efi.ohmportal.de\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c7b65f3de923b480f4ac13b0308f48ec7dd074b99f7cf1642efbbf97d574ccaa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c7b65f3de923b480f4ac13b0308f48ec7dd074b99f7cf1642efbbf97d574ccaa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/code.efi.ohmportal.de\/blog\/author\/admin\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p8QwJV-2b","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/code.efi.ohmportal.de\/blog\/wp-json\/wp\/v2\/posts\/135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code.efi.ohmportal.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code.efi.ohmportal.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code.efi.ohmportal.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/code.efi.ohmportal.de\/blog\/wp-json\/wp\/v2\/comments?post=135"}],"version-history":[{"count":15,"href":"https:\/\/code.efi.ohmportal.de\/blog\/wp-json\/wp\/v2\/posts\/135\/revisions"}],"predecessor-version":[{"id":271,"href":"https:\/\/code.efi.ohmportal.de\/blog\/wp-json\/wp\/v2\/posts\/135\/revisions\/271"}],"wp:attachment":[{"href":"https:\/\/code.efi.ohmportal.de\/blog\/wp-json\/wp\/v2\/media?parent=135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code.efi.ohmportal.de\/blog\/wp-json\/wp\/v2\/categories?post=135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code.efi.ohmportal.de\/blog\/wp-json\/wp\/v2\/tags?post=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}