firefox installation
Verfasst: 28 Apr 2010, 14:16
ich versuch nun schon seit geraumer zeit den firefox via opsi zu installieren ...
wie bin ich vorgeagangen:
zunächst hab ich hier was gefunden wie ich den als software für opsi bereitstelle ...
ok ...
dann hab ich im download bereich des wikis die dateien
gefunden, runtergeladen und eingebunden ....
der inhalt der runter geladenen datei wurde so belassen
hier die control
und hier der fehler:
ich weis wirklich nicht mehr was oder wo der fehler sein könnte,
ferner beschäftige ich mich erst seit paar tagen mit opsi und bin also für jeden noch so kleinen hinweis oder noch so kleine idee dankbar

wie bin ich vorgeagangen:
zunächst hab ich hier was gefunden wie ich den als software für opsi bereitstelle ...
ok ...
dann hab ich im download bereich des wikis die dateien
Code: Alles auswählen
delfirefox.ins
delsub.ins
firefox.ins
Code: Alles auswählen
ls -RGl
CLIENT_DATA
firefox3.6.3_1.0-15.opsi
firefox3.6.3_1.0-15.opsi.md5
OPSI
SERVER_DATA
./CLIENT_DATA:
delfirefox.ins
delsub.ins
firefox.ins
firefox.ins~
./OPSI:
insgesamt 20
changelog.txt
control
control~
postinst
preinst
./SERVER_DATA:
insgesamt 0
hier die control
Code: Alles auswählen
[Package]
version: 15
depends:
incremental: False
[Product]
type: localboot
id: firefox3.6.3
name: Software Product
description: A Open-Source Webbrowser
advice:
version: 1.0
priority: 0
licenseRequired: False
productClasses:
setupScript: firefox.ins
uninstallScript: delfirefox.ins
updateScript:
alwaysScript:
onceScript:
[Windows]
softwareIds:
und hier der fehler:
Code: Alles auswählen
28.04.2010 13:43:59 JSON service request https://opsi-ip:4447/rpc?%7B%22id%22:1,%22method%22:%22getDepotId%22,%22params%22:%5B%22client-pc.foo.lan%22%5D%7D
28.04.2010 13:43:59 JSON service request https://opsi-ip:4447/rpc?%7B%22id%22:1,%22method%22:%22getProductInstallationStatus%5FlistOfHashes%22,%22params%22:%5B%22client-pc.foo.lan%22%5D%7D
28.04.2010 13:43:59 JSON service request https://opsi-ip:4447/rpc?%7B%22id%22:1,%22method%22:%22getPossibleMethods%5FlistOfHashes%22,%22params%22:%5B%5D%7D
28.04.2010 13:43:59 JSON service request https://opsi-ip:4447/rpc?%7B%22id%22:1,%22method%22:%22getProductActionRequests%5FlistOfHashes%22,%22params%22:%5B%22client-pc.foo.lan%22%5D%7D
28.04.2010 13:43:59 JSON service request https://opsi-ip:4447/rpc?%7B%22id%22:1,%22method%22:%22getInstallableLocalBootProductIds%5Flist%22,%22params%22:%5B%22client-pc.foo.lan%22%5D%7D
Computername:client-pc.foo.lan
Computername according to Environment Variable :client-pc
opsi service URL https://opsi-ip:4447
Config path: P:\install
Utils path: P:\utils
Depot path: P:\install
bootmode BKSTD
winst: Start sorting of products (28.04.2010 13:43:59)
28.04.2010 13:43:59 JSON service request https://opsi-ip:4447/rpc?%7B%22id%22:1,%22method%22:%22getProductDependencies%5FlistOfHashes%22,%22params%22:%5B%5D%7D
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Resolved sequence of products (28.04.2010 13:43:59):
Product 3 firefox3.6.3 : setup
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28.04.2010 13:43:59 JSON service request https://opsi-ip:4447/rpc?%7B%22id%22:1,%22method%22:%22getProductProperties%5Fhash%22,%22params%22:%5B%22firefox3.6.3%22,%22client-pc.foo.lan%22%5D%7D
28.04.2010 13:43:59 JSON service request https://opsi-ip:4447/rpc?%7B%22id%22:1,%22method%22:%22getProduct%5Fhash%22,%22params%22:%5B%22firefox3.6.3%22,%22nx4-wks-1026.foo.lan%22%5D%7D
scriptname: "firefox.ins", special path: "P:\install\firefox3.6.3\"
28.04.2010 13:43:59 JSON service request https://opsi-ip:4447/rpc?%7B%22id%22:1,%22method%22:%22setProductInstallationStatus%22,%22params%22:%5B%22firefox3.6.3%22,%22client-pc.foo.lan%22,%22installing%22%5D%7D
============ Version 4.8.8.1 WIN32 script "P:\install\firefox3.6.3\firefox.ins"
start: 2010-04-28 13:43:59 (on client named as : "client-pc.foo.lan")
[executing: "c:\Programme\opsi.org\preloginloader\opsi-winst\winst32.exe"]
system infos:
00:19:99:79:4B:7F - PC hardware address
client-pc - IP name
<ip_des_client> - IP address
DEU - System default locale
LogLevel set to 2
Set $TEMP$ = EnvVar("TEMP")
The value of the variable is now: "C:\WINDOWS\TEMP"
Set $PRODUCTPATH$="c:\Programme\Mozilla Firefox"
The value of the variable is now: "c:\Programme\Mozilla Firefox"
Set $InstallDir$=$PRODUCTPATH$
The value of the variable is now: "c:\Programme\Mozilla Firefox"
Set $NewExe$= $PRODUCTPATH$+"\firefox.exe"
The value of the variable is now: "c:\Programme\Mozilla Firefox\firefox.exe"
Set $ProductId$ = "firefox"
The value of the variable is now: "firefox"
Set $OS$ = GetNTVersion
The value of the variable is now: "WinXP"
If
Free on Disk C:: 147.958.169.600 bytes This is more than the required amount of 100.000.000 bytes
HasMinimumSpace ("C:", "100 MB") <<< result true
not(HasMinimumSpace ("C:", "100 MB")) <<< result false
Then
Else
show product picture
what is the name of the Application Data Dir ?
Set $AppData$ = "\Anwendungsdaten"
The value of the variable is now: "\Anwendungsdaten"
Set $InterestingFile$ = "C:\WINDOWS\system32\kernel32.dll"
The value of the variable is now: "C:\WINDOWS\system32\kernel32.dll"
Set $FileInfo$ = getFileInfoMap($InterestingFile$)
retrieving strings from getFileInfoMap [switch to loglevel 3 for debugging]
Set $language$ = getValue("language name 0", $FileInfo$ )
retrieving strings from $FileInfo$ [switch to loglevel 3 for debugging]
The value of the variable is now: "Deutsch (Deutschland)"
If
$language$ = "Deutsch (Deutschland)" <<< result true
Then
Set $AppData$ = "\Anwendungsdaten"
The value of the variable is now: "\Anwendungsdaten"
Else
If
Then
Else
EndIf
EndIf
If
GetNTVersion = "Windows Vista" <<< result false
Then
EndIf
Set $MozVersion$ = GetRegistryStringValue ("[HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox] CurrentVersion")
Info: Registry key [HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden"
The value of the variable is now: ""
Set $MozInstallPathRegKey$ = "[HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox\"+$MozVersion$+"\Main]"
The value of the variable is now: "[HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox\\Main]"
Set $MozInstallDir$ = GetRegistryStringValue ($MozInstallPathRegKey$+" Install Directory")
Info: Registry key [HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox\\Main] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden"
The value of the variable is now: ""
If
Starting query if file exist ...
FileExists("P:\install\firefox3.6.3\delsub.ins") <<< result true
Then
start uninstall
~~~~~~~ Start Sub ~~~~~~~ sub "P:\install\firefox3.6.3\delsub.ins"
start uninstall program if exists
If
Starting query if file exist ...
"c:\Programme\Mozilla Firefox\uninstall.exe": File Error 3 (Das System kann den angegebenen Pfad nicht finden)
FileExists($InstallDir$+"\uninstall.exe") <<< result false
Then
EndIf
delete files
Warning: Section "Files_uninstall" does not exist or is empty
cleanup Registry
Warning: Section "Registry_uninstall" does not exist or is empty
clear start menu
Warning: Section "LinkFolder_uninstall" does not exist or is empty
Section ending since next line is starting with "["
~~~~~~~ End Sub ~~~~~~~ sub "P:\install\firefox3.6.3\delsub.ins"
EndIf
Message at install time:
kill a running firefox
Nothing to stop, no instances of "firefox.exe" found
check for depotshare
If
Starting query if file exist ...
FileExists("P:\install\firefox3.6.3") <<< result true
not (FileExists("P:\install\firefox3.6.3")) <<< result false
Then
EndIf
start setup program
If
IniVar ("firefox3-version") = "3.0.x" <<< result false
(IniVar ("firefox3-version") = "3.0.x") <<< result false
Then
Else
If
IniVar ("firefox3-version") = "3.5.x" <<< result false
(IniVar ("firefox3-version") = "3.5.x") <<< result false
Then
Else
If
IniVar ("firefox3-version") = "3.6.x" <<< result false
(IniVar ("firefox3-version") = "3.6.x") <<< result false
Then
Else
Error: Unhandled firefox version:
Error level set to fatal
EndIf
EndIf
EndIf
If
Starting query if file exist ...
"c:\Programme\Mozilla Firefox\firefox.exe": File Error 3 (Das System kann den angegebenen Pfad nicht finden)
FileExists($NewExe$) <<< result false
not(FileExists($NewExe$)) <<< result true
Then
EndIf
If
IniVar("NoAutoUpdate") = "on" <<< result false
IniVar("SetProxy") = "off" <<< result false
IniVar("SetProxy") = "" <<< result true
not(IniVar("SetProxy") = "") <<< result false
(IniVar("SetProxy") = "off") or not(IniVar("SetProxy") = "") <<< result false
((IniVar("SetProxy") = "off") or not(IniVar("SetProxy") = "")) <<< result false
(IniVar("NoAutoUpdate") = "on") or ((IniVar("SetProxy") = "off") or not(IniVar("SetProxy") = "")) <<< result false
Then
If
Then
EndIf
If
Then
If
Then
EndIf
If
Then
EndIf
If
Then
EndIf
If
Then
EndIf
EndIf
Else
EndIf
If
Starting query if file exist ...
"P:\install\firefox3.6.3\custom_ins_dir\custom.ins": File Error 3 (Das System kann den angegebenen Pfad nicht finden)
FileExists("P:\install\firefox3.6.3\custom_ins_dir\custom.ins") <<< result false
Then
EndIf
EndIf
Process stopped
___________________
1 error
0 warnings
no script found for file name ""
28.04.2010 13:44:00 JSON service request https://opsi-ip:4447/rpc?%7B%22id%22:1,%22method%22:%22setProductInstallationStatus%22,%22params%22:%5B%22firefox3.6.3%22,%22client-pc.foo.lan%22,%22failed%22%5D%7D
28.04.2010 13:44:00 JSON service request https://opsi-ip:4447/rpc?%7B%22id%22:1,%22method%22:%22setProductActionRequest%22,%22params%22:%5B%22firefox3.6.3%22,%22client-pc.foo.lan%22,%22none%22%5D%7D
Registry key [HKLM\SOFTWARE\opsi.org\winst] opened
Variable "RebootRequested" is keeping its value "0"
Variable "LastLogFilename" is keeping its value "c:\tmp\instlog.txt"
Variable "ContinueLogFile" is keeping its value "0"
Variable "NumberOfErrors" is keeping its value "0"
Key flushed
Key closed
Registry key [HKLM\SOFTWARE\opsi.org\winst] opened
Key closed
ich weis wirklich nicht mehr was oder wo der fehler sein könnte,
ferner beschäftige ich mich erst seit paar tagen mit opsi und bin also für jeden noch so kleinen hinweis oder noch so kleine idee dankbar
