PPC Install

  • Thread starter Thread starter Aaron
  • Start date Start date
A

Aaron

Not sure if this is the group to be posting this in, but I have finished
development of an application in CF .NET and need to deploy it via an
already existing VB 6 custom setup application. I saw there was a sample
deployment app on Microsoft's site, but this was writing in VB/C# .NET and
the code I need to write is in VB 6 as per request of my client.

I know how to create a .cab file using the cabwiz.exe, but what I don't know
is the rest of the equation. How do I write the code in VB 6 so once they
click on the install button in my setup app the CE Application Manager pops
up and installs my cab file using my .ini file. Also, other than the CF
..NET, what else needs to be included in my cab other than my .exe file and
other data files? Any help, sample app, code, or snippets would be
extremely helpful.

Thanks
 
A cab file is installed to the device by CeAppMgr on the desktop which is
passed an .ini file which defines the cab files which make up a specific
package (a version for each cpu/platform type to be supported). Therefore
from VB you need to launch CeAppMgr.exe with the full path of your .ini file
which can be done using Shell(). There is a description with sample ini file
here:-
http://www.pocketpcdn.com/articles/creatingsetup.html

Peter
 
Things are working so far in regards to building my cab and so on; however,
I still don't know what Visual Studio .NET bundles into an ARM cab file, I
see my two Xml files, my .exe, then I see a vsd_config.txt, vsd_setup.dll,
an .lnk file and one other file that I can't seem to make out. My question
remains, what other files do I need to include in my cab file and where does
each go (i.e. what directory on the user's handheld)?
 
Back
Top