Kann mir jemand bei dem Problem helfen?
Installskript:
Code: Alles auswählen
[Initial]
; Message at install time:
Message=Installing MS Office 2003
LogLevel=2
; Log Errors in Logfile but don't abort:
ExitOnError=false
; Show syntax errors in the script:
ScriptErrorMessages=on
; Dont trace step by step through the script:
TraceMode=off
; let started programs run in front of the winst window
StayOnTop=false
[Aktionen]
ShowBitmap /3 "%SCRIPTPATH%\Programm.png"
DefVar $TEMP$
Set $TEMP$ = EnvVar("TEMP")
;Variables for OS version
DefVar $OS$
set $OS$ = GetOS
; is this a win32 system ?
if ( $OS$ = "Windows_NT" )
if not(HasMinimumSpace ("%SYSTEMDRIVE%", "300 MB"))
LogError "Not enough space (<300MB) on %SYSTEMDRIVE%. "
else
; show product picture
;ShowBitmap /3 "%scriptpath%\Programm.png" "MS Office 2003"
; Start Setup-Program
Winbatch_install
Registry_Vorlagenordner /AllNTUserdats
Files_CopyMakro
endif
endif
[Winbatch_install]
msiexec /i "\\opsi\opt_pcbin\install\office_2003\files\STDP11N.MSI" /qb-! ALLUSERES=2 noreboot=ReallySupress TRANSFORMS="\\opsi\opt_pcbin\install\office_2003\files\moc.MST" PIDKEY="H3M2X2FMJR4FGGJ48FBQR3G8D" /l* $TEMP$\office_2003_inst.lst
[Registry_Vorlagenordner]
openKey [HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\General]
set "SharedTemplates" = "\\srv02\vorlagen\vorl97\"
openkey [HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\General]
set "SharedTemplates" = "\\srv02\vorlagen\vorl97\"
[Files_CopyMakro]
copy "\\opsi\opt_pcbin\install\office_2003\sh-makros.dot" "C:\Programme\Microsoft Office\OFFICE11\Startup"
Code: Alles auswählen
[1] [21.4.2011 10:14:12] opsi-winst 4.10.8.4 started at 21.4.2011 10:14:11
[6] [21.4.2011 10:14:12] JSON service request https://172.16.10.92:4447/rpc getDepotId
[6] [21.4.2011 10:14:12] JSON service request https://172.16.10.92:4447/rpc getProductInstallationStatus_listOfHashes
[6] [21.4.2011 10:14:13] JSON service request https://172.16.10.92:4447/rpc getPossibleMethods_listOfHashes
[6] [21.4.2011 10:14:13] JSON service request https://172.16.10.92:4447/rpc getProductActionRequests_listOfHashes
[6] [21.4.2011 10:14:13] JSON service request https://172.16.10.92:4447/rpc getInstallableLocalBootProductIds_list
[1] [21.4.2011 10:14:13] Product sequence calculated by opsi-winst
[5] [21.4.2011 10:14:13] Computername:shpc2.shnet.sh-gmbh.de
[5] [21.4.2011 10:14:13] Computername according to Environment Variable :SHPC2
[5] [21.4.2011 10:14:13] opsi service URL https://172.16.10.92:4447
[5] [21.4.2011 10:14:13] Depot path: P:\install
[5] [21.4.2011 10:14:13]
[6] [21.4.2011 10:14:13] bootmode from registry: BKSTD
[5] [21.4.2011 10:14:13] bootmode BKSTD
[5] [21.4.2011 10:14:13] winst: Start sorting of products (21.4.2011 10:14:13)
[6] [21.4.2011 10:14:13] JSON service request https://172.16.10.92:4447/rpc getProductDependencies_listOfHashes
[5] [21.4.2011 10:14:13] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5] [21.4.2011 10:14:13] Resolved sequence of products (21.4.2011 10:14:13):
[5] [21.4.2011 10:14:13] Product 1 office_2003 : setup
[5] [21.4.2011 10:14:13] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6] [21.4.2011 10:14:13] JSON service request https://172.16.10.92:4447/rpc getProductProperties_hash
[6] [21.4.2011 10:14:13] JSON service request https://172.16.10.92:4447/rpc getProduct_hash
[5] [21.4.2011 10:14:14] scriptname: "install.ins", special path: "P:\install\office_2003\"
[6] [21.4.2011 10:14:14] JSON service request https://172.16.10.92:4447/rpc setProductInstallationStatus
[1] [21.4.2011 10:14:14]
[1] [21.4.2011 10:14:14] ============ Version 4.10.8.4 WIN32 script "P:\install\office_2003\install.ins"
[1] [21.4.2011 10:14:14] start: 2011-04-21 10:14:14
[1] [21.4.2011 10:14:14] on client named "shpc2.shnet.sh-gmbh.de"
[1] [21.4.2011 10:14:14] user account "pcpatch"
[1] [21.4.2011 10:14:14] [executing: "C:\Programme\opsi.org\preloginloader\opsi-winst\winst32.exe"]
[1] [21.4.2011 10:14:14] system infos:
[1] [21.4.2011 10:14:14] 00:30:05:99:30:2F - PC hardware address
[1] [21.4.2011 10:14:14] shpc2 - IP name
[1] [21.4.2011 10:14:14] 172.16.25.92 - IP address
[1] [21.4.2011 10:14:14] DEU - System default locale
[1] [21.4.2011 10:14:14] opsi service version : 3
[1] [21.4.2011 10:14:14]
[6] [21.4.2011 10:14:14] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion] opened
[6] [21.4.2011 10:14:14] Key closed
[4] [21.4.2011 10:14:14] Warning: depricated: <LogLevel=> please use <setLogLevel=>
[1] [21.4.2011 10:14:14] LogLevel was 6
[1] [21.4.2011 10:14:14] LogLevel set to 6
[5] [21.4.2011 10:14:14]
[5] [21.4.2011 10:14:14] Set $TEMP$ = EnvVar("TEMP")
[6] [21.4.2011 10:14:14] The value of the variable "$TEMP$" is now: "C:\WINDOWS\TEMP"
[5] [21.4.2011 10:14:14]
[5] [21.4.2011 10:14:14] Set $OS$ = GetOS
[6] [21.4.2011 10:14:14] The value of the variable "$OS$" is now: "Windows_NT"
[5] [21.4.2011 10:14:14]
[5] [21.4.2011 10:14:14] If
[5] [21.4.2011 10:14:14] $OS$ = "Windows_NT" <<< result true
[5] [21.4.2011 10:14:14] ( $OS$ = "Windows_NT" ) <<< result true
[5] [21.4.2011 10:14:14] Then
[5] [21.4.2011 10:14:14]
[5] [21.4.2011 10:14:14] If
[6] [21.4.2011 10:14:14] Free on Disk C:: 75.351.515.136 bytes This is more than the required amount of 300.000.000 bytes
[5] [21.4.2011 10:14:14] HasMinimumSpace ("C:", "300 MB") <<< result true
[5] [21.4.2011 10:14:14] not(HasMinimumSpace ("C:", "300 MB")) <<< result false
[5] [21.4.2011 10:14:14] Then
[5] [21.4.2011 10:14:14]
[5] [21.4.2011 10:14:14] Else
[5] [21.4.2011 10:14:14]
[5] [21.4.2011 10:14:14] Execution of Registry_Vorlagenordner
[5] [21.4.2011 10:14:14]
[5] [21.4.2011 10:14:14] Branch: Administrator
[6] [21.4.2011 10:14:14] "C:\Dokumente und Einstellungen\Administrator\NTUser.dat" loaded.
[5] [21.4.2011 10:14:14]
[5] [21.4.2011 10:14:14] Execution of Registry_Vorlagenordner
[6] [21.4.2011 10:14:14] Registry key [HKEY_USERS\PatchNTUserdatTempUser\HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\General] opened
[6] [21.4.2011 10:14:14] Variable "SharedTemplates" is keeping its value "\\nas02\vorlagen\vorl97\"
[6] [21.4.2011 10:14:14] Key closed
[6] [21.4.2011 10:14:14] Registry key [HKEY_USERS\PatchNTUserdatTempUser\HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\General] opened
[6] [21.4.2011 10:14:14] Variable "SharedTemplates" is keeping its value "\\nas02\vorlagen\vorl97\"
[6] [21.4.2011 10:14:14] Key closed
[5] [21.4.2011 10:14:16]
[5] [21.4.2011 10:14:16] Branch: Administrator.SHNET
[6] [21.4.2011 10:14:16] "C:\Dokumente und Einstellungen\Administrator.SHNET\NTUser.dat" loaded.
[5] [21.4.2011 10:14:16]
[5] [21.4.2011 10:14:16] Execution of Registry_Vorlagenordner
[6] [21.4.2011 10:14:16] Registry key [HKEY_USERS\PatchNTUserdatTempUser\HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\General] opened
[6] [21.4.2011 10:14:16] Variable "SharedTemplates" is keeping its value "\\nas02\vorlagen\vorl97\"
[6] [21.4.2011 10:14:16] Key closed
[6] [21.4.2011 10:14:16] Registry key [HKEY_USERS\PatchNTUserdatTempUser\HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\General] opened
[6] [21.4.2011 10:14:16] Variable "SharedTemplates" is keeping its value "\\nas02\vorlagen\vorl97\"
[6] [21.4.2011 10:14:16] Key closed
[5] [21.4.2011 10:14:17]
[5] [21.4.2011 10:14:17] Branch: All Users
[5] [21.4.2011 10:14:17]
[5] [21.4.2011 10:14:17] Branch: Default User
[6] [21.4.2011 10:14:17] "C:\Dokumente und Einstellungen\Default User\NTUser.dat" loaded.
[5] [21.4.2011 10:14:17]
[5] [21.4.2011 10:14:17] Execution of Registry_Vorlagenordner
[6] [21.4.2011 10:14:17] Registry key [HKEY_USERS\PatchNTUserdatTempUser\HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\General] opened
[6] [21.4.2011 10:14:17] Variable "SharedTemplates" is keeping its value "\\nas02\vorlagen\vorl97\"
[6] [21.4.2011 10:14:17] Key closed
[6] [21.4.2011 10:14:17] Registry key [HKEY_USERS\PatchNTUserdatTempUser\HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\General] opened
[6] [21.4.2011 10:14:17] Variable "SharedTemplates" is keeping its value "\\nas02\vorlagen\vorl97\"
[6] [21.4.2011 10:14:17] Key closed
[5] [21.4.2011 10:14:17]
[5] [21.4.2011 10:14:17] Branch: LocalService
[4] [21.4.2011 10:14:17] Warning: NTUser.dat could not be loaded from path "C:\Dokumente und Einstellungen\LocalService\NTUser.dat". Code 32: Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird
[5] [21.4.2011 10:14:17]
[5] [21.4.2011 10:14:17] Branch: NetworkService
[4] [21.4.2011 10:14:17] Warning: NTUser.dat could not be loaded from path "C:\Dokumente und Einstellungen\NetworkService\NTUser.dat". Code 32: Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird
[5] [21.4.2011 10:14:17]
[5] [21.4.2011 10:14:17] Make it for user .DEFAULT
[5] [21.4.2011 10:14:17]
[5] [21.4.2011 10:14:17] Execution of Registry_Vorlagenordner
[6] [21.4.2011 10:14:17] Registry key [HKEY_USERS\.DEFAULT\HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\General] opened
[6] [21.4.2011 10:14:17] Variable "SharedTemplates" is keeping its value "\\nas02\vorlagen\vorl97\"
[6] [21.4.2011 10:14:17] Key closed
[6] [21.4.2011 10:14:17] Registry key [HKEY_USERS\.DEFAULT\HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\General] opened
[6] [21.4.2011 10:14:17] Variable "SharedTemplates" is keeping its value "\\nas02\vorlagen\vorl97\"
[6] [21.4.2011 10:14:17] Key closed
[5] [21.4.2011 10:14:17]
[5] [21.4.2011 10:14:17] And finally: The current user
[5] [21.4.2011 10:14:17]
[5] [21.4.2011 10:14:17] Execution of Registry_Vorlagenordner
[6] [21.4.2011 10:14:17] Registry key [HKEY_CURRENT_USER\HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\General] opened
[6] [21.4.2011 10:14:17] Variable "SharedTemplates" is keeping its value "\\nas02\vorlagen\vorl97\"
[6] [21.4.2011 10:14:17] Key closed
[6] [21.4.2011 10:14:17] Registry key [HKEY_CURRENT_USER\HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\General] opened
[6] [21.4.2011 10:14:17] Variable "SharedTemplates" is keeping its value "\\nas02\vorlagen\vorl97\"
[6] [21.4.2011 10:14:17] Key closed
[5] [21.4.2011 10:14:17] EndIf
[5] [21.4.2011 10:14:17] EndIf
[1] [21.4.2011 10:14:17] ___________________
[1] [21.4.2011 10:14:17] script finished
[1] [21.4.2011 10:14:17] 0 errors
[1] [21.4.2011 10:14:17] 3 warnings
[1] [21.4.2011 10:14:17]
[1] [21.4.2011 10:14:17] opsi service version: 3
[1] [21.4.2011 10:14:17]
[6] [21.4.2011 10:14:17] Delete "c:\tmp\_winstbat_*"
[6] [21.4.2011 10:14:17] Search "c:\tmp\"
[1] [21.4.2011 10:14:17] get Update script name ...
[1] [21.4.2011 10:14:17] Update script name:
[1] [21.4.2011 10:14:17] Update script name:
[4] [21.4.2011 10:14:17] no script file name given
[5] [21.4.2011 10:14:17] we have no update script
[6] [21.4.2011 10:14:17] JSON service request https://172.16.10.92:4447/rpc setProductInstallationStatus
[6] [21.4.2011 10:14:17] JSON service request https://172.16.10.92:4447/rpc setProductActionRequest
[6] [21.4.2011 10:14:17] Registry key [HKLM\SOFTWARE\opsi.org\winst] opened
[6] [21.4.2011 10:14:17] Variable "RebootRequested" is keeping its value "0"
[6] [21.4.2011 10:14:17] Variable "LastLogFilename" is keeping its value "c:\tmp\instlog.txt"
[6] [21.4.2011 10:14:17] Variable "ContinueLogFile" is keeping its value "0"
[6] [21.4.2011 10:14:17] Variable "NumberOfErrors" is keeping its value "0"
[6] [21.4.2011 10:14:17] Key flushed
[6] [21.4.2011 10:14:17] Key closed
[6] [21.4.2011 10:14:17] Registry key [HKLM\SOFTWARE\opsi.org\winst] opened
[6] [21.4.2011 10:14:17] Key closed
[1] [21.4.2011 10:14:19] ============ winst Version 4.10.8.4 WIN32 is regularly exiting. Time 2011-04-21 10:14:19 .