My program work with user.txt file where user save his data.
During program uninstall user.txt will uninstalled too due it included into .pkg file. ("C:\user.txt"-"!:\Data\My\user.txt")
When program upgrades, user.txt on phone will be replaced on file from install package.
It is not good because user need to save his data into user.txt again.
I can't use PU Type of package because user need to have one-file install package.
Can I somehow don't overwrite this file ?
You can try creating user.txt file from the application. so by this approach, you can check whether this file exist or not too. If file already exist, you can ignore creating it and can proceed with you leftover acitivities.
Search for FILENULL in the SDK Help (note that FILENULL itself is deprecated - FN is what you are going to use -, it is just easier to decode I think).
Forum posts: 121
You can try creating user.txt file from the application. so by this approach, you can check whether this file exist or not too. If file already exist, you can ignore creating it and can proceed with you leftover acitivities.
Jupitar
Forum posts: 121
Use RFile and RFs for creating a new file
Jupitar
Forum posts: 9
If I'll create file from a program, then uninstaller will not remove their
Forum posts: 9
Search for FILENULL in the SDK Help (note that FILENULL itself is deprecated - FN is what you are going to use -, it is just easier to decode I think).