Help - Search - Members - Calendar
Full Version: Openoffice1.1.4
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
n 32er
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 smile.gif
Acheron
For openoffice you can use this:

These files goes into \INSTALL\OpenOffice on CD:

install.cmd
CODE
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
CODE
AutoItSetOption("WinTitleMatchMode", 4)
WinWaitActive("classname=SALFRAME")
Send("{ENTER}")


response.txt
CODE
[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
CODE
<?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
CODE
@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
CODE
[COMMANDS]
"RUNonceEx.cmd"
"rundll32.exe iernonce.dll,RunOnceExProcess"


Make sure you also make proper winnt.sif entries

Have fun with it smile.gif
buletov
n 32er, i would rather wait a month for a Open Office 2.0 on your place...
Swimming_Bird
wow that looks way to complex, here is my wpi thing:

CODE
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
CODE
[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.
n 32er
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 smile.gif
prathapml
QUOTE (n 32er @ Mar 27 2005, 06:54 PM)
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.

QUOTE
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.
n 32er
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.
MarcoPolo
the key -d %programfiles%\OpenOffice not working sad.gif
but "c:\Program files" works fine
how i can install to my systemdrive d, e, f etc ?
Nanaki
OpenOffice 2.0 has an MSI. Jut use "/QN". tongue.gif

And VMware ALWAYS has that resolution. Use VidChngr to change it during your install.
pysen
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 smile.gif

cheers,

- Björn
MHz
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.
pysen
Thanks!




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.