Hi,
CeAppMgr requires an INI file which also contains the names of CPU specific
CAB files. You need to call the CeAppMgr twice with different INI files in
order to setup SQL Server CE or .NET CF along with your application.
There is an article in
www.CodeProject.com which also refers to an MSDN
article. If you follow these two articles together and make the following
changes in the CustomInstaller sample code in MSDN article.
Link to MSDN Article is:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/h
tml/netcfdeployment.asp
Link to CodeProject Article is:
http://www.codeproject.com/netcf/PackagingAndDeployingPPC.asp
Here is the modification that you need to make in CustomInstaller DLL
sample in the MSDN article:
RunAppManager(Path.Combine(arg, "NETCFSetup.ini"))
RunAppManager(Path.Combine(arg, "MyApp.ini"))
The following change is required with in RunAppManager.
' launch the app with Wait for Exit
Process.Start( String.Format("""{0}""", appManager),
String.Format("""{0}""",
arg)).WaitForExit()
Thanks
Ercan Turkarslan [MSFT]
Microsoft Mobile Devices Developer Support
(e-mail address removed)
This posting is provided "AS IS" with no warranties, and confers no rights.