Jump to content

Openoffice1.1.4


n 32er

Recommended Posts

hi,

i'm new to creating unattended cds. but i read and search a lot with this site. thanx for editors&admins.

my question is about silent install of openoffice1.1.4 (turkish version. nearly downloaded from ooo site, just one executable file)

can i use cmdline switch with this compressed exe file? i tried but not succeed

when i decompress file it is 158mb ! (which is 48mb before)

thnx for your quick helps .-

sory about the english :)

Link to comment
Share on other sites


For openoffice you can use this:

These files goes into \INSTALL\OpenOffice on CD:

install.cmd

cmdow @ /HID
start autoit3.exe openoffice.au3
setup.exe -d "%programfiles%\OpenOffice" -r response.txt -noexit
md "%programfiles%\OpenOffice\share\registry\data\org\openoffice\Office"
copy /Y "*.xcu"  "%programfiles%\OpenOffice\share\registry\data\org\openoffice\Office"
del /f /q "%userprofile%\Menu Start\Programma's\Opstarten\OpenOffice.org 1.1.4.lnk"
cacls "%programfiles%\OpenOffice" /E /T /P Gebruikers:C
EXIT

openoffice.au3

AutoItSetOption("WinTitleMatchMode", 4)
WinWaitActive("classname=SALFRAME")
Send("{ENTER}")

response.txt

[Environment]
InstallationMode=INSTALL_NORMAL
InstallationType=STANDARD
StartProcedure=StartSetup
EndProcedure = PostSetup

[Windows_Desktop_Integration]
Register4MsWord=FALSE
Register4MsExcel=FALSE
Register4MsPowerPoint=FALSE
RegisterAsDefaultHtmlEditor=TRUE

[Java]
JavaSupport=preinstalled_or_none

[Procedures]
Sub StartSetup
ShowSetup()
End Sub

Sub PostSetup
SetReboot( False )
End Sub

jobs.xcu

<?xml version="1.0" encoding="UTF-8"?> 
<Jobs state="modified" cfg:package="org.openoffice.Office" xmlns="http://openoffice.org/2000/registry/components/Jobs" xmlns:cfg="http://openoffice.org/2000/registry/instance" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<Jobs cfg:element-type="Job">
<Job cfg:name="AddressBookSourcePilot">
<UserTime cfg:type="string">1.1.2001/11:11:11</UserTime>
</Job>
<Job cfg:name="RegistrationRequest">
<UserTime cfg:type="string">1.1.2001/11:11:11</UserTime>
</Job>
</Jobs>
</Jobs>

These files goes into \$OEM$ dir:

RunOnceEx.cmd

@echo off
cmdow @ /HID
For %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\win51ip.SP2 set CDDRIVE=%%i:
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY%\001 /VE /D "OpenOffice.org 1.1.4" /f
REG ADD %KEY%\001 /V 1 /D "CMD.exe /C start /B /wait /D%CDDRIVE%\install\openoffice %CDDRIVE%\install\openoffice\install.cmd" /f

cmdlines.txt

[COMMANDS]
"RUNonceEx.cmd"
"rundll32.exe iernonce.dll,RunOnceExProcess"

Make sure you also make proper winnt.sif entries

Have fun with it :)

Link to comment
Share on other sites

wow that looks way to complex, here is my wpi thing:

prog[pn]=['Open Office 1.1.4']
uid[pn]=['OO14']
desc[pn]=['Open Source Alternative to Microsoft Office.']
cmd1[pn]=['%cdrom%\\$OEM$\\Install\\OOo_1.1.4_Win32Intel_install\\setup.exe -r:openoffice.txt -alluser']
excl[pn]=['O2K3']
dflt[pn]=['yes']
cat[pn]=['Office']
pn++

and here is my openoffice.txt

[Environment]
InstallationMode=INSTALL_NORMAL
DestinationPath=C:\Program Files\OpenOffice

[Java]
JavaSupport=preinstalled_or_none

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

there is a way to generate that txt file but i forget how.

the txt file is the response file.

Link to comment
Share on other sites

sory , may be i can not explained what i want !

i can do setup of ooo1.1.4 from extracted setup.exe file with response file. but i dont have much free space on cd. so i want to autoinstall ooo1.1.4 from a compressed exe file. is it possible?

not about this subject but my another problem is with display resolution. winnt.sif file :

[Display]

Xresolution = 1024

Yresolution = 768

BitsPerPel = 32

Vrefresh = 75

but after unattented install resoulition is 640*480 !!! ant ideas?

re-thanx :)

Link to comment
Share on other sites

i dont have much free space on cd. so i want to autoinstall ooo1.1.4 from a compressed  exe file.
Just use a RAR SFX - set it to auto-extract to your hard-disk and auto-start the setup from there.
but after unattented install resoulition is 640*480 !!!
This is because your graphics card driver was not found. Just integrate the driver (using OEMpnpDriversPath) and it will be fine.
Link to comment
Share on other sites

thanks for reply, but please for give me.

i want to create an unattented cd with ooo1.1.4 compressed file. i didnt undestand how ?

i use vmware to test my cd. after install completed the display driver shown as unknown in device manager! how can i configure this?

my propose is install xp (with this new created unatt.cd) to several computers that has different hardwares.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...

This might be a dumb question, but Nanaki, how do I get a hold of that MSI? does an MSI contain the entire installation with everything needed? I only have the .exe i downloaded from openoffice.org.

sorry about the rookieness of that question :)

cheers,

- Björn

Link to comment
Share on other sites

I have 2.0.1 version. It is a Nullsoft installer with an MSI inside. You just need to go through the NSIS extraction and recover the files from your temp directory. You can then archive those files for easier extraction with switches.

Edited by MHz
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...