vgl. ListUpdatesToInstall.cmd (r484):
- Code: Select all
if exist ..\static\StaticUpdateIds-%OFC_NAME%.txt call :EvalStatics ..\static\StaticUpdateIds-%OFC_NAME%.txt
if exist ..\static\custom\StaticUpdateIds-%OFC_NAME%.txt call :EvalStatics ..\static\custom\StaticUpdateIds-%OFC_NAME%.txt
Wären in diesem Beispiel Office 2003 und 2010 installiert, würden nur die für 2010 statisch definierten Updates als zu installierend erkannt werden.
"%OFC_NAME%" wäre in diesem Fall "o2k10", sodass eine Datei "..\static\custom\StaticUpdateIds-o2k3.txt" selbst bei installiertem Office 2003 ignoriert würde.
[edit]
Spontan, würde ich einen Fix in Richtung
- Code: Select all
rem ofc-Fix
if "%O2K3_VER_MAJOR%"=="" goto SkipStaticso2k3
if exist ..\static\StaticUpdateIds-o2k3.txt call :EvalStatics ..\static\StaticUpdateIds-o2k3.txt
if exist ..\static\custom\StaticUpdateIds-o2k3.txt call :EvalStatics ..\static\custom\StaticUpdateIds-%o2k3.txt
:SkipStaticso2k3
if "%O2K7_VER_MAJOR%"=="" goto SkipStaticso2k7
if exist ..\static\StaticUpdateIds-o2k7.txt call :EvalStatics ..\static\StaticUpdateIds-o2k7.txt
if exist ..\static\custom\StaticUpdateIds-o2k7.txt call :EvalStatics ..\static\custom\StaticUpdateIds-o2k7.txt
:SkipStaticso2k7
if "%O2K10_VER_MAJOR%"=="" goto SkipStaticso2k10
if exist ..\static\StaticUpdateIds-o2k10.txt call :EvalStatics ..\static\StaticUpdateIds-o2k10.txt
if exist ..\static\custom\StaticUpdateIds-o2k10.txt call :EvalStatics ..\static\custom\StaticUpdateIds-o2k10.txt
:SkipStaticso2k10
if "%O2K13_VER_MAJOR%"=="" goto SkipStaticso2k13
if exist ..\static\StaticUpdateIds-o2k13.txt call :EvalStatics ..\static\StaticUpdateIds-o2k13.txt
if exist ..\static\custom\StaticUpdateIds-o2k13.txt call :EvalStatics ..\static\custom\StaticUpdateIds-o2k13.txt
:SkipStaticso2k13
if exist ..\static\StaticUpdateIds-ofc.txt call :EvalStatics ..\static\StaticUpdateIds-ofc.txt
if exist ..\static\custom\StaticUpdateIds-ofc.txt call :EvalStatics ..\static\custom\StaticUpdateIds-ofc.txt
vorschlagen. (Kann wahrscheinlich optimaler gestaltet werden, es ist nur ein auf die Schnelle geschriebener Bugfix)
[/edit]
[edit2]
Aufgrund des Befehls
- Code: Select all
goto OFCNV%OFC_NAME%
in der DoUpdate.cmd, sollte dasselbe auch für die Office Konverter gelten.
[/edit2]
Viele Grüße