[Gelöst] Imaging Professional

Andrago
Beiträge: 61
Registriert: 07 Jan 2011, 14:04

Re: Imaging Professional

Beitrag von Andrago »

also mit der von dir angegebenen Cmd-Line mit dem -s Parameter scheint der nur die ISS datei anzulegen, in der aber auch nicht wirklich was drin steht (nur Versionsnummer & ResponseFile)

Hier mal das instlog:

Code: Alles auswählen

[6] [10.01.2012 09:13:26] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion]  opened
[6] [10.01.2012 09:13:26] Key closed
[6] [10.01.2012 09:13:26] wInst has version  4.11.1.6, required is : >= 4.10.5
[1] [10.01.2012 09:13:26] LogLevel was 6
[1] [10.01.2012 09:13:26] LogLevel set to 9
[5] [10.01.2012 09:13:26] 
[5] [10.01.2012 09:13:26] Set  $MinimumSpace$ = "100MB"
[6] [10.01.2012 09:13:26]   The value of the variable "$MinimumSpace$" is now: "100MB"
[5] [10.01.2012 09:13:26] 
[5] [10.01.2012 09:13:26] Set  $ProductId$       = "Imaging Prof."
[6] [10.01.2012 09:13:26]   The value of the variable "$ProductId$" is now: "Imaging Prof."
[5] [10.01.2012 09:13:26] message Installiert  Imaging Prof. ...
[5] [10.01.2012 09:13:26] 
[5] [10.01.2012 09:13:26] If
[6] [10.01.2012 09:13:26]     Free on Disk C:: 31.628.259.328 bytes  This is more than the required amount of 100.000.000 bytes
[5] [10.01.2012 09:13:26]   HasMinimumSpace ("C:", $MinimumSpace$)    <<< result true
[5] [10.01.2012 09:13:26]   not ( HasMinimumSpace ("C:", $MinimumSpace$) )   <<< result false
[5] [10.01.2012 09:13:26] Then
[5] [10.01.2012 09:13:26] 
[5] [10.01.2012 09:13:26] Else
[5] [10.01.2012 09:13:26] EndIf
[5] [10.01.2012 09:13:26] 
[5] [10.01.2012 09:13:26] Set  $NTVersioninfo$ = GetMsVersionInfo
[6] [10.01.2012 09:13:26]   The value of the variable "$NTVersioninfo$" is now: "6.1"
[5] [10.01.2012 09:13:26] 
[5] [10.01.2012 09:13:26] If
[5] [10.01.2012 09:13:26]   $NTVersioninfo$ >= "5.1"    <<< result true
[5] [10.01.2012 09:13:26]   not ( $NTVersioninfo$ >= "5.1" )   <<< result false
[5] [10.01.2012 09:13:26] Then
[5] [10.01.2012 09:13:26] EndIf
[5] [10.01.2012 09:13:26] 
[5] [10.01.2012 09:13:26] Execution of Winbatch_install
[6] [10.01.2012 09:13:26]   Call "X:\imaging_pro\setup.exe -s -f1c:\mysetup.iss"
[6] [10.01.2012 09:13:26]      Waiting until the called process is finished
[6] [10.01.2012 09:13:38]   ExitCode 0    Executed process "X:\imaging_pro\setup.exe -s -f1c:\mysetup.iss"
[5] [10.01.2012 09:13:38] comment:  Imaging Prof. wird installiert
[1] [10.01.2012 09:13:38] ___________________
[1] [10.01.2012 09:13:38] script finished
[1] [10.01.2012 09:13:38] 0 errors
[1] [10.01.2012 09:13:38] 0 warnings
[1] [10.01.2012 09:13:38] 
[1] [10.01.2012 09:13:38] installed Produkt: imaging_pro Version: 1.0-1
[1] [10.01.2012 09:13:38] opsi service version: 4
[1] [10.01.2012 09:13:38] 
[6] [10.01.2012 09:13:38] Delete "C:\tmp\_winstbat_*"
[6] [10.01.2012 09:13:38]   Search "C:\tmp\"
[8] [10.01.2012 09:13:38] Parameters in OpsiMethodCall: imaging_pro
[8] [10.01.2012 09:13:38] Parameters in OpsiMethodCall: ws280064.eratex.de
[8] [10.01.2012 09:13:38] Parameters in OpsiMethodCall: update
[8] [10.01.2012 09:13:38] Putting to TSuperArray with: "imaging_pro"
[8] [10.01.2012 09:13:38] Putting to TSuperArray with: "ws280064.eratex.de"
[8] [10.01.2012 09:13:38] Putting to TSuperArray with: "update"
[8] [10.01.2012 09:13:38] got omc.jsonUrlString: {"method":"setProductActionRequest","params":["imaging_pro","ws280064.eratex.de","update"],"id":1}
[8] [10.01.2012 09:13:38] Putting to TSuperArray with: "imaging_pro"
[8] [10.01.2012 09:13:38] Putting to TSuperArray with: "ws280064.eratex.de"
[8] [10.01.2012 09:13:38] Putting to TSuperArray with: "update"
[8] [10.01.2012 09:13:38] got omc.jsonUrlString: {"method":"setProductActionRequest","params":["imaging_pro","ws280064.eratex.de","update"],"id":1}
[8] [10.01.2012 09:13:38] got Furl: https://129.50.5.99:4447/rpc
[6] [10.01.2012 09:13:38] JSON service request https://129.50.5.99:4447/rpc setProductActionRequest
[8] [10.01.2012 09:13:38] Putting to TSuperArray with: "imaging_pro"
[8] [10.01.2012 09:13:38] Putting to TSuperArray with: "ws280064.eratex.de"
[8] [10.01.2012 09:13:38] Putting to TSuperArray with: "update"
[8] [10.01.2012 09:13:38]  JSON service request Furlhttps://129.50.5.99:4447/rpc
[8] [10.01.2012 09:13:38]  JSON service request str{"method":"setProductActionRequest","params":["imaging_pro","ws280064.eratex.de","update"],"id":1}
[1] [10.01.2012 09:13:38] product "imaging_pro set to update
[1] [10.01.2012 09:13:38] get Update script name ...
[1] [10.01.2012 09:13:38] Update script name: 
[1] [10.01.2012 09:13:38] Update script name: 
[5] [10.01.2012 09:13:38] no script file name given
[1] [10.01.2012 09:13:38] we have no update script
Konstantin
Beiträge: 74
Registriert: 01 Aug 2011, 10:45

