I'm having trouble getting the downloadable data files to work in Install4j. Here's what I'm doing. I expected to see the "phony_license_web.txt" in the AppData\Programs\myprogram folder.
- Create a file "phony_license_web.txt" in Define Distribution Tree. It is added to the Default file set > Installation directory.
- Go to Media > Windows > Data files
- Specify a download URL "http://localhost/testsite". There is a file at http://localhost/testsite/phony_license_web.txt.
- Check "Save downloaded files on Install files.
- Build the project
- Test the installer
I tried a Download Installation Components action but removed it since the documentation said Install Files would do this automatically.
Thanks, Carl
Updated Test Case
- Create a data file "license_web.txt" under an IIS folder with directory browsing turned on. Going to http://localhost/components displays the file item. Clicking on the link brings up the text file.
- In the Installation Components, add an Installation Component "Data Files". Set the downloadable option. There are no files checked for this component.
- In Media > Windows > Wizard, select Data files and check the downloadable radio button. Enter http://localhost/components.
- Test the installer
- Verify that the data file license_web.txt does not appear anywhere in the installation directory (subfolder of AppData\Programs)