how to install .Net CF, OpenNetCF, SQLCE, and my application CAB with a single installer file ?

A

AAA

how to install .Net CF, OpenNetCF, SQLCE, and my application CAB with a
single installer file ?

below is the code that i wrote under AfterInsall, but having problem to
detect the correct file and deploy them...
maybe I dun know where the ini files are stored. any one could guide me
which directory should I retrieve the necessary file.
thanks

pls note that I have try to retrieve only myapplicationSetup.ini. no problem
at all.
later i tried to add the rest of OpennetCF, SQLCE, .NetCF, SQLCEDev file.
then got problem already.

problem- i dun know what are the file that I need to copy to handheld. May I
know which ini file are needed for .NETCF, SQLCE, OPENNETCF....


Private Sub Installer_AfterInstall(ByVal sender As Object, _
ByVal e As System.Configuration.Install.InstallEventArgs) _
Handles MyBase.AfterInstall

' get fullpath to .ini file
Dim arg As String = Path.Combine(Path.GetDirectoryName( _
System.Reflection.Assembly.GetExecutingAssembly().Location), _
"myapplicationSetup.ini")_
+ "\" \ "" + Path.Combine( _
Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location),
_
"CF.ini") + "\" \ "" + Path.Combine( _
Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location),
_
"SQLCE.ini") + "\" \ "" + Path.Combine( _
Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location),
_
"SQLCEDEV.ini")

' run WinCE App Manager to install .cab file on device
RunAppManager(arg)
End Sub
 
K

Knight

I dont get what are the SQLCEDEV.ini and other files that you have.
Have you written them manually. You can combine all cabs into a single
cab just like including a any other file.

For .NET, SQLCE files are
netcf.all.wce4.armv4t , sql.wce4.armv4t and sqlce.wce4.armv4t

You can then run the respective cab files through ShellExecute() fn
 

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