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.
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.