Installing application through CAB to predefined folder(\Application)

S

sanduche

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,
 
C

Christopher Fairbairn

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top