Lao
Mon Apr 03 12:42:19 CDT 2006
Right now I do not know how to make it by simply adjusting the cab
project's setting, but probably there is one trick if you are willing
to code a little bit: Write a setup DLL. In its Install_Init function,
check the parameter "pszInstallDir", which points to the directory
where your program will be installed to. If the program does not start
with "Storage Card", then return an error codeINSTALL_INIT_CANCEL.
This is an obviously a hack, as there is no clearly documented way to
find out whether a directory belongs to a storage card. "Storage Card"
probably is the one most English devices are using.
---
Lao K
Windows Mobile Pocket PC Smartphone Programming Hints and Tips
http://windowsmobilepro.blogspot.com