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

Re: Build cab file with .NET 2.0 runtime by Ilya

Ilya
Thu Apr 27 18:54:36 CDT 2006

1. Please see this:
http://msdn.microsoft.com/library/default.asp?url=/library/en-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).

"farseer" <farseer@optonline.net> wrote in message
news:1146181579.375200.263840@j33g2000cwa.googlegroups.com...
> 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
>



Re: Build cab file with .NET 2.0 runtime by farseer

farseer
Thu Apr 27 20:12:46 CDT 2006

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


Re: Build cab file with .NET 2.0 runtime by Ilya

Ilya
Thu Apr 27 20:46:11 CDT 2006

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).

"farseer" <farseer@optonline.net> wrote in message
news:1146186766.532307.206570@g10g2000cwb.googlegroups.com...
> 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
>



Re: Build cab file with .NET 2.0 runtime by farseer

farseer
Thu Apr 27 20:50:48 CDT 2006

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?


Re: Build cab file with .NET 2.0 runtime by Ilya

Ilya
Thu Apr 27 21:22:30 CDT 2006

Since it's asking, you're using it already. There are some details in CAB
creation description:



http://msdn.microsoft.com/library/default.asp?url=/library/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).

"farseer" <farseer@optonline.net> wrote in message
news:1146189047.978042.165550@i39g2000cwa.googlegroups.com...
> 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?
>



Re: Build cab file with .NET 2.0 runtime by farseer

farseer
Thu Apr 27 23:10:11 CDT 2006

thanks much for your assistance. u've been a great help


Re: Build cab file with .NET 2.0 runtime by farseer

farseer
Thu Apr 27 23:10:12 CDT 2006

thanks much for your assistance. u've been a great help