Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / April 2006

Tip: Looking for answers? Try searching our database.

Build cab file with .NET 2.0 runtime

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
farseer - 28 Apr 2006 00:46 GMT
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
Ilya Tumanov [MS] - 28 Apr 2006 00:54 GMT
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.

Signature

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.compactfra
mework?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).

> Hi,
> I have two questions on using Visual Studio:
[quoted text clipped - 6 lines]
>
> thank you
farseer - 28 Apr 2006 02:12 GMT
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
Ilya Tumanov [MS] - 28 Apr 2006 02:46 GMT
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.

Signature

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.compactfra
mework?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
farseer - 28 Apr 2006 02:50 GMT
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?
Ilya Tumanov [MS] - 28 Apr 2006 03:22 GMT
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/cx
conCreatingInfFile.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.

Signature

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.compactfra
mework?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?
>
[quoted text clipped - 7 lines]
>
> One other unrelated question.  Where can i find the CF2.0 runtime cab?
farseer - 28 Apr 2006 05:10 GMT
thanks much for your assistance. u've been a great help
farseer - 28 Apr 2006 05:10 GMT
thanks much for your assistance. u've been a great help

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.