For Peter Foot

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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
 
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.
 
Back
Top