When launcher starts portable app it shloud copy all fles from "DefaultData" to "Data" folder if thay are not already there.
PortableApps.com Platform 15.0.2
If "Data" folder does not contain any of those files (it's "empty"), all files are copied, but if some files already exists in "Data" folder from previous run, than new files are not copied to "Data" folder.
For example:
I removed one old file from "DefaultData" with installer (complete file structure must be changed) and added new version in "DefaultData" folder.
Installer correctly removed that file from "Data" folder, but launcher does not copy this one file (now not existing) in "Data" folder from "DefaultData" folder.
If I delete ALL files from "Data" folder, then all files are copied, with that new file.
It could be tested also if only one file (of few) that exists in "DefaultData" folder is deleted from "Data" folder, louncher will not copy only that file from "DefaultData" folder.
If all files in "Data" folder are deleted, then all files from "DefaultData" folder are copied.
First, a clarification. Moving files from DefaultData to Data is part of the individual app's launcher. AppNamePortable.exe, etc. The platform doesn't touch any of these files.
Second, this behavior is by design. All files and directories are copied from DefaultData to Data on first run only. That way if there are files an end user wants to remove, they can. If you want a different behavior, you'll have to write some custom code.
Sometimes, the impossible can become possible, if you're awesome!
Thanks for explanation.
I'll find another way to solve this situation.
I'll delete those files from "Data" and "DefaultData" folders and add new files to application folder with installer.
Works too, without any extra code.
Thanks again