Re: Imaging Professional

Beitrag von Konstantin »

Hi,

die Response Datei "iss" wird bei Installshiel Routinen durch Parameter "-r" erstellt.
Wird kein Schalter "f1" benutzt, wird eine Datei namens "setup.iss" unter %WINDIR% erstellt.

Mit "-s" wird ein Silent Setup gestartet, und mit "-f1ResponseFile.iss wird der Setup Routine die Antworten mitgeteilt.

in deinem Fall muss es also so aussehen:

X:\imaging_pro\setup.exe /r /f1c:\mysetup.iss >>>> erstellt Antwort Datei, direkt unter c:\ und die Datei heißt mysetup.iss

X:\imaging_pro\setup.exe /s /f1c:\mysetup.iss >>>>> startet Silent Setup, die Setup Dialogen werden durch iss Datei unterdrückt.

Es gibt auch noch ein Schalter "/SMS", bin mir aber nicht sicher ab Welcher Version von Installshield wurde er freigeschaltet.

Ich kann ja dir nur empfehlen: "probiere dies, probiere das" :)
Also probiere mal

Schritt 1:

X:\imaging_pro\setup.exe /r /f1 "c:\mysetup.iss"

Schritt 2:

X:\imaging_pro\setup.exe /s /SMS /f1 ”c:\mysetup.iss” /f2 "c:\mysetup.log"


