Using Data Files in Install4j
up vote
3
down vote
favorite
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 AppDataProgramsmyprogram 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 AppDataPrograms)
install4j
add a comment |
up vote
3
down vote
favorite
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 AppDataProgramsmyprogram 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 AppDataPrograms)
install4j
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
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 AppDataProgramsmyprogram 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 AppDataPrograms)
install4j
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 AppDataProgramsmyprogram 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 AppDataPrograms)
install4j
install4j
edited Nov 23 at 15:32
asked Nov 19 at 16:51
TornadoFX Fan
1915
1915
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
Downloadable data files works with installation components, not with single files. You have to create an installation component on the
Files->Installation Components
step and mark it as downloadable. Then the compiler will create data files that you have to host on your web server under the specified URL.
I forgot to mention that in after I added a File, I created an Installation Component with the download option.
– TornadoFX Fan
Nov 19 at 22:11
Still, you don't host the file itself, but the produced data filed in the media output directory. The installer will download those files.
– Ingo Kegel
Nov 20 at 9:27
Do I need to specify a file as the basis of the Installation Component or does the download URL use a directory index to grab everything?
– TornadoFX Fan
Nov 20 at 16:23
On the "Data files" step of the media wizard you specify a URL to a directory. The download of the data files is done by the "Install files" action as required.
– Ingo Kegel
Nov 20 at 21:58
I updated the test case. I don't understand where you specify what gets downloaded or if it's everything under the URL entered in "Data files". See my updated test procedure in the main question.
– TornadoFX Fan
Nov 23 at 15:36
|
show 1 more comment
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Downloadable data files works with installation components, not with single files. You have to create an installation component on the
Files->Installation Components
step and mark it as downloadable. Then the compiler will create data files that you have to host on your web server under the specified URL.
I forgot to mention that in after I added a File, I created an Installation Component with the download option.
– TornadoFX Fan
Nov 19 at 22:11
Still, you don't host the file itself, but the produced data filed in the media output directory. The installer will download those files.
– Ingo Kegel
Nov 20 at 9:27
Do I need to specify a file as the basis of the Installation Component or does the download URL use a directory index to grab everything?
– TornadoFX Fan
Nov 20 at 16:23
On the "Data files" step of the media wizard you specify a URL to a directory. The download of the data files is done by the "Install files" action as required.
– Ingo Kegel
Nov 20 at 21:58
I updated the test case. I don't understand where you specify what gets downloaded or if it's everything under the URL entered in "Data files". See my updated test procedure in the main question.
– TornadoFX Fan
Nov 23 at 15:36
|
show 1 more comment
up vote
1
down vote
Downloadable data files works with installation components, not with single files. You have to create an installation component on the
Files->Installation Components
step and mark it as downloadable. Then the compiler will create data files that you have to host on your web server under the specified URL.
I forgot to mention that in after I added a File, I created an Installation Component with the download option.
– TornadoFX Fan
Nov 19 at 22:11
Still, you don't host the file itself, but the produced data filed in the media output directory. The installer will download those files.
– Ingo Kegel
Nov 20 at 9:27
Do I need to specify a file as the basis of the Installation Component or does the download URL use a directory index to grab everything?
– TornadoFX Fan
Nov 20 at 16:23
On the "Data files" step of the media wizard you specify a URL to a directory. The download of the data files is done by the "Install files" action as required.
– Ingo Kegel
Nov 20 at 21:58
I updated the test case. I don't understand where you specify what gets downloaded or if it's everything under the URL entered in "Data files". See my updated test procedure in the main question.
– TornadoFX Fan
Nov 23 at 15:36
|
show 1 more comment
up vote
1
down vote
up vote
1
down vote
Downloadable data files works with installation components, not with single files. You have to create an installation component on the
Files->Installation Components
step and mark it as downloadable. Then the compiler will create data files that you have to host on your web server under the specified URL.
Downloadable data files works with installation components, not with single files. You have to create an installation component on the
Files->Installation Components
step and mark it as downloadable. Then the compiler will create data files that you have to host on your web server under the specified URL.
answered Nov 19 at 21:28
Ingo Kegel
33.6k75182
33.6k75182
I forgot to mention that in after I added a File, I created an Installation Component with the download option.
– TornadoFX Fan
Nov 19 at 22:11
Still, you don't host the file itself, but the produced data filed in the media output directory. The installer will download those files.
– Ingo Kegel
Nov 20 at 9:27
Do I need to specify a file as the basis of the Installation Component or does the download URL use a directory index to grab everything?
– TornadoFX Fan
Nov 20 at 16:23
On the "Data files" step of the media wizard you specify a URL to a directory. The download of the data files is done by the "Install files" action as required.
– Ingo Kegel
Nov 20 at 21:58
I updated the test case. I don't understand where you specify what gets downloaded or if it's everything under the URL entered in "Data files". See my updated test procedure in the main question.
– TornadoFX Fan
Nov 23 at 15:36
|
show 1 more comment
I forgot to mention that in after I added a File, I created an Installation Component with the download option.
– TornadoFX Fan
Nov 19 at 22:11
Still, you don't host the file itself, but the produced data filed in the media output directory. The installer will download those files.
– Ingo Kegel
Nov 20 at 9:27
Do I need to specify a file as the basis of the Installation Component or does the download URL use a directory index to grab everything?
– TornadoFX Fan
Nov 20 at 16:23
On the "Data files" step of the media wizard you specify a URL to a directory. The download of the data files is done by the "Install files" action as required.
– Ingo Kegel
Nov 20 at 21:58
I updated the test case. I don't understand where you specify what gets downloaded or if it's everything under the URL entered in "Data files". See my updated test procedure in the main question.
– TornadoFX Fan
Nov 23 at 15:36
I forgot to mention that in after I added a File, I created an Installation Component with the download option.
– TornadoFX Fan
Nov 19 at 22:11
I forgot to mention that in after I added a File, I created an Installation Component with the download option.
– TornadoFX Fan
Nov 19 at 22:11
Still, you don't host the file itself, but the produced data filed in the media output directory. The installer will download those files.
– Ingo Kegel
Nov 20 at 9:27
Still, you don't host the file itself, but the produced data filed in the media output directory. The installer will download those files.
– Ingo Kegel
Nov 20 at 9:27
Do I need to specify a file as the basis of the Installation Component or does the download URL use a directory index to grab everything?
– TornadoFX Fan
Nov 20 at 16:23
Do I need to specify a file as the basis of the Installation Component or does the download URL use a directory index to grab everything?
– TornadoFX Fan
Nov 20 at 16:23
On the "Data files" step of the media wizard you specify a URL to a directory. The download of the data files is done by the "Install files" action as required.
– Ingo Kegel
Nov 20 at 21:58
On the "Data files" step of the media wizard you specify a URL to a directory. The download of the data files is done by the "Install files" action as required.
– Ingo Kegel
Nov 20 at 21:58
I updated the test case. I don't understand where you specify what gets downloaded or if it's everything under the URL entered in "Data files". See my updated test procedure in the main question.
– TornadoFX Fan
Nov 23 at 15:36
I updated the test case. I don't understand where you specify what gets downloaded or if it's everything under the URL entered in "Data files". See my updated test procedure in the main question.
– TornadoFX Fan
Nov 23 at 15:36
|
show 1 more comment
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53379293%2fusing-data-files-in-install4j%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown