Hi,
I've built an installer that upgrades an existing installation but puts the new version into a different installation folder (i.e. used to be in c:\program files\... now installing to c:\app_dir). In an effort to preserve a large data folder and it's contents from the old installation I've done the following:
- created custom property in install parameters called old_data_folder
- created a property based folder with same name
- created a search for the old data folder
- created a custom action, if search result is not blank, set value of old_data_folder to search result
- in files and folders I've created a file copy/move that takes all contents of the old_data_folder (*) and moves them to a new data folder under APP_DIR
This works great. Problem is I need to move not only the file contents of the old_data_folder, but also any folders and subfolders that may exist. Can I use this technique to accomplish this?
Thanks,
Pedro
FOLLOW US
Get the latest news in Application Packaging