Build cab file with .NET 2.0 runtime

  • Thread starter Thread starter farseer
  • Start date Start date
F

farseer

Hi,
I have two questions on using Visual Studio:

-How can i build setup or cab file for my CF.Net 2.0 project using
VS2005? is there an option build as a cab file for instance?
-If the above is possible, can that cab file also include the .NET 2.0
runtime? I ask because i understand that the 2.0 frame work is not a
part of WM2005 initially.

thank you
 
1. Please see this:
http://msdn.microsoft.com/library/d...us/dnnetcomp/html/deploy_cf2_apps_cab_msi.asp
2. No, you can not, NETCF runtime should be installed as separate CAB the
same way as your application. CAB-in-a-CAB is not possible.

--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
Cool, thanks. on additional question...look through that article, i
don't see a way to change the installation directory to the SafteStore
of my device. For instance i'd like to install my app in
SaveStore\Apps\MyApp
 
If you use standard 'InstallDir' macro in your CAB, it can be redirected to
any storage card you have on particular device by WCELOAD (and AS).

You can also hardcode particular path, but that's a bad idea.


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
Can you tell me more about this standarad 'InstallDir' Macro?

What i have done so far is created a 'Smart Device Cab' project and
added my three projects. This generates a cab file for me. When i
copy this to my device and click on it, it asks m e if i want to
install in the standard area or in "SafeStore". i select save store
and it copies every thing to /SafeStore/ProgramFiles/MyAppName. That's
ok, but it would be nice to be able to customize the location to
/SafeStore/Apps/MyAppName, where i like to place my apps.

One other unrelated question. Where can i find the CF2.0 runtime cab?
 
Since it's asking, you're using it already. There are some details in CAB
creation description:



http://msdn.microsoft.com/library/d...y/en-us/wcepb40/html/cxconCreatingInfFile.asp



The folder your application would be redirected to is up to particular
version of WCELOAD, it might be different on different devices.

There's some correlation with application name, but I'm not sure what it is.



CF 2.0 CABs are described here:
http://blogs.msdn.com/netcfteam/archive/2005/10/11/479793.aspx

By default VS would put them under "%ProgramFiles%\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\<version>\<cpu>

They are redistributable so you can include them with your application as
long as they intact.


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
Back
Top