deploy install4j package

segro
Beiträge: 62
Registriert: 28 Nov 2010, 11:46

deploy install4j package

Beitragvon segro » 13 Apr 2016, 09:28

Hallo zusammen,

hat jemand schon mal pakete für einen install4j Paket per OPSI paketiert? mit opsi-setup-detektor bekomme ich natürlich Errors, entzippen und nur das jar-file kopieren geht auch leider nicht.
Bin für jeden Tip dankbar!

Code: Alles auswählen

Analyzing: G:\Solibri-Model-Viewer_v9_6_windows_64bit_9_6_19-20160405.exe
stringsgrep started (verbose:true, skipzero:false)
aaftnmkeuyiazzuxhhytsvifaltlvetslbeukinurtrthsvsqsksrrurormptplnonlkojaitishuiwfrfieseldedacszhcabgarGetUserDefaultUILanguageKernel32.DLLsun.locale.formatasdefault is %Sfalsetrue-Dsun.locale.formatasdefault=-Dsun.locale.formatasdefault=trueen11extracting %S (size: %I64d)"klkk0"qLltl("qll  h@h4@1@"0m8m h@h4@1@"0mdm (i@h4@1@map/set<T> too long"0mm "mm0"0mn invalid map/set<T> iterator"<nDnX"0mpn %SERROR: config string %d truncated (%d %d)"oo
,Internal Error: magicFailed to extract %Sextracting files donefailed to create directory %Screating directory %S%s\%s;Included files: %dextracting files"oo "oo %S%sLog: %s{0}%stoString()Ljava/lang/String;java/lang/Stringan exception occurredattempting to delete %Sattempting to remove %S (%d)..*.*\emptying %S.?Internal Error: readLongerror %dInternal Error: readInterror %d %dInternal Error: readShortInternal Error: readStringInternal Error: readWString\\:\\\:\:\.\.:\.:\.\.:\..exe%s\e4j_w_testdir%s\e4j_w_tes
%s file: %s, file: %prt"rs vector<T> too long"sTss falsetrue\.install4j\firstrunsun.java.commandexe4j.unextractedPositionexe4j.consoleCodepageexe4j.isInstall4jexe4j.jevexe4j.tempDirexe4j.moduleNameexe4j.manualJreexe4j.semaphoreNamejavaw.exejava.exe=@=@=@=@h=@X=@H=@0=@=@<@<@<@(I)V()Vdid not find com/install4j/runtime/installer/platform/win32/Commondid not find initMethodinitFromLauncher(Z)Vcom/install4j/runtime/installer/platform/win32/Commondid not find register natives in helper dllregistering helper dll f
%p, %p, %d)SplashLoadMemorySplashInitSplashCloseCould not load splashscreen.dllloading splashscreen dll from %S%s\bin\splashscreen.dllINSTALL4J_JAVA_HOMEEXE4J_JAVA_HOME\.install4j\inst_jre.cfg\.install4j

Benutzeravatar
GEI
Beiträge: 223
Registriert: 12 Feb 2010, 13:00
Wohnort: Braunschweig
Kontaktdaten:

Re: deploy install4j package

Beitragvon GEI » 13 Apr 2016, 11:58

segro hat geschrieben:hat jemand schon mal pakete für einen install4j Paket per OPSI paketiert?

ja, der Messengerclient "spark" vom XMPP-Server Openfire.

Code: Alles auswählen

[Winbatch_install]
; EJ Technologys Install4J
"%ScriptPath%\$Setupfile$" -q -dir "$InstallDir$"

[Sub_check_exitcode]
Sub "%ScriptPath%\check_install4j-exitcode.ins"


Exitcodes: wiki/doku.php?id=userspace:check_install4j-exitcode

PS: in der OPSI/control dann noch die Abhängigkeit auf "java" setzen...
Georg-Eckert-Institut - Leibniz-Institut für internationale Schulbuchforschung (GEI)
---
'opsi4instituts' = Communityprojekt für wissenschaftliche Einrichtungen
offenes Repository, Update-Notifier
http://www.gei.de/o4i - https://wiki.o4i.org

Benutzeravatar
SisterOfMercy
Beiträge: 1016
Registriert: 22 Jun 2012, 19:18

Re: deploy install4j package

Beitragvon SisterOfMercy » 20 Apr 2016, 15:13

Evernote Skitch was using install4j, wasn't it?
I found it easier to just make a manual installation, by copying files and setting the registry values. Nowadays I tend to do that with every finicky installer.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!

Benutzeravatar
GEI
Beiträge: 223
Registriert: 12 Feb 2010, 13:00
Wohnort: Braunschweig
Kontaktdaten:

Re: deploy install4j package

Beitragvon GEI » 23 Apr 2016, 12:30

segro hat geschrieben:hat jemand schon mal pakete für einen install4j Paket per OPSI paketiert?


ich habe beim Updaten noch einen zweiten gefunden .... oXygen XML Editor.
Vielleicht bringt dich ja die Option "-varfile" weiter.

Code: Alles auswählen

