Tutorials > Your own plugin/asset store (bundle installs) > How a bundle install works HOW A BUNDLE INSTALL WORKS For each catalog row, you provide: - a base URL, and - a list of relative file paths. On install, the reader: 1. picks the target folder / (subdir defaults to {id}), 2. downloads every file as .new (nested paths like assets/x.png work; their folder is created), 3. only when all files have arrived, swaps each .new over the old file, 4. on any failure, deletes the .new files. The installed copy is untouched, and a fresh, empty folder is removed again, 5. fires book.downloaded (with the first file's path) and refreshes event subscriptions, so a newly installed events plugin works immediately. Files that exist in the folder but not in the list are kept (for example a user's config.json or token.json). Updates preserve settings. When dest_dir is a plugin root (/.crosspoint/plugins, /plugins, /.plugins) and a plugin with that folder name is already installed in another root, it is updated in place instead of creating a second copy. End of this folder.