Help - Search - Members - Calendar
Full Version: Open Office and Avast anti-virus switch
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
cullend11
Hi, I was wondering if anyone knew how what to put in my batch file for Open Office, if I only want to install Wrtier, Impress, Calc. As well, what should I do to install avast anti-virus? Thanks
bj-kaiser
looks like the OpenOffice thing was discussed already in the past and it seems there are already solutions:
http://www.msfn.org/board/index.php?showtopic=58767
For avast! I think there is only this (if you don't use the paid version).
Create a file admin.ini (has to be in the same directory as your setup file):
CODE
[Admin]
SilentInstallation=1
Serial=Insert Your Free Key Here
cullend11
by setup file do you mean my batch file, $OEM$ file, or the winnt.sif and does it matter I am using batch instead of GUI RunOnce?
bj-kaiser
i meant the avast! setup.exe.
I think i have to clarify myself here: For avast! you just have to make sure that the setup.exe and admin.ini are in the same directory.
batch or GUI RunOnce should not be a problem there.
cullend11
cool, do you know if this will work for open office

CODE
%SYSTEMDRIVE%\Install\openofficeorg20.msi ADDLOCAL=gm_Root,gm_r_Files_2,gm_r_Files_3,gm_r_Files_4,gm_r_Files_5,gm_r_Files_6,gm_r_Files_7,gm_r_

,Files_8,gm_r_Files_9,gm_r_Fonts_OOo_Hidden,gm_p_Wrt_Bin,gm_p_Wrt_Help,gm_p_Calc_Bin,gm_p_Calc_Help,

gm_p_Calc_Addins,gm_p_Impress_Bin,gm_p_Impress_Help,gm_o_Oo_English,gm_o_Winexplorerext

start /wait msiexec /qnb /i c:\ooo2\OpenOfficeorg\openofficeorg20.msi  ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1
bj-kaiser
why don't you put the options/properties from the 2nd command line to the others in the first?
i think of something like this
CODE
start /wait msiexec /qn /i %SYSTEMDRIVE%\Install\openofficeorg20.msi ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 ADDLOCAL=gm_Root,gm_r_Files_2,gm_r_Files_3,gm_r_Files_4,gm_r_Files_5,gm_r_Files_6,gm_r_Files_7,gm_r_
Files_8,gm_r_Files_9,gm_r_Fonts_OOo_Hidden,gm_p_Wrt_Bin,gm_p_Wrt_Help,gm_p_Calc_Bin,gm_p_Calc_Help,g
m_p_Calc_Addins,gm_p_Impress_Bin,gm_p_Impress_Help,gm_o_Oo_English,gm_o_Winexplorerext

This should all be on one commandline. However, I haven't tested it. So you might want to get something like VirtualBox or VMware to test-drive this.
note: '/qn' sets the installer to be totally silent, '/qb' does show the progress-bar.
Derek3x
OpenOffice\setup.exe /quiet
avasthome4.exe /SILENT /SP- /NORESTART

Thats how I use those two programs in my silent install program

thumbup.gif




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.