Two urgent issues in PPC development.

G

Guest

1. An old question which I have asked several times. I want to combine the
SQL CE installation in the Pocket PC Application. I can properly install the
the PPC application, but the SQL CE is not able to be installed properly. Can
anybody send me a sample setup project in VB.NET(coz my PPC application is in
VB.NET)? My email is: (e-mail address removed) It's really urgent. Many
thanks.
2. I am given this message every time I install the PPC application. The
message says that:" the program is not properly installed as it's for the
previous version..." However it seems the program is running smoothly after
installation. But I just donot want my customer to see this message.
 
P

Peter Foot [MVP]

1. Can you be more specific of where/how the Sql CE install fails?

2. If you install on a Pocket PC 2003 Second Edition device you'll receive
this prompt unless your cab file is marked as SecondEdition aware. By
default it wont be and neither are the SqlCe redistributables, you can
however ignore this warning message in the latter case.
See here for how to update your cab file to remove this warning:-
http://msdn.microsoft.com/library/d...dnwm2k3/html/screen_orientation_awareness.asp

Peter
 
G

Guest

Ok, additional to the PPC App installer, I made three modification to the PPC
App setup project.
1. add a SQLCE.ini file:
[CEAppManager]
Version = 2.0
Component = SCE

[SCE]
Description = SQL Server CE 2.0
CabFiles =
sqlce.wce4.armv4.CAB,sqlce.ppc3.arm.CAB,sqlce.wce4.armv4t.CAB,sqlce.wce4.mips16.CAB,sqlce.wce4.mipsii.CAB,sqlce.wce4.mipsii_fp.CAB,sqlce.wce4.mipsiv.CAB,sqlce.wce4.mipsiv_fp.CAB,sqlce.wce4.sh3.CAB,sqlce.wce4.sh4.CAB,sqlce.wce4.x86.CAB,netcf.core.ppc3.arm.cab,sql.ppc3.arm.CAB,sqlce.dev.ppc3.arm.CAB,netcf.all.wce4.armv4.cab,sql.wce4.armv4.CAB,sqlce.dev.wce4.armv4.CAB,netcf.all.wce4.armv4t.cab,sql.wce4.armv4t.CAB,sqlce.dev.wce4.armv4t.CAB


2. Add an invokation to the RunAppManager function as following
Dim argSQLCE As String =
Path.Combine(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location), "SQLCE.ini") RunAppManager(argSQLCE)

Dim arg As String =
Path.Combine(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location), "Setup.ini")
RunAppManager(arg)

3. I add a "WaitForExit()" function after the process.start() function as
following.
Process.Start( _
String.Format("""{0}""", appManager), _
String.Format("""{0}""", arg)).WaitForExit()

Then After I generate the msi file and run it, the PPC App can be installed,
but when installing SQL CE it says "There is no device-compatible software to
install. "
I can send you my code if you donot mind.
Thanks.
 
G

Guest

yup, I think the error message "The program you have installed may not
display properly because it was designed for a previous versio nof windows
Mobile software" is due to the screen rotation. Many thanks.
 

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