How can I install my application into the program?

I am developing an application on PPC windows mobile 2003 using VS2003, c#.

Every time I want to run it, I should go to /program files/application/***.exe

How can I install it into the Pocket PC Then, I can see and run it in the program as other windows default program such as calculator, pocket word.

Thanks.

Toby




Answer this question

How can I install my application into the program?

  • kebabbert

    Toby,

    Goto Project->Properties and on the application tab, midway down the form is an Icon section. Place the icon you wish your app to have here before you build.



  • plshn99

    Thanks very much. JR Lyon.

    Another problem is that the exe file is always shown as windows default application icon. Thus, it is not easy to distinquish it in the "\windows\start menu". How can I customize it Is there any settings in visual studio for that

    Thanks.

    Toby



  • Klaus-Dieter

    toby,

    If you just want to make the shortcut in the Start Menu goto the file explorer, click and hold on the exe and select copy. Then goto "\Windows\Start Menu" and click on some white space and select "Paste Shortcut" This will make a shortcut of your exe in the start menu.

    If you want to deploy your exe you need to build your exe into a CAB file. I think you can make the CAB in VS 2003, I know you can in VS 2005 using a deployment project. This CAB will install everything you need on the PDA, if you run it from the PDA directly (ie copying the CAB to the PDA and clicking on it). If you want things like shortcuts or registry settings, you build those into the CAB as well.

    If you want to install from the PC you need to take the CAB and make an MSI file. The process from CAB to MSI is easy enough using the freeware ezsetup. Also make sure you install any Compact Framwork components that are necessary.

    There are also several installer programs for WinCE out there that will build entire installations from your exes but these cost money.

    Hope this helps.



  • How can I install my application into the program?