Using Data Files in 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
add a comment |
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 |
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 '18 at 15:32
TornadoFX Fan
asked Nov 19 '18 at 16:51
TornadoFX FanTornadoFX Fan
20615
20615
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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 '18 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 '18 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 '18 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 '18 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 '18 at 15:36
|
show 1 more comment
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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 '18 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 '18 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 '18 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 '18 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 '18 at 15:36
|
show 1 more comment
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 '18 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 '18 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 '18 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 '18 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 '18 at 15:36
|
show 1 more comment
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 '18 at 21:28
Ingo KegelIngo Kegel
34.4k75183
34.4k75183
I forgot to mention that in after I added a File, I created an Installation Component with the download option.
– TornadoFX Fan
Nov 19 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 at 15:36
|
show 1 more comment
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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