For Peter Foot


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 don't mind.
Thanks.
 
Ad

Advertisements

P

Peter Foot [MVP]

Looking at the list of files you seem to have included all the various CPU
versions, what type of device are you installing onto? Also have you double
checked that these cab files themselves are correctly built into the msi
file.

Peter
 
Ad

Advertisements

G

Guest

Yes, I included all the files in the setup project and all of them are
packaged inside the msi file.
I am using Dell Axim X30 624MHz Wireless OS: MS Windows Mobile 2003 Second
Edition
Many thanks.

Peter Foot said:
Looking at the list of files you seem to have included all the various CPU
versions, what type of device are you installing onto? Also have you double
checked that these cab files themselves are correctly built into the msi
file.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

BlueMoon said:
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 don't mind.
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