Alright… so my app is almost finished and I want to install it for real on my Surface tablet. How do I do that? Is it possible?

Yes it is.

NB: People, seems like I was not entirely accurate. Before you can install the package this way, you need a developer license for your Win RT device. You can get one by installing the remote tools for VS2012 on your Surface (http://go.microsoft.com/?linkid=9810474) and remote debug at least one app you created yourself.

It involves 4 steps:

  1. Create the app packages
  2. Get files to your tablet
  3. Install the certificate included in the package on your tablet
  4. Install the app on your device

Create the app package

To do this you can navigate to Project > Store > Create App Packages…

<img src="/wp-content/uploads/sites/3/2014/01/5074_012913_5f00_0933_5f00_installingy1.png" alt="" />

You will be asked whether you have a Windows store account, just select ‘no’ and continue. Now you will be asked for the details of your package like the version and the architecture.

<img src="/wp-content/uploads/sites/3/2014/01/8546_012913_5f00_0933_5f00_installingy2.png" alt="" />

Modify as needed or just click ‘Create’. After that you will be shown a window with a link to the outputpath of the package and the possibility to start the Windows App Certification Kit. Klik on the first link to be taken to your package and then click ‘OK’.

You’ll find an .appxupload file and a folder with more files. The .appxupload file is just a zip (if you rename you can open it). The folder contain the interesting documents though…

Getting the files on your tablet

There is one awesome way to get the files on your tablet: SkyDrive! Of course mail, usb or similar will also work.

Move these files to your device: the .appx file and the certificate. Optionally you could include the .appxsym file to include the symbols. BTW both the appx and the appxsym files are zip files.

I placed the files in my SkyDrive and downloaded them to my desktop on my tablet.

Install the certificate on your tablet

When I open the certificate file on my tablet I get option to install the certificate. Now, you should install it to the local machine, make sure the certificate is installed in the ‘Trusted Root Certification Authorities’ store (NOT automatically selected).

Now this step is done… easy right?! On to the files stage: installing your app…

Install the app on your device

Open a powershell window in administrator mode. (Open start, search Powershell, select by dragging down, select ‘Run as Administrator’)

In the powershell console, navigate to the place where your application is. (Hint: ‘cd’ for change directory works fine…)

Now type ‘Add-’ and tab to let powershell finish the command. It now says: Add-AppxPackage

Just specify the appx filename: Add-AppxPackage .<filename>.appx

Hit enter. The app should now install.

NB: People, seems like I was not entirely accurate. Before you can install the package this way, you need a developer license for your Win RT device. You can get one by installing the remote tools for VS2012 on your Surface (http://go.microsoft.com/?linkid=9810474) and remote debug at least one app you created yourself.

Installing your app on your Windows RT device的更多相关文章

  1. Windows on Device 项目实践 5 - 姿态控制灯制作

    在前面几篇文章中,我们学习了如何利用Intel Galileo开发板和Windows on Device来设计并完成PWM调光灯.感光灯.火焰报警器和智能风扇的制作,涉及到了火焰传感器.DC直流电机. ...

  2. Windows on Device 项目实践 4 - 智能风扇制作

    在前面的文章中,我们已经学习并且利用Intel Galileo开发板和Windows on Device制作了火焰报警器.感光灯和PWM调光灯.在这个项目中,我们来利用温度传感器和直流电机,完成一个简 ...

  3. Windows on Device 项目实践 3 - 火焰报警器制作

    在前两篇<Windows on Device 项目实践 1 - PWM调光灯制作>和<Windows on Device 项目实践 2 - 感光灯制作>中,我们学习了如何利用I ...

  4. Windows on Device 项目实践 2 - 感光灯制作

    在上一篇<Windows on Device 项目实践 1 - PWM调光灯制作>中,我们学习了如何利用Intel Galileo开发板和Windows on Device来设计并完成一个 ...

  5. Windows on Device 项目实践 1 - PWM调光灯制作

    在前一篇文章<Wintel物联网平台-Windows IoT新手入门指南>中,我们讲解了Windows on Device硬件准备和软件开发环境的搭建,以及Hello Blinky项目的演 ...

  6. Installing IIS 8.5 on Windows Server 2012 R2

    原文 Installing IIS 8.5 on Windows Server 2012 R2 Introduction This document describes how to install ...

  7. 【Azure 应用服务】Azure Mobile App (NodeJS) 的服务端部署在App Service for Windows中出现404 Not Found -- The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    问题描述 使用NodeJS的后端应用,开发一个Mobile App的服务端,手机端通过REST API来访问获取后端数据.在本地编译好后,通过npm start启动项目,访问效果如下: 但是,当把项目 ...

  8. 【Azure 应用服务】在 App Service for Windows 中自定义 PHP 版本的方法

    问题描述 在App Service for Windows的环境中,当前只提供了PHP 7.4 版本的选择情况下,如何实现自定义PHP Runtime的版本呢? 如 PHP Version 8.1.9 ...

  9. Installing Ubuntu on a Pre-Installed Windows 8 (64-bit) System (UEFI Supported)

    http://askubuntu.com/questions/221835/installing-ubuntu-on-a-pre-installed-windows-8-64-bit-system-u ...

随机推荐

  1. SQL常用命令浅析

    表操作备注:操作之前使用“use <数据库名>”应连接某个数据库.建表命令:create table <表名> (<字段名 1> <类型 1> [,.. ...

  2. 使用Memcached、Spring AOP构建数据库前端缓存框架

    数据库访问可能是很多网站的瓶颈.动不动就连接池耗尽.内存溢出等.前面已经讲到如果我们的网站是一个分布式的大型站点,那么使用 memcached实现数据库的前端缓存是个很不错的选择:但如果网站本身足够小 ...

  3. <二> jQuery 语法

    通过jQuery你可以选择/查询html元素,并对它们进行操作.jQuery 使用的语法是 XPath 与 CSS 选择器语法的组合. $(this).hide() 隐藏当前html元素 $(&quo ...

  4. Xcode 7.3.1的模拟器路径

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Core ...

  5. C#基础|初探反射

    什么是反射 我们编写的C#代码都可以编译成exe文件或dll文件.暂时先把他们叫做程序集吧,程序集中包含了很多信息.你写了一个类,类中会有字段,有属性,有方法,编译是会把这些信息保存在程序集中,暂时把 ...

  6. PHP reset() 函数

    定义和用法 reset()函数把数组的内部指针指向第一个元素,并返回这个元素的值.若失败,则返回 FALSE. reset()函数用来将数组指针设置回数组的开始位置.如果需要在一个脚本中多次查看或处理 ...

  7. TC Asia Competition

    250PT不说了.很水得一题. 500PT 给定n(<=1e18),求最大的因子,且这个因子为完全平方,假设这个因子为x那么满足x*x*y = n, 一直枚举因子到n^(1/3)就可以了. 最后 ...

  8. 解析rss和atom文件出现乱码问题

    try { String xmlString = new String(response.data, Charset.forName("UTF-8")); XmlPullParse ...

  9. redis消息队列

    http://blog.csdn.net/21aspnet/article/details/7455032

  10. Python和C|C++的混编(一):Python调用C、C++---Boost库

    不使用boost.python库来直接构建dll的话比较繁琐,下面实例是借助boost库实现python对C.C++的调用 1 首先确定已经安装python和boost库,本例测试环境是python2 ...