opsi Anfänger
opsi Anfänger
ich bin ganz neu bei opsi. Ich habe einen Server installiert und nun möchte ich mich an das Thema Softwareverteilung heran wagen. Dazu lese ich schon seit Tagen opsi Dokumentationen, aber ich komme irgendwie nicht klar. Ich möchte hier kurz kundtun wie ich es verstehe.
1. Man benötigt ein winst-Skript
2. Man erstellt eine Datei xxx.ins
3. Man benötigt eine setup.exe
4. Man erzeugt ein .opsi Paket
Und nun beginnen meine Probleme, ich komme einfach nicht weiter. In welcher Reihenfolge gehe ich vor? Wohin muss ich die setup.exe und das winst-Skript ablegen, um ein opsi Paket erzeugen zu können? Ich komme mit der Doku einfach nicht so richtig klar. Kann mir da jemand helfen?
Re: opsi Anfänger
z.B.
0. opsi-winst Verzeichnis nach windows kopieren
1. Unter windows ein Verzeichnis 'myprod' erstellen
2. setup.exe in dieses Verzeichnis kopieren
3. Template scripte in dieses Verzeichnis kopieren
(siehe opsi-Handbuch 6.2.1.9. Zweites Beispiel: Standardtemplate 'opsi-template')
3. Scripte Anpassen (ob das Script das tut was es soll kan man interaktiv ausprobieren in dem den Winst per doppelklick startet
und dann sagt er soll das script ausführen)
4. opsi produkt erstellen - opsi-Handbuch 6.2.3. Erstellen eines opsi-Pakets
hilft das ?
gruss
d.oertel
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: opsi Anfänger
zunächst einmal Danke für die schnelle Antwort. Ich werde es ausprobieren und dann berichten.
Re: opsi Anfänger
Wo kann ich nachschauen warum nichts passiert?
Re: opsi Anfänger
wurde das Paket mit
opsi-package-manger -i <paket>
installiert ?
Taucht das Paket im Managment interface auf ?
Wurde dort die 'Angeforderte Aktion' auf setup gestellt ?
gruss
d.oertel
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: opsi Anfänger
zu allen Fragen ein ja.
Nach dem Neustart steht im opsi config editor die Anstehende Aktion immer noch auf setup.
Ich denke es hat überhaupt keine Verbindung stattgefunden, denn dann würde hier wahrscheinlich failed stehen, oder?
Da ich mich jetzt dann ins Wochenende verabschiede werde ich erst nächste Woche wieder antworten.
Re: opsi Anfänger
preloginloader auf dem Client installiert ?
gruss
d.oertel
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: opsi Anfänger
ja der preloginloader ist auf dem Client installiert
Re: opsi Anfänger
dann poste mal vom Client aus dem Verzeichnis c:\tmp die Dateien
logonlog.txt oder opsiclientd.log
instlog.txt
gruss
d.oertel
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: opsi Anfänger
logonlog.txt ist nicht vorhanden, die beiden anderen schon.
Inhalt opsiclientd.log
Code: Alles auswählen
[3] [Feb 02 10:55:45] [opsiclientd] Refusing to set empty value for config value 'url' of section 'depot_server' (opsiclientd.pyo|2161)
[3] [Feb 02 10:55:45] [opsiclientd] Refusing to set empty value for config value 'drive' of section 'depot_server' (opsiclientd.pyo|2161)
[3] [Feb 02 10:55:45] [opsiclientd] Refusing to set empty value for config value 'depot_id' of section 'depot_server' (opsiclientd.pyo|2161)
[3] [Feb 02 10:55:45] [opsiclientd] Refusing to set empty value for config value 'block_notifier_command' of section 'opsiclientd_notifier' (opsiclientd.pyo|2161)
[0] [Feb 02 10:55:45] [opsiclientd] Opsiclientd version: 0.5.7.4 (opsiclientd.pyo|2549)
[0] [Feb 02 10:55:45] [opsiclientd] Commandline: C:\Program Files (x86)\opsi.org\preloginloader\opsiclientd.exe (opsiclientd.pyo|2550)
[0] [Feb 02 10:55:45] [opsiclientd] Working directory: C:\Windows\system32 (opsiclientd.pyo|2551)
[1] [Feb 02 10:56:10] [opsiclientd] Vista module currently disabled (opsiclientd.pyo|2805)
[2] [Feb 02 10:56:10] [opsiclientd] Failed to get config from service: Vista module currently disabled (opsiclientd.pyo|2318)
[2] [Feb 02 10:56:10] [opsiclientd] Failed to get rebootRequested from registry: [Error 2] Das System kann die angegebene Datei nicht finden (opsiclientd.pyo|3188)
[2] [Feb 02 10:56:10] [opsiclientd] Failed to write log to service: Not connected to config service (opsiclientd.pyo|2336)
[2] [Feb 02 10:56:13] [event processing] Failed to process event <event: gui_startup>: Vista module currently disabled (opsiclientd.pyo|1987)
[1] [Feb 02 10:56:13] [event processing] Traceback: (Logger.pyo|647)
[1] [Feb 02 10:56:13] [event processing] line 1954 in 'run' in file 'opsiclientd.pyo' (Logger.pyo|647)
[1] [Feb 02 10:56:13] [event processing] line 2282 in 'getConfigFromService' in file 'opsiclientd.pyo' (Logger.pyo|647)
[1] [Feb 02 10:56:13] [event processing] line 2780 in 'connectConfigServer' in file 'opsiclientd.pyo' (Logger.pyo|647)
[1] [Feb 02 10:56:13] [event processing] ==>>> Vista module currently disabled (opsiclientd.pyo|1988)
Code: Alles auswählen
============ Version 4.8.8.1 WIN32 script "C:\Windows\ghost\ghost.ins"
start: 2010-01-29 10:51:30 (on client named as : "pcname")
[executing: "C:\Windows\opsi-winst\files\opsi-winst\winst32.exe"]
system infos:
00:50:56:C0:00:08 - PC hardware address
pcname.domäne.local - IP name
xxx.xxx.xx.xxx - IP address
DEU - System default locale
LogLevel set to 2
Set $ProductId$ = "GhostScript"
The value of the variable is now: "GhostScript"
Set $MinimumSpace$ = "2 MB"
The value of the variable is now: "2 MB"
Set $InstallDir$="C:\Program Files (x86)\"+$ProductId$
The value of the variable is now: "C:\Program Files (x86)\GhostScript"
Set $NewExe$=$InstallDir$+"\"+"gs870w32"
The value of the variable is now: "C:\Program Files (x86)\GhostScript\gs870w32"
Set $TEMP$ = EnvVar("TEMP")
The value of the variable is now: "C:\Users\xxxx~1.xxx\AppData\Local\Temp"
If
Free on Disk C:: 81.268.428.800 bytes This is more than the required amount of 2.000.000 bytes
HasMinimumSpace ("C:", $MinimumSpace$) <<< result true
not(HasMinimumSpace ("C:", $MinimumSpace$)) <<< result false
Then
Else
show product picture
If
Starting query if file exist ...
"C:\Windows\ghost\delsub.ins": File Error 2 (Das System kann die angegebene Datei nicht finden)
FileExists("C:\Windows\ghost\delsub.ins") <<< result false
Then
EndIf
start setup program
Execution of Winbatch_install
Call ""C:\Windows\ghost\gs870w32.exe" /silent /folder="C:\Program Files (x86)\gs" /desktop=1 /group=1 /allusers=1 /assoc=1"
Waiting until the called process is finished
ExitCode 0 Executed process ""C:\Windows\ghost\gs870w32.exe" /silent /folder="C:\Program Files (x86)\gs" /desktop=1 /group=1 /allusers=1 /assoc=1"
~~~~~~~ Start Sub ~~~~~~~ sub_check_exitcode
test for installation success via exit code
Set $ExitCode$ = getLastExitCode
The value of the variable is now: "0"
If
$ExitCode$ = "0" <<< result true
($ExitCode$ = "0") <<< result true
Then
looks good: setup program gives exitcode zero
Else
If
Then
Else
EndIf
EndIf
~~~~~~~ End Sub ~~~~~~~ sub_check_exitcode
copy files
Execution of Files_install
Copying C:\Windows\ghost\lang_deutsch\*.* -----> C:\Program Files (x86)\gs
0 File(s) found
No (non-directory) file with mask C:\Windows\ghost\lang_deutsch\*.* found
0 File(s) treated
set Registry
set start menu
test for installation success
If
Starting query if file exist ...
"C:\Program Files (x86)\GhostScript\gs870w32": File Error 3 (Das System kann den angegebenen Pfad nicht finden)
FileExists($NewExe$) <<< result false
not(FileExists($NewExe$)) <<< result true
Then
Error: Fatal: After Installation C:\Program Files (x86)\GhostScript\gs870w32 not found
Error level set to fatal
EndIf
EndIf
Process stopped
___________________
1 error
0 warnings
============ winst Version 4.8.8.1 WIN32 is regularly exiting. Time 2010-01-29 10:51:54 .