Setup Problem

  • Thread starter Thread starter Tom Bean
  • Start date Start date
T

Tom Bean

I read "Developing and Deploying Pocket PC Setup Applications" article as
recommended in other messages in this newsgroup and downloaded and built the
"Deployment.msi" sample and the sample installs on my Pocket PC 2002 device

I followed the procedure outlined in the article and plagiarized heavily
from the sample, however, my application doesn't install and I get the
message "Application Manager cannot install this application on your mobile
device due to an invalid setup file. Reinstall and try again."

Does anyone have any idea what I may be doing wrong or know of any way to
get more information about what is "invalid" in my setup file?

Thanks,
Tom
 
I have discovered what my problem was caused by and thought I'd answer my
own question in case others are having similar problems.

The answer to my second question about getting more information was solved
by setting a registry key. Under
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows CE Services\AppMgr, create a
DWORD value named ReportErrors and set it to 1. This causes Application
Manager to pop several message boxes as it processes the setup. I had
attempted to run Application Manager with the /report option but got no
messages but the registry setting works.

To complete my confession, I didn't plagiarized well enough because I
changed the Version in the setup.ini to 1.1 which is the version of my app.
The messages displayed by Application Manager informed me that the setup.ini
file contained an incorrect version. Apparently, it insists that the
version entry by 1.0.

Hope this information helps someone.

Best Regards,
Tom
 
Back
Top