2

I'm in the progress of finishing up an application for Windows CE 5, and I was wondering what the easiest way of installing the application on CE 5 devices would be.

Hitting "publish" in VS8 generates an installer, but this installer isn't compatible with CE 5.

What is an easy, effective way of installing my applications on Windows CE 5?

Edit: Follow-up here.

Community
  • 1
  • 1

2 Answers2

4

The easy way is to just add a new Deployment project to your existing solution.

Right-Click your solution and pick Add > New Project

add new project

Go to Other Project Types, select the Smart Device CAB Project

Cab Project

Right click the new project, including all the files your project uses, then build it.

UPDATE:

Be sure to Add Project Output!

project output

  • this setup for desktop application not for smart device applications – Mohammad abumazen Jun 18 '13 at 18:26
  • Whoops. Good catch. Select the **Smart Device CAB Project**. Answer has been updated! –  Jun 18 '13 at 20:32
  • This worked great! I never even looked at the setup & development projects. I assume I can use the "Setup Project" project for regular desktop applications? –  Jun 19 '13 at 06:09
  • When running the built CAB on my CE 5 device, I seem to be getting the error "The file {0} is not a valid Windows CE Setup file." where {0} is the path to the file. Any help? –  Jun 19 '13 at 09:15
  • Be sure to Add Project Output. See Update. –  Jun 19 '13 at 12:30
  • @jp2code, I did do that, that's what's so weird about the errors. I've made a follow-up question [here](http://stackoverflow.com/questions/17188630/smartdevice-cab-is-not-a-valid-windows-ce-setup-file) if you're interested. –  Jun 19 '13 at 20:17
1

For windows CE and windows mobile applications use CAB file, in this link describe how to create CAB file.

Chris
  • 5,584
  • 9
  • 40
  • 58
Mohammad abumazen
  • 1,286
  • 1
  • 11
  • 24