Java package

Antworten
bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Java package

Beitrag von bobzbobz »

Hi

I am trying to create a package for Java v. 1.6.0_11, but i am having problems.
I have tried to use the template on OPSI-wiki, but it results in an Error 1620 or 1619

(I need the old java-version for a special program. The version is x86 and the client is Win 7 x64).

None of these work:

Code: Alles auswählen

1
msiexec /i "%ScriptPath%\jre-6u11-windows-i586-p.exe" /qb!

2
"%ScriptPath%\jre-6u11-windows-i586-p.exe" /s /v" /qb!"

3
msiexec /i "ScriptPath%\jre1.6.0_11.msi" /qb!

4
copy -s "%ScriptPath%\Java\*.*" "%Systemdrive%\tmp\jre-1.6.0_11\" (containing jre1.6.0_11.msi and Data1.cab)
msiexec "%Systemdrive%\tmp\jre-1.6.0_11\jre1.6.0_11.msi" /qb!
(also tried copy with .exe-file)
Any suggestions? I have scrolled through the script of our javavm-package (setup.ins), and it seems to me that i am doing excactly the same..
pandel
Beiträge: 830
Registriert: 25 Jan 2013, 16:47

Re: Java package

Beitrag von pandel »

Hi!

Perhaps you find a solution here: http://wpkg.org/Java
It's always worth a try to look at the silent installer configurations for wpkg to find a solution.

Greetz,
Holger
Zakyl
Beiträge: 68
Registriert: 16 Okt 2012, 11:03

Re: Java package

Beitrag von Zakyl »

I'm doing that :

Code: Alles auswählen

Set $Inst_Prg32$ = "java-jre-32-7u9.exe"
Set $Inst_Cmd$ = "/s /v /qn ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 SYSTRAY=0 REBOOT=Supress"

[Winbatch_install_32]
"%ScriptPath%\$Inst_Prg32$" $Inst_Cmd$
Take a look on the double quotes (" ") this is maybe wrong on your second command :

Code: Alles auswählen

"%ScriptPath%\jre-6u11-windows-i586-p.exe" /s /v" /qb!"
bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: Java package

Beitrag von bobzbobz »

Hi

I am still getting errorcode 1619 after trying your example.

If the errorcode is derived from the "hidden .msi-package", then it means:

Code: Alles auswählen

ERROR_INSTALL_PACKAGE_OPEN_FAILED This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package."
Any sugestions?
Antworten