Re: Deploying to WMPro And Standard using same CAB by r_z_aret
r_z_aret
Wed Jul 02 12:03:32 CDT 2008
On Wed, 2 Jul 2008 15:27:36 +0100, "tech1" <---> wrote:
>Hi, We have develpoed an app for WM6 using C++. The app is targeted
>to run on WM6 Professional and Standard platforms. We have a HomeScreen
>plugin for the WM6 Standard and a TodayScreen plugin for WM6 Pro.
>We would like to have the dlls in the same CAB and then the same cab
>can be used for either platform. Is there anyway of selectively deploying
>a certain component of the CAB depending on the platform at runtime.
A setup DLL can do almost anything. It can call ::SystemParametersInfo
with SPI_GETPLATFORMTYPE as the first argument, although I don't know
what strings will be returned for the two platforms you want to
distinguish. The setup DLL can then decide which DLL(s) to install.
I'm not sure how the setup DLL can get files out of a CAB; if nothing
else, the cab could install all of the DLLs in a convenient place,
then the setup DLL can pick the right one and delete the rest.
>
>These plugins are the only real differences and thus causing this headache.
>Thanks
>
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com