We have a provisioning website where a user logs in, enters the device IMEI #, phone # and submits. Now, this site will generate a unique CAB file on the fly for this individual and push it to his/her device. This CAB will will have a _setup.xml file which modifies a registry entry on the device. However, this will be unique to this device only, and hence should run only if the IMEI # matches.
Question 1 - Is it possible for a CAB file to check phone's IMEI # before installing the CAB (Windows mobile 6)?
Answer: Looks like it is using SETUP.DLL file link (Thanks Paul)
Question 2 - How can I pass the IMEI # this individual submitted in the form as a parameter to SETUP.DLL so that SETUP.DLL can read the device IMEI and compare it to this one? Is it possible to add it to _setup.xml?
The goal is to create a CAB file that can be installed on one device only (I believe IMEI will be the best thing to restrict it to one device)
Thanks in advanced..
Edited by iekhan, 22 September 2008 - 01:43 PM.