Last post Mar 01, 2012 02:53 AM by roopeshreddy
Feb 26, 2012 12:46 AM|hemendrashekhar|LINK
I am developing scanning application for windows mobile 5.0 & 6.0. I have created .cab file for deployment on Intermec handheld device. With the .cab file I have added .sdf file for database.
When I make changes in the code, for that .cab file is created and then it is run on Handheld device. Issue is when I run .cab database is reset and all previous values are deleted. One solution that I moved is to remove the .sdf file while creating .cab
file and before installing it on device take the back up of database.
Do anyone has idea to create customizable .cab files so that when I run this cab file it will check if the .sdf file exists then it will not overwrite it and simply the .exe file will be overwritten?
Or any other way to update the program using the cab files?
Mar 01, 2012 02:53 AM|roopeshreddy|LINK
Yeah! You can do that! Check the below link!
In the above link, scroll down to CopyFiles section, you got some flags to set!
You may need to set the
COPYFLG_NO_OVERWRITE flag to get the behaviour!
Hope it helps u...