Home arrow Forums
  • English
  • Greek
Aperitto Software Forum
Welcome, Guest
Please Login or Register.    Lost Password?
COPYFLG_NO_OVERWRITE problem (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: COPYFLG_NO_OVERWRITE problem
#436
mikecwhite (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
COPYFLG_NO_OVERWRITE problem Posted at 2008/10/31 13:24 Karma: 0  
Hi,

I'm building and installation including an sqlite database. Even if I set the flag COPYFLG_NO_OVERWRITE, when a user installs an update from me the database is overwritten. What is the best way round this?

Thanks

Mike White
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#437
nick_tg (Moderator)
Moderator
Posts: 205
graph
User Offline Click here to see the profile of this user
Re:COPYFLG_NO_OVERWRITE problem Posted at 2008/11/01 05:55 Karma: 6  
Hi,

After a search, it seems that is a problem in the windows mobile5 installer. One workaround is to use a setupdll.dll to make the check, and if the file is present, then do not install the new one.

It isn't to hard to make such a dll. In the install_init check if the file exists and if so, rename it. Let the installation continue, and in the install_exit delete the installed file and rename back the file to the desired name.

Regards,
Nick Protopapas
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#444
mikewhite (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:COPYFLG_NO_OVERWRITE problem Posted at 2008/11/03 02:24 Karma: 0  
Hi Nick,

thanks for the reply. I coded round it - seemed simpler than getting into a DLL.

By the way, this flag was failing on an install to a WM6 Pro. Emulator.

Mike
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Login Form






Lost Password?
No account yet? Register

Your Cart

Your Cart is currently empty.