summaryrefslogtreecommitdiff
path: root/solenv/bin/installoffice.btm
diff options
context:
space:
mode:
authorRelease Engineers <releng@openoffice.org>2009-07-03 10:14:57 +0000
committerRelease Engineers <releng@openoffice.org>2009-07-03 10:14:57 +0000
commit9e7efde23d5e956723527e769347beaa0559cae9 (patch)
tree4e88395182e12d822e3d94cc7f80055badb9a78d /solenv/bin/installoffice.btm
parent6cf5d5f6796a4bf8fad35592f4b9f827e8e769ad (diff)
CWS-TOOLING: integrate CWS perftest08
2009-07-02 10:03:16 +0200 lla r273621 : #159516# support systems with no JAVA_HOME 2009-07-02 10:00:25 +0200 lla r273620 : #159516# if path is null this not an error 2009-07-01 14:36:05 +0200 lla r273583 : #159516# add check for wrong cygwin path 2009-06-22 13:18:14 +0200 lla r273223 : #159516# add PipeConnectionString 2009-06-18 21:44:59 +0200 lla r273137 : #159516# cleanups 2009-06-18 21:44:17 +0200 lla r273136 : #159516# handle null 2009-06-18 21:42:56 +0200 lla r273135 : #159516# add getElementCount() function 2009-06-15 10:40:05 +0200 lla r272966 : CWS-TOOLING: rebase CWS perftest08 to trunk@272827 (milestone: DEV300:m50) 2009-06-02 09:06:22 +0200 lla r272480 : CWS-TOOLING: rebase CWS perftest08 to trunk@272291 (milestone: DEV300:m49) 2009-05-08 11:40:22 +0200 mib r271710 : #159717#: File name info for performance test (added void to hasLogFile() parameter list) 2009-05-05 14:14:25 +0200 mib r271514 : #159717#: File name info for performance test 2009-05-04 15:23:01 +0200 mib r271466 : #159717#: File name infor for performance test 2009-05-04 15:22:27 +0200 mib r271465 : #159717#: File name infor for performance test 2009-05-04 15:21:56 +0200 mib r271464 : #159717#: File name infor for performance test 2009-05-04 15:21:18 +0200 mib r271462 : #159717#: File name infor for performance test 2009-04-29 16:23:40 +0200 lla r271383 : #159516# cleanups 2009-04-29 16:23:20 +0200 lla r271382 : #159516# cleanups 2009-04-08 12:23:01 +0200 lla r270631 : #159516# typo 2009-04-07 10:30:35 +0200 lla r270580 : #159516# add prototype 2009-04-07 10:21:15 +0200 lla r270579 : #159516# cleanup 2009-04-03 09:05:26 +0200 lla r270448 : #159516# small cleanups 2009-03-30 13:22:26 +0200 lla r270221 : #159517# merge perftest07
Diffstat (limited to 'solenv/bin/installoffice.btm')
-rwxr-xr-xsolenv/bin/installoffice.btm72
1 files changed, 56 insertions, 16 deletions
diff --git a/solenv/bin/installoffice.btm b/solenv/bin/installoffice.btm
index 983ee9e3df02..ffd6633fafcd 100755
--- a/solenv/bin/installoffice.btm
+++ b/solenv/bin/installoffice.btm
@@ -28,6 +28,54 @@ REM * <http://www.openoffice.org/license.html>
REM * for a copy of the LGPLv3 License.
REM ************************************************************************/
+
+SET DESTPATH=%USERNAME%
+SET DEBUG=false
+SET OOO=false
+SET PARAM=
+
+for %opt in (%&%) DO (
+ iff "%opt%" == "-d" THEN
+ SET PARAM=%PARAM% -debug true
+ shift
+
+ elseiff "%opt%" == "-o" THEN
+ SET PARAM=%PARAM% -ooo true
+ shift
+
+ elseiff "%opt%" == "-c" THEN
+ SET PARAM=%PARAM% -cwscheckapi true
+ shift
+
+ elseiff "%opt%" == "-a" THEN
+ SET PARAM=%PARAM% -autorun true
+ shift
+
+ elseiff "%opt%" == "-i" THEN
+ SET PARAM=%PARAM% -autoimpress true
+ shift
+
+ elseiff "%opt%" == "-t" THEN
+ SET DESTPATH=%2
+ shift
+ shift
+
+ elseiff "%opt%" == "-h" THEN
+ goto usage
+
+ elseiff "%opt%" == "/h" THEN
+ goto usage
+
+ elseiff "%opt%" == "%DESTPATH%" THEN
+ shift
+
+ else
+ echo wrong param: %opt%
+ goto usage
+ endiff
+)
+
+iff "%DESTPATH%" == "%USERNAME%" THEN
iff EXIST e:\ then
iff EXIST e:\temp then
set temppath=e:\temp
@@ -44,25 +92,15 @@ elseiff EXIST c:\temp then
else
set temppath=%TMP%
endiff
-
-SET DESTPATH=%temppath%\%USERNAME%
-SET DEBUG=false
-SET OOO=false
-SET PARAM=
-
-for %opt in (%&%) DO (
- if "%opt%" == "-d" (SET PARAM=%PARAM% -debug true ^ shift)
- if "%opt%" == "-o" (SET PARAM=%PARAM% -ooo true ^ shift)
- if "%opt%" == "-c" (SET PARAM=%PARAM% -cwscheckapi true ^ shift)
- if "%opt%" == "-a" (SET PARAM=%PARAM% -autorun true ^ shift)
- if "%opt%" == "-t" (SET DESTPATH=%2 ^ shift ^ shift)
- if "%opt%" == "-h" goto usage
- if "%opt%" == "/h" goto usage
-)
+ DESTPATH=%temppath%\%USERNAME%
+endiff
SET LOCALINSTALLDIR=%DESTPATH%\office
SET LOCALUNPACKDIR=%DESTPATH%\unpack
+echo LOCALINSTALLDIR=%LOCALINSTALLDIR%
+echo LOCALUNPACKDIR=%LOCALUNPACKDIR%
+echo call perl5 %SOLARENV%\bin\installoffice.pl -dest %LOCALINSTALLDIR% %PARAM% -cleanup true %&
call perl5 %SOLARENV%\bin\installoffice.pl -dest %LOCALINSTALLDIR% %PARAM% -cleanup true %&
quit %?
@@ -75,8 +113,10 @@ quit %?
echo.
echo [-o] force OpenOffice.org installation instead of StarOffice>&2
echo.
- echo [-t] target path: path wehre tho office should installed to. The default is '%DESTPATH%'>&2
+ echo [-t] target path: path where the office should installed to. The default is '%DESTPATH%'>&2
echo.
echo [-a] the office will be patched to run without FirstStartWizard >&2
echo.
+ echo [-i] impress should open documents without autopilot
+ echo.
quit 1