Help me create the MSI

G

Guest

Hello,

I've just finished making the application and I have a couple of questions:

1) If I'm making an app that is only for pocket pc 2002 and above.... should I develop the app using the POCKET PC or WINDOWS CE option (from the create project screen) in VS .NET 2003. (For Future reference).

2) If i'm developing the app using the Windows CE (not Pocket PC) the screen size is be default the size of a Windows CE .NET 4.2 device.... how can set the screen size to be that of a pocket pc device

MSI Bit:

3) I've created my application using the Windows CE .NET option. Now its made plenty of cabs for me. I dont know which one to deploy for which device. I only want users of Pocket PC (Phone Edition) to be able to install the app. Which cabs should I choose (PPC or WCE4) and for which processors (All / ARM / ARM4v .....)

4) I tried creating an MSI (using the method described in MSDN) it compiled fine but when I try to install it, it says the Application Manager could not install the application on your device due to an invalid installation file.

5) When I installed the MSI, it installed fine (on the desktop) except it didnt create a Setup file on the application directory of the desktop. What if the user wants to repair / reinstall the software.

6) When creating the custominstaller.... is there anyway I can prompt the user to assign hardware buttons to my application, in the after_installation function ?

Well.... thats a lot..... But any questions answered would be much appreciated.

And thanks to everyone whos helped my make my first application successfully.

Kind Regards

Vishal Rastogi
 
A

Alex Feinman [MVP]

Inline

--
Alex Feinman
---
Visit http://www.opennetcf.org
Vishal Rastogi said:
Hello,

I've just finished making the application and I have a couple of questions:

1) If I'm making an app that is only for pocket pc 2002 and above....
should I develop the app using the POCKET PC or WINDOWS CE option (from the
create project screen) in VS .NET 2003. (For Future reference).
Pocket PC, unless you intend to deploy to non-PocketPC devices
2) If i'm developing the app using the Windows CE (not Pocket PC) the
screen size is be default the size of a Windows CE .NET 4.2 device.... how
can set the screen size to be that of a pocket pc device
Do you mean in the designer? By hand. Keep in mind that when run on PPC the
form will be autoresized to the full screen (less notification bar and
optionally menu bar) size
MSI Bit:

3) I've created my application using the Windows CE .NET option. Now its
made plenty of cabs for me. I dont know which one to deploy for which
device. I only want users of Pocket PC (Phone Edition) to be able to install
the app. Which cabs should I choose (PPC or WCE4) and for which processors
(All / ARM / ARM4v .....)
For Pocket PC 2003 and up (all editions) use wce4.ARMv4. For PPC2002 it is
PPC.ARM....
4) I tried creating an MSI (using the method described in MSDN) it
compiled fine but when I try to install it, it says the Application Manager
could not install the application on your device due to an invalid
installation file.
This is typically cause by a mismatch between the setup.ini and the actual
cab file. From my very recent experience, the sample in the article puts
setup.ini into the Setup directory, while the cabs that you have added are
automatically put into the Application Folder i.e. one level up. For
CeAppMgr to succeed the CABs and setup.ini should be in the same directory.
If even one of the cabs mentioned in the setup.ini is not found (or if there
is a space after the comma in the list of cabs, or if you sneeze loudly)
CeAppMgr will fail. To debug it without having to rerun the whole setup, run
c:\program files\microsoft Activesync\CeAppMgr.exe <full path to the
setup.ini>

Also read this:
http://support.microsoft.com/default.aspx?scid=KB;en-us;q181007

5) When I installed the MSI, it installed fine (on the desktop) except it
didnt create a Setup file on the application directory of the desktop. What
if the user wants to repair / reinstall the software.
Repair/reinstall is done via ceappmgr
6) When creating the custominstaller.... is there anyway I can prompt the
user to assign hardware buttons to my application, in the after_installation
function ?
CustomInstaller runs on the desktop. You need something that runs on the
device. It might be easier to perform this on the first run
 
G

Guest

Hey Alex,

All your help was much appreciated... Wasant expecting someone to answer all the question :) .... Thanks a lot

Vishal
 
G

Guest

Hey again,

Just one more thing. Alex, you said that I should develop using the Pocket PC option.

In Pocket Pc mode, when I build the cabs I dont get any WCE4 cabs.

Do I have to modify something to get these cabs from a Pocket Pc project


Vishal
 
A

Alex Feinman [MVP]

Actually I think I was mistaken. You should use PPC.ARMV4 for PPC2003.
WCE4.ARMV4 is for CE.NET projects
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top