wir haben diese Woche mit Hilfe von matrix 42 auf Empirum 2008 R2 HF1 aktualisiert, nun tritt leider ein unschönes Problem auf
Das Problem ist, dass nach einer Betriebssystem Installation das Softwaredepot doppelt Installationen startet, also 2 mal läuft.
Hier die Agent.bat (Ist die originale soweit ich es beurteilen kann)
Code: Select all
@ECHO OFF
Cls
Color 1F
Echo.
Echo.
Echo ####################################################
Echo # Post-Installation #
Echo ####################################################
Echo.
Echo.
REM Send message: Operating System installed successfully!
Call \%EmpirumServer%Configurator$UserSetup.exe \%EmpirumServer%Configurator$Packagesmatrix42OS-MessageInstallSetup.inf /S0
IF "%OS%"=="Windows_NT" goto NT
goto NONT
:NT
Echo Keyboard and mouse are blocked: please wait...
Echo.
Start /MIN CMD /C \%EmpirumServer%Configurator$UserBlockInput.exe
Echo Running Empirum Agent installation: please wait...
Echo.
Call \%EmpirumServer%Configurator$UserAgentNT.exe /S1
Call \%EmpirumServer%Configurator$UserKillSWD.exe "SWDEPOT"
Call Net Stop SetupService > NUL
Echo Running software installation: please wait...
Echo.
REM #########################################################################################################################################
REM Ignore all scheduler strings in the DDC file
Set IgnoreScheduler=1
REM #########################################################################################################################################
REM #########################################################################################################################################
REM Standard settings without tokens
REM \%EmpirumServer%Configurator$UserSWDepot.exe /I /B /F /S /Q /T2 /X10 /Z0
REM Standard settings without tokens with machine specific DDC-file
\%EmpirumServer%Configurator$UserSWDepot.exe /I\%EmpirumServer%Values$MachineValues\%%DomainName%%\%ComputerName%.ddc /B /F /S /Q /T2 /X10 /Z0
REM Standard settings without tokens with machine- and userspecific DDC-file
REM \%EmpirumServer%Configurator$UserSWDepot.exe /I\%EmpirumServer%Values$MachineValues\%%DomainName%%\%ComputerName%.ddc /I\%EmpirumServer%Values$UserValues\%UserDomain%\%UserName%.ddc /B /F /S /Q /T2 /Z0
REM #########################################################################################################################################
REM Settings with tokens
REM \%EmpirumServer%Configurator$UserSWDepot.exe /I /B /F /K30 /Q /S /T2 /X10 /Z0
REM Settings with tokens and machine specific DDC-File
REM \%EmpirumServer%Configurator$UserSWDepot.exe /I\%EmpirumServer%Values$MachineValues\%%DomainName%%\%ComputerName%.ddc /B /F /K30 /Q /S /T2 /X10 /Z0
REM Settings with tokens and machine- and userspecific DDC-file
REM \%EmpirumServer%Configurator$UserSWDepot.exe /I\%EmpirumServer%Values$MachineValues\%%DomainName%%\%ComputerName%.ddc /I\%EmpirumServer%Values$UserValues\%UserDomain%\%UserName%.ddc /B /F /K30 /Q /S /T2 /Z0
REM #########################################################################################################################################
Echo Running computer inventory: please wait...
Echo.
IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" GOTO 64BIT
Call \%EmpirumServer%Configurator$Packagesmatrix42Inventory11.1WindowsSystemEmpirumEmpInventory.exe /C:\%EmpirumServer%Configurator$UserEmpInvScan_WINDOWS.xml /O:\%EmpirumServer%EmpInv$#DomainName#.%ComputerName%_%SysTime%.xml /E /V2 /M /T /ZIP
goto END
:64BIT
Call \%EmpirumServer%Configurator$Packagesmatrix42Inventory11.1WindowsSystemEmpirumx64EmpInventory.exe /C:\%EmpirumServer%Configurator$UserEmpInvScan_WINDOWS.xml /O:\%EmpirumServer%EmpInv$#DomainName#.%ComputerName%_%SysTime%.xml /E /V2 /M /T /ZIP
goto END
:NONT
Echo Running software installation: please wait...
Echo.
\%EmpirumServer%Configurator$UserSWDepot.exe /I /S /B /K30 /Q /T2 /X10
Echo Running Empirum Agent installation: please wait...
Echo.
Call \%EmpirumServer%Configurator$UserAgent9X.exe /S1
Echo Running computer inventory: please wait...
Echo.
Call \%EmpirumServer%Configurator$Packagesmatrix42Inventory11.1WindowsSystemEmpirumEmpInventory.exe /C:\%EmpirumServer%Configurator$UserEmpInvScan_WINDOWS.xml /O:\%EmpirumServer%EmpInv$#DomainName#.#ComputerName#_%SysTime%.xml /E /V2 /M /T /ZIP
:END
Call \%EmpirumServer%Configurator$UserSetup.exe \%EmpirumServer%Configurator$Packagesmatrix42EndMessageInstallSetup.inf /S0
\%EmpirumServer%Configurator$UserKillSWD.exe "BlockInput"
Echo Reboot computer: please wait...
IF NOT "%XOS%"=="WinVista" Exit
Falls jemand einen schnellen Tip hat wäre ich dankbar.
Gruß
Marco
P.S. Wer Oracle als DB einsetzt sollte zu diesem Zeitpunkt noch die Finger von R2 lassen, viele neue Features laufen gar nicht oder nicht sauber unter Oracle.