lampenlampen
lampenlampen

Reputation: 947

Install4j Windows Gui app does not create log file

Problem

"Windows Archive" generates log file and "Windows" not.

Setup

I'm using install4j to generate a windows gui application. I only have one launcher and redirected stderr and stdout.

Then I create two media files: "Windows" and "Windows Archive".

If I use the "windows archive" type the log files are created and filed with content. If I use the "windows" type the log files are not created.

I know that in both cases the same error happened, so there should be the same output in both cases.

Thanks in advance

Upvotes: 2

Views: 56

Answers (1)

Ingo Kegel
Ingo Kegel

Reputation: 48070

If the redirection files are not writable, you have to specify a location where they can be written such as

${installer:sys.localAppdataDir}\mystderr.log

Redirection files for generated launchers are configured on the "Executable info->Redirection" step of the launcher wizard.

Upvotes: 1

Related Questions