PDA

View Full Version : Files / folder added after install are deleted when next update is run.



gene17
04-23-2015, 11:30 AM
Hope someone can help, here's the scenario.

- Program is installed (long time user of SetupBuilder, we use very little custom scripting.)
- Later on, additional files and a folder are copied manually to a subfolder within the installation. (Additional files needed for custom work for this particular customer.)
- Afterwards, an updated version of the same installer is run.
- This update deletes the files and folder that were previously added manually. Of course, we would like these files added manually to stay.

What am I missing here?

Thanks,
Gene Hellums

linder
04-24-2015, 01:58 AM
Gene,


What am I missing here?

By default, SetupBuilder (uninstall) only removes files and folders that it created. If an update (install) deletes files and folders that were previously added manually then you have script functions in your update project that explicitly instruct the installer to remove the files and folders. For example, "Delete Folder Tree...", "Delete File(s)..." or "Delete Folder..." functions. Or "Move File(s)..." or "Move Folder Tree...".

SetetupBuilder itself will never remove files and folders that were previously added manually.

Does this help?

Friedrich

linder
04-24-2015, 02:49 AM
BTW, if you are interested, you can send your project file (.sb8) and your include scripts (.sbi) to support [at] lindersoft [dot] com and we'll review it for you.

Friedrich