Changes

OpenOffice.org 1.1.5

31 bytes removed, 15:58, 1 March 2008
m
no edit summary
<code>response.txt</code>:<brsource lang="inf">[Environment]<br>InstallationMode=INSTALL_NORMAL<br>InstallationType=STANDARD<br>DestinationPath=C:\Programme\OpenOffice<br>StartProcedure=MyStartProc<br>EndProcedure=<br>Languagelist=49<br>Migration=No<br>
[Java]<br>JavaSupport=preinstalled_or_none<br>
[Procedures]<br>Sub MyStartProc<br> SetUserCompanyName("My Company")<br>HideSetup<br>End Sub<br> [Windows_Desktop_Integration]<br>Register4MSWord=True<br>Register4MSExcel=True<br>Register4MSPowerPoint=True<br>RegisterAsDefaultHTMLEditor=True<br>
[Windows_Desktop_Integration]
Register4MSWord=True
Register4MSExcel=True
Register4MSPowerPoint=True
RegisterAsDefaultHTMLEditor=True
</source>
----
Here is the deinstall response-file:<brsource lang="inf">response_deinst.txt<br>[Environment]<br>InstallationMode=DEINSTALL<br>DestinationPath=C:\Programme\OpenOffice<br>StartProcedure=MyStartProc<br>EndProcedure=<br>Languagelist=49<br> [Procedures]<br>Sub MyStartProc<br> HideSetup<br>End Sub<br>
[Procedures]
Sub MyStartProc
HideSetup
End Sub
</source>
----
Here comes install_oo.bat, which copies the Starmenuentries from the installing user to All Users.<br>
 <brcode>install_oo.bat:<br/code>----<source lang="dos">%SOFTWARE%\oo\program\setup.exe -alluser -r:%SOFTWARE%\oo\response.txt<br>md "%ALLUSERSPROFILE%\STARTM~1\Programme\OpenOffice.org"<br>copy /Y "%HOMEDRIVE%\%HOMEPATH%\STARTM~1\Programme\OpenOffice.org 1.1.5"\* "%ALLUSERSPROFILE%\STARTM~1\Programme\OpenOffice.org\"<br/source>
<br>
<br>
and here comes the package.xml entry:
<source lang="xml"><package id="oo115" name="OpenOffice 1.1.5" priority="2" reboot="false" revision="1">
<check condition="exists" path="%PROGRAMFILES%\OpenOffice\program\soffice.exe" type="file"></check>
<install cmd="%SOFTWARE%\oo\install_oo.bat" />
<remove cmd="%PROGRAMFILES%\OpenOffice\program\setup.exe -r:%SOFTWARE%\oo\response_deinst.txt"></remove>
</package></source>
[[category:Silent Installers]]