n 32er Posted March 26, 2005 Share Posted March 26, 2005 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 succeedwhen 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 More sharing options...
Acheron Posted March 26, 2005 Share Posted March 26, 2005 For openoffice you can use this:These files goes into \INSTALL\OpenOffice on CD:install.cmdcmdow @ /HIDstart autoit3.exe openoffice.au3setup.exe -d "%programfiles%\OpenOffice" -r response.txt -noexitmd "%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:CEXITopenoffice.au3AutoItSetOption("WinTitleMatchMode", 4)WinWaitActive("classname=SALFRAME")Send("{ENTER}")response.txt[Environment]InstallationMode=INSTALL_NORMALInstallationType=STANDARDStartProcedure=StartSetupEndProcedure = PostSetup[Windows_Desktop_Integration]Register4MsWord=FALSERegister4MsExcel=FALSERegister4MsPowerPoint=FALSERegisterAsDefaultHtmlEditor=TRUE [Java]JavaSupport=preinstalled_or_none[Procedures]Sub StartSetupShowSetup()End SubSub PostSetupSetReboot( False )End Subjobs.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 offcmdow @ /HIDFor %%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\RunOnceExREG ADD %KEY%\001 /VE /D "OpenOffice.org 1.1.4" /fREG ADD %KEY%\001 /V 1 /D "CMD.exe /C start /B /wait /D%CDDRIVE%\install\openoffice %CDDRIVE%\install\openoffice\install.cmd" /fcmdlines.txt[COMMANDS]"RUNonceEx.cmd""rundll32.exe iernonce.dll,RunOnceExProcess"Make sure you also make proper winnt.sif entriesHave fun with it Link to comment Share on other sites More sharing options...
buletov Posted March 26, 2005 Share Posted March 26, 2005 n 32er, i would rather wait a month for a Open Office 2.0 on your place... Link to comment Share on other sites More sharing options...
Swimming_Bird Posted March 26, 2005 Share Posted March 26, 2005 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_NORMALDestinationPath=C:\Program Files\OpenOffice[Java]JavaSupport=preinstalled_or_none[Windows_Desktop_Integration]Register4MSWord=TrueRegister4MSExcel=TrueRegister4MSPowerPoint=TrueRegisterAsDefaultHTMLEditor=Falsethere 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 More sharing options...
n 32er Posted March 27, 2005 Author Share Posted March 27, 2005 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 = 75but after unattented install resoulition is 640*480 !!! ant ideas?re-thanx Link to comment Share on other sites More sharing options...
prathapml Posted March 27, 2005 Share Posted March 27, 2005 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 More sharing options...
n 32er Posted March 27, 2005 Author Share Posted March 27, 2005 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 More sharing options...
MarcoPolo Posted April 6, 2005 Share Posted April 6, 2005 the key -d %programfiles%\OpenOffice not working but "c:\Program files" works finehow i can install to my systemdrive d, e, f etc ? Link to comment Share on other sites More sharing options...
Nanaki Posted April 6, 2005 Share Posted April 6, 2005 OpenOffice 2.0 has an MSI. Jut use "/QN". And VMware ALWAYS has that resolution. Use VidChngr to change it during your install. Link to comment Share on other sites More sharing options...
pysen Posted April 7, 2006 Share Posted April 7, 2006 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 More sharing options...
MHz Posted April 7, 2006 Share Posted April 7, 2006 (edited) 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 April 7, 2006 by MHz Link to comment Share on other sites More sharing options...
pysen Posted April 7, 2006 Share Posted April 7, 2006 Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now