wäre es möglich das Openoffice 3.x Paket so zu erweitern, das
- die Office Standard Dateiformate entweder mit OO oder mit MS Office geöffnet werden
- der Startwizard unterbunden wird
- die Standardspeicherformate auf MS Office 2000/2003 umgestellt werden
Wir haben das bisher bei unserem Paket wie folgt gelöst:
Gruß;Installation Openoffice 3.2.1
[Initial]
LogLevel=2
ExitOnError=false
ScriptErrorMessages=on
TraceMode=off
StayOnTop=false
DefVar $systemdir$
DefVar $RebootFlag$
DefVar $WinstRegKey$
DefVar $word$
DefVar $excel$
DefVar $ppt$
Set $systemdir$ = "%system%"
Set $WinstRegKey$ = "HKLM\SOFTWARE\opsi.org\winst"
Set $RebootFlag$ = GetRegistryStringValue("["+$WinstRegKey$+"] "+"RebootFlag")
[Aktionen]
ShowBitMap /3 "%scriptpath%\ooffice.bmp.bmp"
if not (HasMinimumSpace ("%SYSTEMDRIVE%", "300 MB"))
LogError "Nicht genug Speicherplatz auf Laufwerk C:"
isFatalError
else
;Definition des Standardprogramms fuer die Dateiformate
if (IniVar("Word")="1")
Set $word$="1"
else
Set $word$="0"
endif
if (IniVar("Excel")="1")
Set $excel$="1"
else
Set $excel$="0"
endif
if (IniVar("Powerpoint")="1")
Set $ppt$="1"
else
Set $ppt$="0"
endif
winbatch_install_ooffice3
Files_copy_tuning
if (IniVar("officeformat")="1")
Files_copy_officeformat
endif
if (IniVar("erstlogin")="1")
Files_copy_disablefirststartwizard
winbatch_install_disablefirststartwizard
endif
Set $RebootFlag$ = "0"
Registry_SaveRebootFlag
endif
[Registry_SaveRebootFlag]
openKey [$WinstRegKey$]
set "RebootFlag" = "$RebootFlag$"
[winbatch_install_ooffice3]
msiexec /qn /i %SCRIPTPATH%\files\openofficeorg32.msi /qb ALLUSERS=1 ADDLOCAL=ALL REMOVE=gm_o_Onlineupdate SELECT_WORD=$word$ SELECT_EXCEL=$excel$ SELECT_POWERPOINT=$ppt$
[Files_copy_tuning]
copy %SCRIPTPATH%\files\Mods\soffice.ini "%ProgramFilesDir%\OpenOffice.org 3\program"
delete "%AllUsersProfileDir%\Desktop\OpenOffice.org 3.2.lnk"
[Files_copy_officeformat]
copy %SCRIPTPATH%\files\Mods\*.xcu "%ProgramFilesDir%\OpenOffice.org 3\Basis\share\registry\modules\org\openoffice\Setup"
[Files_copy_disablefirststartwizard]
copy %SCRIPTPATH%\files\Mods\DisableFirstStartWzd_ooo321.oxt "%ProgramFilesDir%\OpenOffice.org 3\Program"
[winbatch_install_disablefirststartwizard]
"%ProgramFilesDir%\OpenOffice.org 3\Program\unopkg" add --shared "%ProgramFilesDir%\OpenOffice.org 3\Program\DisableFirstStartWzd_ooo321.oxt"
Alexander