Set $ProductId$      = "oxygen-xml"
Set $ProductName$    = "oXygen XML-Exitor"
Set $MinimumSpace$   = GetProductProperty("MinimumSpace","500 MB")
Set $SetupFile$      = "oxygen.exe"
Set $SetupSilientOption$ = " -q -varfile response.varfile "

[Winbatch_install]
; === EJ Technologys Install4J ==========================================================================
"%ScriptPath%\$SetupFile$" $SetupSilientOption$

Allgemein bei EJ Technologie: http://resources.ej-technologies.com/in ... index.html
(Help topic - Generated Installers - Command line options / Reponse file)

Für oXyGen: https://www.oxygenxml.com/doc/versions/ ... rence.html
Das angeprochene Responsefile sieht beispielsweise so aus, das sollte man sicherlich beim jeweiligen Softwarehersteller recherchieren.

Code: Alles auswählen

#install4j response file for Oxygen XML Editor 16.1
#Wed Mar 18 09:21:18 CET 2015
sys.adminRights$Boolean=true
sys.programGroupDisabled$Boolean=false
createDesktopLinkAction$Boolean=true
sys.fileAssociation.launchers$StringArray="19","19","19","19","19","19","19","19","19","19","19","19","19","19","19","19","19","19","19","19","19","19","19","19","19"
sys.programGroupAllUsers$Boolean=true
reportProblem=true
downloadResources=true
autoVersionChecking=false
sys.languageId=de
sys.installationDir=C\:\\Program Files (x86)\\Oxygen XML Editor 16
createQuicklaunchIconAction$Boolean=false
sys.programGroupName=Oxygen XML Editor 16.1
executeLauncherAction$Boolean=false
sys.fileAssociation.extensions$StringArray="dita","ditamap","ditaval","xsl","xslt","xspec","xsd","rng","rnc","sch","dtd","mod","ent","nvdl","fo","wsdl","xquery","xq","xqy","xqm","xql","xpl","css","json","xpr"
Georg-Eckert-Institut - Leibniz-Institut für internationale Schulbuchforschung (GEI)
---
'opsi4instituts' = Communityprojekt für wissenschaftliche Einrichtungen
offenes Repository, Update-Notifier
http://www.gei.de/o4i - https://wiki.o4i.org

Benutzeravatar
GEI
Beiträge: 223
Registriert: 12 Feb 2010, 13:00
Wohnort: Braunschweig
Kontaktdaten:

Re: deploy install4j package

Beitragvon GEI » 23 Apr 2016, 14:02

GEI hat geschrieben:ich habe beim Updaten noch einen zweiten gefunden .... oXygen XML Editor.
Vielleicht bringt dich ja die Option "-varfile" weiter.

hier noch eine weitere Erläuterung von dieser Quelle
http://www.oxygenxml.com/doc/ug-author/ ... tings.html

An unattended installation applies the default settings of the installer.
If you want to install Oxygen XML Author on a large number of computers but you need to change the default values of some settings (like the installation directory, whether a desktop icon or a quick launch shortcut is created, the file associations created in the operating system, the name of the program group on the Start menu, etc.), use a special settings file which specifies the new values for these settings. To generate the settings file, run the installer in normal attended mode once on a test computer and specify the exact options that you want for the unattended installation. When the installation is completed, a file called response.varfile and containing your selected options is created in the .install4j subfolder of the installation folder, by default C:\Program Files\Oxygen XML Author Author 16\.install4j on Windows. This is a one time process. After that, to apply these options on all the computers where an unattended installation is performed, specify this file in the command line. For example copy the file in the same location as the installer program and use the following command:

- on Windows:
oxygenAuthor.exe -q -varfile response.varfile

- on Linux:
oxygenAuthor.sh -q -varfile response.varfile


The following parameters control the privacy options:
1. Privacy Options
Parameters Parameter name Description Values
autoVersionChecking Automatic version checking. true / false. Default setting is true.
reportProblem Allows you to report a problem encountered true / false. Default setting is true.
while using Oxygen XML Author.
usageDataCollector When set to true, you can choose whether true / false. Default setting is true.
while using Oxygen XML Author.

They can be set either in the response.varfile configuration file, or directly in the command line, like in the following example:

- on Windows:
oxygenAuthor.exe -q -VautoVersionChecking=false -VreportProblem=false -VusageDataCollector=false

- on Linux:
oxygenAuthor.sh -q -VautoVersionChecking=false -VreportProblem=false -VusageDataCollector=false
Georg-Eckert-Institut - Leibniz-Institut für internationale Schulbuchforschung (GEI)
---
'opsi4instituts' = Communityprojekt für wissenschaftliche Einrichtungen
offenes Repository, Update-Notifier
http://www.gei.de/o4i - https://wiki.o4i.org

mastergivi
Beiträge: 8
Registriert: 13 Apr 2016, 15:28

Re: deploy install4j package

Beitragvon mastergivi » 29 Apr 2016, 08:56

Hey,

ich habe die Tage erst ein install4j-Programm aufgespielt (ESA Snap Sentinel). Habe das Paket auf der Kommandozeile (putty) aufm Server erstellt, hat ohne Probleme funktioniert. Vielleicht solltest du das mal probieren?

Beste Grüße
Erik