My application's setup deploys on optical media, and there is a large folder that can optionally be installed to the user's hard drive OR left on the optical media where the files in it will be accessed at runtime. The folder name and location on the CD are dictated by the application; an arbitrary folder location won't do, and the files must not be compressed into a single archive.
I used to accommodate this in Wise by using the Copy Local Files command, which didn't bundle the files into the setup executable and left them in a folder of my choosing. Files copied this way were included in Wise's install log and so would be properly removed.
I see that InstallAware also has a Copy Local Files command, but the Help says specifically that files copied using this command are not included in the log and won't be uninstalled. So how can I do this?
Furthermore, after the user chooses to either install or not install these files, I need to ensure that the progress bar proceeds appropriately, since if they opt to install the folder, an extra 10,000 files will be copied. I did this in Wise by including the Check Free Disk Space command in both branches of the If statement that controlled whether the files would be installed or not.
Deploy setup folders with particular layout
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
This isn't as clean in Windows Installer as it was in Wise. You can still delete the folders - use the Delete Files or Delete Files Recursive command. However, it may not be possible to obtain an accurate progress feedback.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 10 guests