Install Application to a memory card on the Device?

G

Guest

Hi, All
I build CAB file from Build CAB menu, in the property page i specified where
to install application on the device("\SD Card\APP"), this is the memory card
on the device. After i build cab, i have in \cab\release\many cab's with
different processors, the specific processor for my device is
App_WCE4.ARM4T.CAB.
I copy this cab to memory card on the device and install application from
there, but the application was installed under "\Program File\" under the
folder named by my application(by default, ignoring memory card).
What should i do to install my application to a memory cad instead of
"\Program Files" ?
Please, help
elena
 
A

Alex Feinman [MVP]

You need to edit <your project name>.inf file under Your Project
Dir\obj\Release or Your Project Dir\obj\Debug
 
G

Guest

Thank you Alex,

I didn't edit .Inf file, but when tap CAB file on the handheld it propmt
when to install, so i change the directory in dialog box and it was installed
on "\SD Card"

Is it ok that to have installation this way? i didn't change .inf file i
just redirect the installation manually...
please, advice

elena
 
I

Ilya Tumanov [MS]

Not only it's OK, that how you suppose to do it.
However, you should not set default InstallDir to the flash card.
If you do that and flash card is missing or has a different name,
installation will fail.
Set it to %CE1%\%AppName% instead, you'll be able to redirect it to any
available storage card upon installation.

Here's how:

[CEStrings]
AppName = "Application name here…"
InstallDir = %CE1%\%AppName%

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Thread-Topic: Install Application to a memory card on the Device?
thread-index: AcU3AziQWhSkeGVhT9Skng9d3X1rKQ==
X-WBNR-Posting-Host: 12.42.32.222
From: "=?Utf-8?B?ZWxlbmE=?=" <[email protected]>
References: <[email protected]>
<#[email protected]>
 

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