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.

Re: For Peter Foot by Peter

Peter
Thu Nov 11 13:17:28 CST 2004

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" <BlueMoon@discussions.microsoft.com> wrote in message
news:DC22BB6A-94A0-4C64-86E6-FA85B46D698D@microsoft.com...
> 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.
>



Re: For Peter Foot by BlueMoon

BlueMoon
Thu Nov 11 22:58:07 CST 2004

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 [MVP]" wrote:

> 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" <BlueMoon@discussions.microsoft.com> wrote in message
> news:DC22BB6A-94A0-4C64-86E6-FA85B46D698D@microsoft.com...
> > 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.
> >
>
>
>