"-f2" erstellt einen Log File, ist eine gute Möglichkeit den Fehler zu finden.

Mich wundert, wieso die iss Datei so mager ist, normalerweise ist dort jedes Setup Dialog aufgeführt.

Gibt es eine "setup.iss" Datei unter X:\imaging_pro\?

Wenn "ja", was steht da drin?



Gruß

Konstantin
Andrago
Beiträge: 61
Registriert: 07 Jan 2011, 14:04

Re: Imaging Professional

Beitrag von Andrago »

Moin, erstmal DANKE für dein Bemühen!

Nun funktioniert auch alles. Musste gerade nur ncoh n bischen testen ;-)

Code: Alles auswählen

[Initial]
StayOnTop = true
 
[Actions]
requiredWinstVersion >= "4.10.5"
 
DefVar $ProductId$
DefVar $NTVersioninfo$
SetLogLevel=9
DefVar $MinimumSpace$
Set $MinimumSpace$ = "100MB"

; ----------------------------------------------------------------
Set $ProductId$       = "Imaging Prof."
; ----------------------------------------------------------------
 
;ShowBitmap  "%ScriptPath%\bild.png" $ProductId$
Message "Installiert  " + $ProductId$ + " ..."

if not ( HasMinimumSpace ("%Systemdrive%", $MinimumSpace$) )
   isFatalError
else
endif
 
; OS Version ermitteln  > Win2000
Set $NTVersioninfo$ = GetMsVersionInfo
 
if not ( $NTVersioninfo$ >= "5.1" )
	LogError "Kein Komp. Betriebssystem vorhanden." 
		isFatalError
endif
Files_copy
Winbatch_install
comment " Imaging Prof. wird installiert"

[Files_copy]
copy -s "%SCRIPTPATH%\mysetup.iss" "C:\tmp\"
 
[Winbatch_install]
%ScriptPath%\setup.exe /s /SMS /f1C:\tmp\mysetup.iss /f2C:\tmp\setupIMGPRO.log
Konstantin
Beiträge: 74
Registriert: 01 Aug 2011, 10:45

Re: Imaging Professional

Beitrag von Konstantin »

Top!!

Anscheinend werden bei Installation von Image Professionall die Netzwerkverbindungen getrennt/neu initialisiert/ oder was auch immer, auf jeden Fall hat es mit Netzwerk zu tun, obwohl die Installation noch nicht zu Ende war.

Der Schalter /SMS hilft die Netzwerkverbindungen aufrecht zu erhalten und wartet auf Ende der Installationsroutine.
War eigentlich für MS SMS Server vorgesehen.

Ich bin der Meinung, wenn die iss Datei so leer ist (hmm...komisch :shock: ), dann würde für diese Setup Routine
tatsächlich nur die Schalter "/s" und "/SMS" reichen.

Also:

[Winbatch_install]
%ScriptPath%\setup.exe /s /SMS


Wenn du Lust hast kannst noch ein mal ausprobieren ;)

Gruß

Konstantin
Benutzeravatar
Thomas_H
Beiträge: 524
Registriert: 09 Jun 2010, 11:57
Wohnort: Havelland

Re: Imaging Professional

Beitrag von Thomas_H »

Moinsens,
Andrago hat geschrieben:Nun funktioniert auch alles. Musste gerade nur ncoh n bischen testen ;-)
Dann bitte nicht vergessen, den Betreff der ersten Nachricht dieses Threads auf "[Gelöst]..." zu setzen. Dankö.

Gruß

Thomas_H
Kennst Du schon die WIKI für OPSI-Scripte? Fertige Installationsscripte bekommen und ablegen unter OPSI-Wiki
Aus dem Glashaus :) : UIB bietet auch Schulungen und Supportverträge für Opsi an.
Bild
Antworten