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 / February 2008

Tip: Looking for answers? Try searching our database.

Installing application through CAB to predefined folder     (\Application)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sanduche@gmail.com - 28 Feb 2008 13:33 GMT
Hi all,
I developed application that will run on Symbol MC3000 WinCE5.0
devices. On that device only \Application directory is cold boot
persistent. Now I would like for application CAB file to install
application in \Application folder by default (fow now I know that
this is only possible for \Program Files folder). I am using VS.NET
2005 and CF .NET 2.0. Is there a way to set up CAB file to use
\Application folder as a default installation location?

Thanks in advance,
Christopher Fairbairn - 28 Feb 2008 22:15 GMT
Hi,

> Now I would like for application CAB file to install
> application in \Application folder by default (fow now I know that
> this is only possible for \Program Files folder). I am using VS.NET
> 2005 and CF .NET 2.0. Is there a way to set up CAB file to use
> \Application folder as a default installation location?

You should be able to do this by simply hardcoding the path you want the
files deployed to within your CAB file. Instead of using the "special
folders" feature within the file system view of the CAB Smart Device
deployment project you should instead add a new "custom folder" called
Application. You should then be able to add files/project output as you
would have done previously.

Since you have a hardcoded installation location you might like to review
the "User Selected Installation" article on MSDN
(http://msdn2.microsoft.com/en-us/library/ms934876.aspx) to figure out how
to remove the prompt that users may see requesting them to select to install
to a storage card or main storage. As far as I know removing this prompt
isn't easy if you want to use the Visual Studio deployment project type, but
if you don't mind dropping down to the command line tools you could remove
this prompt.

Hope this helps,
Christopher Fairbairn

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.