博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Installing your app on your Windows RT device
阅读量:6069 次
发布时间:2019-06-20

本文共 3125 字,大约阅读时间需要 10 分钟。

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 () 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 () and remote debug at least one app you created yourself.

转载地址:http://cvygx.baihongyu.com/

你可能感兴趣的文章
短文本合并重复(去重)的简单有效做法
查看>>
往数据库中插入不定数量的数据
查看>>
【分布计算环境学习笔记】7 语义Web
查看>>
只允许对象生成于堆内
查看>>
尝试Razor
查看>>
CRC16
查看>>
一步一步学习Vim 全图解释
查看>>
CPU,MPU,MCU,SOC,SOPC联系与差别
查看>>
公众号我也快看不下去了
查看>>
升级WebService图形服务,将K10.2和K10.3写到一个类库,所有服务放在一个类库
查看>>
[转] HTC:html组件
查看>>
编写高质量代码改善java程序的151个建议——导航开篇
查看>>
解剖SQLSERVER 第九篇 OrcaMDF现在能通过系统DMVs显示元数据(译)
查看>>
MySQL数据库学习笔记(十二)----开源工具DbUtils的使用(数据库的增删改查)
查看>>
使用STM8SF103 ADC采样电压(转)
查看>>
PictureCutting图片批量裁切(裁剪)工具
查看>>
Android studio 中国的垃圾问题解决
查看>>
什么是服务台,他对企业有何作用
查看>>
产品经理网站列表
查看>>
转: HTTP Live Streaming直播(iOS直播)技术分析与实现
查看>>