Difference between revisions of "OpenOffice.org 1.1.5"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
 
Line 1: Line 1:
 
For OpenOffice 1.1.5 you need a response file for installation and deinstallation, then you can install. You need to preinstall java before.
 
For OpenOffice 1.1.5 you need a response file for installation and deinstallation, then you can install. You need to preinstall java before.
  
Here is the response file for installation :
+
Attention:<br>
Attention:  
+
Have a look to the keyword Languagelist. English is 01 (the rest is like the intl. phone codes)<br>
Have a look to the keyword Languagelist. English is 01 (the rest is like the intl. phone codes)
+
 
DestinationPath should be like in your windows installation. It differs from country to country. You need to change this path also in the deinstall-command and the check command in the package!.
 
DestinationPath should be like in your windows installation. It differs from country to country. You need to change this path also in the deinstall-command and the check command in the package!.
  
----
 
  
response.txt:
+
Here is the response file for installation:
[Environment]
+
 
InstallationMode=INSTALL_NORMAL
+
 
InstallationType=STANDARD
+
response.txt:<br>
DestinationPath=C:\Programme\OpenOffice
+
[Environment]<br>
StartProcedure=MyStartProc
+
InstallationMode=INSTALL_NORMAL<br>
EndProcedure=
+
InstallationType=STANDARD<br>
Languagelist=49
+
DestinationPath=C:\Programme\OpenOffice<br>
Migration=No
+
StartProcedure=MyStartProc<br>
 +
EndProcedure=<br>
 +
Languagelist=49<br>
 +
Migration=No<br>
  
[Java]
+
[Java]<br>
JavaSupport=preinstalled_or_none
+
JavaSupport=preinstalled_or_none<br>
  
[Procedures]
+
[Procedures]<br>
Sub MyStartProc      
+
Sub MyStartProc<br>   
SetUserCompanyName("My Company")
+
SetUserCompanyName("My Company")<br>
HideSetup
+
HideSetup<br>
End Sub
+
End Sub<br>
  
[Windows_Desktop_Integration]
+
[Windows_Desktop_Integration]<br>
Register4MSWord=True
+
Register4MSWord=True<br>
Register4MSExcel=True
+
Register4MSExcel=True<br>
Register4MSPowerPoint=True
+
Register4MSPowerPoint=True<br>
RegisterAsDefaultHTMLEditor=True
+
RegisterAsDefaultHTMLEditor=True<br>
  
  
 
----
 
----
  
Here is the deinstall response-file:
+
Here is the deinstall response-file:<br>
response_deinst.txt
+
response_deinst.txt<br>
[Environment]
+
[Environment]<br>
InstallationMode=DEINSTALL
+
InstallationMode=DEINSTALL<br>
DestinationPath=C:\Programme\OpenOffice
+
DestinationPath=C:\Programme\OpenOffice<br>
StartProcedure=MyStartProc
+
StartProcedure=MyStartProc<br>
EndProcedure=
+
EndProcedure=<br>
Languagelist=49
+
Languagelist=49<br>
  
[Procedures]
+
[Procedures]<br>
Sub MyStartProc      
+
Sub MyStartProc<br>   
HideSetup
+
HideSetup<br>
End Sub
+
End Sub<br>
  
  

Revision as of 18:44, 20 October 2005

For OpenOffice 1.1.5 you need a response file for installation and deinstallation, then you can install. You need to preinstall java before.

Attention:
Have a look to the keyword Languagelist. English is 01 (the rest is like the intl. phone codes)
DestinationPath should be like in your windows installation. It differs from country to country. You need to change this path also in the deinstall-command and the check command in the package!.


Here is the response file for installation:


response.txt:
[Environment]
InstallationMode=INSTALL_NORMAL
InstallationType=STANDARD
DestinationPath=C:\Programme\OpenOffice
StartProcedure=MyStartProc
EndProcedure=
Languagelist=49
Migration=No

[Java]
JavaSupport=preinstalled_or_none

[Procedures]
Sub MyStartProc
SetUserCompanyName("My Company")
HideSetup
End Sub

[Windows_Desktop_Integration]
Register4MSWord=True
Register4MSExcel=True
Register4MSPowerPoint=True
RegisterAsDefaultHTMLEditor=True



Here is the deinstall response-file:
response_deinst.txt
[Environment]
InstallationMode=DEINSTALL
DestinationPath=C:\Programme\OpenOffice
StartProcedure=MyStartProc
EndProcedure=
Languagelist=49

[Procedures]
Sub MyStartProc
HideSetup
End Sub



and here comes the package.xml entry:

   <package id="oo115" name="OpenOffice 1.1.5" priority="2" reboot="false" revision="1">
   <check condition="exists" path="c:\programme\OpenOffice\program\soffice.exe" type="file"></check>
   <install cmd="\\server\wpkg\files\dist\oo\program\setup.exe -r:\\server\wpkg\files\dist\oo\response.txt">
            <exit code="0"></exit>
   </install>
   <remove cmd="c:\programme\OpenOffice\program\setup.exe -r:\\server\wpkg\files\dist\oo\response_deinst.txt"></remove>
   </package>