what are the steps to package a PPC application into a setup file ?

N

Naim

HI,
I m trying to package my SmartDeviceApplication into a setup file, by
adding a new setup project to the solution using the setup wizard.
However no matter how i tried and no matter what I changed I always get
an error message when trying to run the setup project on the device:
If I tried to package my application into a cab file i got the following
message :
Not a valid Windows CE setup file

and if i tried to package my application into a windows setup i get : is
not a valid PPC application

I know that I should package the application into a cab file
but what are the steps to do that, what should I do so that the setup
package will run on the device ?

I m using a PPC 2002

Regards
 
E

Earl

Are you creating the CAB using Visual Studio? Use the Build > Build Cab
File. After that, you can simply copy it to the root folder of the device
and tap on it to install.
 
N

Naim

thx for the help,
while i m able to package my app in a cab file now, i still got this
problem:
In my app I m using a dll written in unmanaged code (and thus can't be
added to the references).Although I put the dll in the bin directory,
the generated cab file doesn't install the dll on the device.How can I
add the dll to the cab file?
 
N

Naim

I found it. I just have to add the dll to the project in the same way I
add any other file.
 

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