Commit 9428ccf4e6e02b70824369983615707855f5fbf7

Authored by Perry Werneck
1 parent e7da8e09

Incluindo opções /JAVA=YES e /HLLAPI=YES para permitir a instalação

dos plugins java e HLLAPI em modo silencioso.
nsi/header-i686-no-gtk.nsi.in
1 1 !include "MUI2.nsh"
  2 +!include "FileFunc.nsh"
2 3  
3 4 Name "@PACKAGE@"
4 5 Caption "@PACKAGE@ - 3270 Emulator for windows/gtk"
... ...
nsi/header-i686.nsi.in
1 1 !include "MUI2.nsh"
  2 +!include "FileFunc.nsh"
2 3  
3 4 Name "@PACKAGE@"
4 5 Caption "@PACKAGE@ - 3270 Emulator for windows/gtk"
... ...
nsi/header-x86_64-no-gtk.nsi.in
1 1 !include "MUI2.nsh"
2 2 !include x64.nsh
  3 +!include "FileFunc.nsh"
3 4  
4 5 Name "@PACKAGE@"
5 6 Caption "@PACKAGE@ - 3270 Emulator for windows/gtk"
... ...
nsi/header-x86_64.nsi.in
1 1 !include "MUI2.nsh"
2 2 !include x64.nsh
  3 +!include "FileFunc.nsh"
3 4  
4 5 Name "@PACKAGE@"
5 6 Caption "@PACKAGE@ - 3270 Emulator for windows/gtk"
... ...
nsi/hllapi-init.nsi
... ... @@ -0,0 +1,13 @@
  1 +${GetParameters} $R0
  2 +ClearErrors
  3 +${GetOptions} $R0 /HLLAPI= $0
  4 +
  5 +${if} $0 == "YES"
  6 +
  7 + SectionGetFlags "${HLLAPIPlugin}" $0
  8 + IntOp $0 $0 | ${SF_SELECTED}
  9 + SectionSetFlags "${HLLAPIPlugin}" $0
  10 +
  11 +${EndIf}
  12 +
  13 +
... ...
nsi/j3270-init.nsi
... ... @@ -0,0 +1,13 @@
  1 +${GetParameters} $R0
  2 +ClearErrors
  3 +${GetOptions} $R0 /JAVA= $0
  4 +
  5 +${if} $0 == "YES"
  6 +
  7 + SectionGetFlags "${JNIModule}" $0
  8 + IntOp $0 $0 | ${SF_SELECTED}
  9 + SectionSetFlags "${JNIModule}" $0
  10 +
  11 +${EndIf}
  12 +
  13 +
... ...