CAB install project for both PPC2003 and WM5

P

Philip Grace

Hi,

I have a project that needs cab install files for both PPC2003 and WM5. It
works for both, but only so long as I set the target platform (in the
project) to what i want and then rebuild the cab. To the get a cab for the
other target, I have to change it again and build again.

Is there any way that I can have two cab build projects in my solution that
builds one cab for each target platform without the need for manually
changing the target and rebuilding ?

Cheers,
Philip/
 
D

DrewCE

Philip,

If you have a Setup.dll in the .CAB project then I think you need to build
per target.

If you don't have a Setup.dll, then you should be able to have cross target
..CAB files. However, you may need to disable compression. Not all versions
of wceload support it. I don't know which do and don't, but it's something
to watch out for.

HTH,

Drew
 
D

dbgrick

You can use the same setup dll for both projects, but you will need to ensure
you compile it for the PPC2003 project. You can run the same cab file for
both, as long as certain criteria are met.

PPC2003 cab files can not use compression. WM 5 can. Your cab file needs
to have compression disabled. This is a project property that can be changed
in the Properties page for the setup project.

PPC2003 can not install signed cab files. The wceload utility for PPC2003
does not recognize a signed cab file. It has to do with the binary signature
added to the end of the cab. The PPC2003 loader will error saying it is not
a cab file.

I hope these tips help.

Regards,
Rick D.
 

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