T
Tim Johnson
I did a very simple test to try to understand the cab file building process.
I have a test PocketPC app that just uses the OpenNETCF SoundPlayer to play
the alarm1.wav file when a button is clicked. If I do "Build Cab File" I
notice that the .INF file it creates refers to a "vsd_config.txt.ARMV4" file
which contains references to the OpenNetCF cab file and dlls, as well as the
..net CF cab files and dlls.
All the The cab files being referenced are on C:\Program Files\Microsoft
Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows
CE\wce300\ARMV4.
If I do deploy this "TestCab" app from VS, all the dlls get downloaded and
the app works. But if I don't do that, but instead only copy the CAB file
to the device and open it, I get this message:
"TestCab requires the installation of OpenNETCF.SDF.ppc3.ARMV4.CAB for it to
run properly. Install the Cab file before running this application".
In fact, even if I first copy that cab file down and run it, then re-run my
cab, I get exactly the same message.
However if I ignore those messages and then run my app, it works - it plays
the wav file.
Odder still, if I go into /Windows and delete all the "OpenNetCF*" dlls, my
app still works. Kinda mystifying.
I guess I thought creating a CAB file of my app would generate everything
I'd need to deploy it, ie it would include the cab files it's dependent on.
Is there any way to create a single CAB file that contains everything my app
needs to be deployed?
--
Tim Johnson
High Point Software, Inc.
www.high-point.com
(503) 312-8625
I have a test PocketPC app that just uses the OpenNETCF SoundPlayer to play
the alarm1.wav file when a button is clicked. If I do "Build Cab File" I
notice that the .INF file it creates refers to a "vsd_config.txt.ARMV4" file
which contains references to the OpenNetCF cab file and dlls, as well as the
..net CF cab files and dlls.
All the The cab files being referenced are on C:\Program Files\Microsoft
Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows
CE\wce300\ARMV4.
If I do deploy this "TestCab" app from VS, all the dlls get downloaded and
the app works. But if I don't do that, but instead only copy the CAB file
to the device and open it, I get this message:
"TestCab requires the installation of OpenNETCF.SDF.ppc3.ARMV4.CAB for it to
run properly. Install the Cab file before running this application".
In fact, even if I first copy that cab file down and run it, then re-run my
cab, I get exactly the same message.
However if I ignore those messages and then run my app, it works - it plays
the wav file.
Odder still, if I go into /Windows and delete all the "OpenNetCF*" dlls, my
app still works. Kinda mystifying.
I guess I thought creating a CAB file of my app would generate everything
I'd need to deploy it, ie it would include the cab files it's dependent on.
Is there any way to create a single CAB file that contains everything my app
needs to be deployed?
--
Tim Johnson
High Point Software, Inc.
www.high-point.com
(503) 312-8625